aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-26 10:17:18 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-04-16 09:29:45 -0400
commit1b3a2e494bc793445f576c5476e9767cf7621684 (patch)
tree0a42b6e5a98e1e6a686c500661db79ae092f336d /include/linux
parent85220d71bf3ca1ba9129e0744247ae5f61bec559 (diff)
mac80211: handle extended channel switch announcement
Handle the (public) extended channel switch announcement action frames. Parts of the data in these frames isn't really in IEs, but put it into the elems struct anyway to simplify the handling. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ieee80211.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 95621528436c..ce07161c8735 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -866,6 +866,11 @@ struct ieee80211_mgmt {
866 } __packed chan_switch; 866 } __packed chan_switch;
867 struct{ 867 struct{
868 u8 action_code; 868 u8 action_code;
869 struct ieee80211_ext_chansw_ie data;
870 u8 variable[0];
871 } __packed ext_chan_switch;
872 struct{
873 u8 action_code;
869 u8 dialog_token; 874 u8 dialog_token;
870 u8 element_id; 875 u8 element_id;
871 u8 length; 876 u8 length;
@@ -1816,6 +1821,7 @@ enum ieee80211_key_len {
1816 1821
1817/* Public action codes */ 1822/* Public action codes */
1818enum ieee80211_pub_actioncode { 1823enum ieee80211_pub_actioncode {
1824 WLAN_PUB_ACTION_EXT_CHANSW_ANN = 4,
1819 WLAN_PUB_ACTION_TDLS_DISCOVER_RES = 14, 1825 WLAN_PUB_ACTION_TDLS_DISCOVER_RES = 14,
1820}; 1826};
1821 1827