summaryrefslogtreecommitdiff
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-28 15:12:10 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 16:01:44 +0400
commitec61cd63dd3f3bf982180b2bcc1b325160d73837 (patch)
tree19fa85aa9fc26698bd9635b8f260b09df368ccda /include/linux/ieee80211.h
parent598a5938e04ce30d837dca4c3c3326c69435342a (diff)
downloadlinux-ec61cd63dd3f3bf982180b2bcc1b325160d73837.tar.xz
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 <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 5db76ebe8810..ccf9ee1dca8c 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -701,6 +701,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 {
@@ -823,6 +828,10 @@ struct ieee80211_mgmt {
} __packed ht_smps;
struct {
u8 action_code;
+ u8 chanwidth;
+ } __packed ht_notify_cw;
+ struct {
+ u8 action_code;
u8 dialog_token;
__le16 capability;
u8 variable[0];