Skip to content

Commit 83e897a

Browse files
AyalaBkrjmberg-intel
authored andcommitted
wifi: ieee80211: add definitions for negotiated TID to Link map
Add the relevant definitions and structures for TID to Link mapping negotiation request/response/teardown according to P802.11be_D4.0. Signed-off-by: Ayala Beker <[email protected]> Reviewed-by: Gregory Greenman <[email protected]> Reviewed-by: Johannes Berg <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://msgid.link/20240102213313.9ef2b866c8c7.Ieaf7dadea9961e0edc55d19c99f0f9fbae591de6@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 4d1d6b3 commit 83e897a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

include/linux/ieee80211.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,6 +1454,20 @@ struct ieee80211_mgmt {
14541454
u8 max_tod_error;
14551455
u8 max_toa_error;
14561456
} __packed wnm_timing_msr;
1457+
struct {
1458+
u8 action_code;
1459+
u8 dialog_token;
1460+
u8 variable[];
1461+
} __packed ttlm_req;
1462+
struct {
1463+
u8 action_code;
1464+
u8 dialog_token;
1465+
u8 status_code;
1466+
u8 variable[];
1467+
} __packed ttlm_res;
1468+
struct {
1469+
u8 action_code;
1470+
} __packed ttlm_tear_down;
14571471
} u;
14581472
} __packed action;
14591473
DECLARE_FLEX_ARRAY(u8, body); /* Generic frame body */
@@ -3357,6 +3371,8 @@ enum ieee80211_statuscode {
33573371
WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER = 109,
33583372
WLAN_STATUS_SAE_HASH_TO_ELEMENT = 126,
33593373
WLAN_STATUS_SAE_PK = 127,
3374+
WLAN_STATUS_DENIED_TID_TO_LINK_MAPPING = 133,
3375+
WLAN_STATUS_PREF_TID_TO_LINK_MAPPING_SUGGESTED = 134,
33603376
};
33613377

33623378

@@ -3682,6 +3698,7 @@ enum ieee80211_category {
36823698
WLAN_CATEGORY_UNPROT_DMG = 20,
36833699
WLAN_CATEGORY_VHT = 21,
36843700
WLAN_CATEGORY_S1G = 22,
3701+
WLAN_CATEGORY_PROTECTED_EHT = 37,
36853702
WLAN_CATEGORY_VENDOR_SPECIFIC_PROTECTED = 126,
36863703
WLAN_CATEGORY_VENDOR_SPECIFIC = 127,
36873704
};
@@ -3745,6 +3762,13 @@ enum ieee80211_unprotected_wnm_actioncode {
37453762
WLAN_UNPROTECTED_WNM_ACTION_TIMING_MEASUREMENT_RESPONSE = 1,
37463763
};
37473764

3765+
/* Protected EHT action codes */
3766+
enum ieee80211_protected_eht_actioncode {
3767+
WLAN_PROTECTED_EHT_ACTION_TTLM_REQ = 0,
3768+
WLAN_PROTECTED_EHT_ACTION_TTLM_RES = 1,
3769+
WLAN_PROTECTED_EHT_ACTION_TTLM_TEARDOWN = 2,
3770+
};
3771+
37483772
/* Security key length */
37493773
enum ieee80211_key_len {
37503774
WLAN_KEY_LEN_WEP40 = 5,
@@ -4845,6 +4869,10 @@ struct ieee80211_multi_link_elem {
48454869
#define IEEE80211_MLD_CAP_OP_MAX_SIMUL_LINKS 0x000f
48464870
#define IEEE80211_MLD_CAP_OP_SRS_SUPPORT 0x0010
48474871
#define IEEE80211_MLD_CAP_OP_TID_TO_LINK_MAP_NEG_SUPP 0x0060
4872+
#define IEEE80211_MLD_CAP_OP_TID_TO_LINK_MAP_NEG_NO_SUPP 0
4873+
#define IEEE80211_MLD_CAP_OP_TID_TO_LINK_MAP_NEG_SUPP_SAME 1
4874+
#define IEEE80211_MLD_CAP_OP_TID_TO_LINK_MAP_NEG_RESERVED 2
4875+
#define IEEE80211_MLD_CAP_OP_TID_TO_LINK_MAP_NEG_SUPP_DIFF 3
48484876
#define IEEE80211_MLD_CAP_OP_FREQ_SEP_TYPE_IND 0x0f80
48494877
#define IEEE80211_MLD_CAP_OP_AAR_SUPPORT 0x1000
48504878

0 commit comments

Comments
 (0)