mac80211: support extended channel switch
authorJohannes Berg <johannes.berg@intel.com>
Tue, 26 Mar 2013 13:13:58 +0000 (14:13 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 31 May 2013 15:27:41 +0000 (17:27 +0200)
Support extended channel switch when the operating
class is one of the global operating classes as
defined in Annex E of 802.11-2012. If it isn't,
disconnect from the AP instead.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h

index d47a1ea0d9d2cdfabd5f71b07714263a04bf2eb3..efb19c6222fba2c8e7b1ac452be0288866819372 100644 (file)
@@ -680,6 +680,18 @@ struct ieee80211_channel_sw_ie {
        u8 count;
 } __packed;
 
+/**
+ * struct ieee80211_ext_chansw_ie
+ *
+ * This structure represents the "Extended Channel Switch Announcement element"
+ */
+struct ieee80211_ext_chansw_ie {
+       u8 mode;
+       u8 new_operating_class;
+       u8 new_ch_num;
+       u8 count;
+} __packed;
+
 /**
  * struct ieee80211_tim
  *