From: Johannes Berg Date: Tue, 26 Mar 2013 13:13:58 +0000 (+0100) Subject: mac80211: support extended channel switch X-Git-Tag: 1.9.9~44 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=34be7eb0ae8e9a0a35c17ca6e2d489edf2be54a9;p=carl9170fw.git mac80211: support extended channel switch 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 Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index d47a1ea..efb19c6 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -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 *