mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
598a5938e0
commit
ec61cd63dd
2 changed files with 39 additions and 1 deletions
|
@ -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 {
|
||||
|
@ -821,6 +826,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue