From: Johannes Berg Date: Tue, 26 Mar 2013 14:17:18 +0000 (+0100) Subject: mac80211: handle extended channel switch announcement X-Git-Tag: 1.9.9~42 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f715843b07b3b3caa6479c2ba132917eab76f5e4;p=carl9170fw.git 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 Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 5d7b15f..94011da 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -845,6 +845,11 @@ struct ieee80211_mgmt { u8 action_code; u8 variable[0]; } __packed chan_switch; + struct{ + u8 action_code; + struct ieee80211_ext_chansw_ie data; + u8 variable[0]; + } __packed ext_chan_switch; struct{ u8 action_code; u8 dialog_token; @@ -1800,6 +1805,7 @@ enum ieee80211_key_len { /* Public action codes */ enum ieee80211_pub_actioncode { + WLAN_PUB_ACTION_EXT_CHANSW_ANN = 4, WLAN_PUB_ACTION_TDLS_DISCOVER_RES = 14, };