From: Johannes Berg Date: Fri, 28 Dec 2012 11:12:10 +0000 (+0100) Subject: mac80211: support HT notify channel width action X-Git-Tag: 1.9.8~14 X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=3cc117ddbf129dfaad322593cfdd0d1d5190d8fd;hp=53eaaf52ce7bdc8cbdda75b687620e190b9653f6 mac80211: support HT notify channel width action Support the HT notify channel width action frame to update the rate scaling about the bandwidth the peer can receive in. Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 2689d2b..acef0de 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -714,6 +714,11 @@ enum ieee80211_rann_flags { RANN_FLAG_IS_GATE = 1 << 0, }; +enum ieee80211_ht_chanwidth_values { + IEEE80211_HT_CHANWIDTH_20MHZ = 0, + IEEE80211_HT_CHANWIDTH_ANY = 1, +}; + #define WLAN_SA_QUERY_TR_ID_LEN 2 struct ieee80211_mgmt { @@ -834,6 +839,10 @@ struct ieee80211_mgmt { u8 action; u8 smps_control; } __packed ht_smps; + struct { + u8 action_code; + u8 chanwidth; + } __packed ht_notify_cw; struct { u8 action_code; u8 dialog_token;