From: Johannes Berg Date: Tue, 26 Mar 2013 13:02:26 +0000 (+0100) Subject: mac80211: unify CSA action frame/beacon processing X-Git-Tag: 1.9.9~45 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=4fb2952c6187ee32e473ec203b584441ad879007;p=carl9170fw.git mac80211: unify CSA action frame/beacon processing CSA action frame content should be processed as variable IEs rather than fixed to make it extensible. Unify the code and process them just like CSA in beacons to make it easier to extend for HT/VHT. Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 805364f..d47a1ea 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -821,9 +821,7 @@ struct ieee80211_mgmt { } __packed wme_action; struct{ u8 action_code; - u8 element_id; - u8 length; - struct ieee80211_channel_sw_ie sw_elem; + u8 variable[0]; } __packed chan_switch; struct{ u8 action_code;