diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2012-12-28 06:12:10 -0500 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 07:01:44 -0500 |
| commit | ec61cd63dd3f3bf982180b2bcc1b325160d73837 (patch) | |
| tree | 19fa85aa9fc26698bd9635b8f260b09df368ccda /include/linux | |
| parent | 598a5938e04ce30d837dca4c3c3326c69435342a (diff) | |
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')
| -rw-r--r-- | include/linux/ieee80211.h | 9 |
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 { | |||
| 701 | RANN_FLAG_IS_GATE = 1 << 0, | 701 | RANN_FLAG_IS_GATE = 1 << 0, |
| 702 | }; | 702 | }; |
| 703 | 703 | ||
| 704 | enum ieee80211_ht_chanwidth_values { | ||
| 705 | IEEE80211_HT_CHANWIDTH_20MHZ = 0, | ||
| 706 | IEEE80211_HT_CHANWIDTH_ANY = 1, | ||
| 707 | }; | ||
| 708 | |||
| 704 | #define WLAN_SA_QUERY_TR_ID_LEN 2 | 709 | #define WLAN_SA_QUERY_TR_ID_LEN 2 |
| 705 | 710 | ||
| 706 | struct ieee80211_mgmt { | 711 | struct ieee80211_mgmt { |
| @@ -823,6 +828,10 @@ struct ieee80211_mgmt { | |||
| 823 | } __packed ht_smps; | 828 | } __packed ht_smps; |
| 824 | struct { | 829 | struct { |
| 825 | u8 action_code; | 830 | u8 action_code; |
| 831 | u8 chanwidth; | ||
| 832 | } __packed ht_notify_cw; | ||
| 833 | struct { | ||
| 834 | u8 action_code; | ||
| 826 | u8 dialog_token; | 835 | u8 dialog_token; |
| 827 | __le16 capability; | 836 | __le16 capability; |
| 828 | u8 variable[0]; | 837 | u8 variable[0]; |
