Skip to contentSkip to conversation

ieee80211 Renamed ieee80211_hdr to ieee80211_hdr_4addr

PATCH Michael Wu 1 participant 1 message Sep 13, 2005 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Michael Wu

author
#1 lore raw

This patch plus patch 5 looks very similar to my management frame patch except..

Review struct ieee80211_authentication { · line 580

Quoted 5 lines · James Ketrenos
(quoted diff) +1 -0
@@ -552,6 +577,17 @@ struct ieee80211_authentication {
 	struct ieee80211_info_element info_element[0];
 } __attribute__ ((packed));
 
+struct ieee80211_disassoc {

Add alias for deauthentication frame here?

Review struct ieee80211_authentication { · line 582

Quoted 2 lines
(quoted diff) +2 -0
+	struct ieee80211_hdr_3addr header;
+	u16 reason_code;

If we do not append _code to "status", why append _code to "reason"?

Quoted 39 lines
(quoted diff) +21 -2
+	struct ieee80211_info_element info_element[0];
+} __attribute__ ((packed));
+
+struct ieee80211_probe_request {
+	struct ieee80211_hdr_3addr header;
+	struct ieee80211_info_element info_element[0];
+} __attribute__ ((packed));
+
 struct ieee80211_probe_response {
 	struct ieee80211_hdr_3addr header;
 	u32 time_stamp[2];
@@ -560,14 +596,25 @@ struct ieee80211_probe_response {
 	struct ieee80211_info_element info_element[0];
 } __attribute__ ((packed));
 
-struct ieee80211_assoc_request_frame {
+/* Alias beacon for probe_response */
+#define ieee80211_beacon ieee80211_probe_response
+
+struct ieee80211_assoc_request {
+	struct ieee80211_hdr_3addr header;
+	u16 capability;
+	u16 listen_interval;
+	struct ieee80211_info_element info_element[0];
+} __attribute__ ((packed));
+
+struct ieee80211_reassoc_request {
+	struct ieee80211_hdr_3addr header;
 	__le16 capability;
 	__le16 listen_interval;
 	u8 current_ap[ETH_ALEN];
 	struct ieee80211_info_element info_element[0];
 } __attribute__ ((packed));
 
-struct ieee80211_assoc_response_frame {
+struct ieee80211_assoc_response {
 	struct ieee80211_hdr_3addr header;
 	__le16 capability;
 	__le16 status;