mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
mac80211: support S1G association
The changes required for associating in S1G are: - apply S1G BSS channel info before assoc - mark all S1G STAs as QoS STAs - include and parse AID request element - handle new Association Response format - don't fail assoc if supported rates element is missing Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com> Link: https://lore.kernel.org/r/20200922022818.15855-15-thomas@adapt-ip.com [pass skb to ieee80211_add_aid_request_ie(), remove unused variable 'bss'] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
09a740ce35
commit
1d00ce807e
7 changed files with 151 additions and 13 deletions
|
@ -987,6 +987,25 @@ enum ieee80211_vht_opmode_bits {
|
|||
IEEE80211_OPMODE_NOTIF_RX_NSS_TYPE_BF = 0x80,
|
||||
};
|
||||
|
||||
/**
|
||||
* enum ieee80211_s1g_chanwidth
|
||||
* These are defined in IEEE802.11-2016ah Table 10-20
|
||||
* as BSS Channel Width
|
||||
*
|
||||
* @IEEE80211_S1G_CHANWIDTH_1MHZ: 1MHz operating channel
|
||||
* @IEEE80211_S1G_CHANWIDTH_2MHZ: 2MHz operating channel
|
||||
* @IEEE80211_S1G_CHANWIDTH_4MHZ: 4MHz operating channel
|
||||
* @IEEE80211_S1G_CHANWIDTH_8MHZ: 8MHz operating channel
|
||||
* @IEEE80211_S1G_CHANWIDTH_16MHZ: 16MHz operating channel
|
||||
*/
|
||||
enum ieee80211_s1g_chanwidth {
|
||||
IEEE80211_S1G_CHANWIDTH_1MHZ = 0,
|
||||
IEEE80211_S1G_CHANWIDTH_2MHZ = 1,
|
||||
IEEE80211_S1G_CHANWIDTH_4MHZ = 3,
|
||||
IEEE80211_S1G_CHANWIDTH_8MHZ = 7,
|
||||
IEEE80211_S1G_CHANWIDTH_16MHZ = 15,
|
||||
};
|
||||
|
||||
#define WLAN_SA_QUERY_TR_ID_LEN 2
|
||||
#define WLAN_MEMBERSHIP_LEN 8
|
||||
#define WLAN_USER_POSITION_LEN 16
|
||||
|
@ -2854,6 +2873,8 @@ enum ieee80211_eid {
|
|||
|
||||
WLAN_EID_REDUCED_NEIGHBOR_REPORT = 201,
|
||||
|
||||
WLAN_EID_AID_REQUEST = 210,
|
||||
WLAN_EID_AID_RESPONSE = 211,
|
||||
WLAN_EID_S1G_BCN_COMPAT = 213,
|
||||
WLAN_EID_S1G_SHORT_BCN_INTERVAL = 214,
|
||||
WLAN_EID_S1G_CAPABILITIES = 217,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue