diff --git a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h index 5d399a98af..2057b58394 100644 --- a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h +++ b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h @@ -2570,9 +2570,20 @@ struct wlan_ie_tid_to_link_mapping { uint8_t data[]; } qdf_packed; +/* Size in octets of Tid to Link mapping control */ +#define WLAN_T2LM_CTRL_SIZE 2 +/* Size in octets of Mapping switch time size */ +#define WLAN_T2LM_MAPPING_SWITCH_TIME_SIZE 2 +/* Size in octets of Expected duration size */ +#define WLAN_T2LM_EXPECTED_DURATION_SIZE 3 +/* Size in octets of Link mapping of TID 0-7 size */ +#define WLAN_T2LM_LINK_MAPPING_SIZE 2 + /* The variable length data in wlan_ie_tid_to_link_mapping structure has the * following fields. - * - TID-to-link mapping control ( 1 octet) + * - TID-to-link mapping control (2 octet) + * - Mapping switch time (0 or 2 octet) + * - Expected duration (0 or 3 octet) * - Link mapping presence indicator (0 or 1 octet) * - Link mapping of TID 0(optional) to TID 7(optional). Each field has 0 or 2 * octets. @@ -2585,7 +2596,13 @@ struct wlan_ie_tid_to_link_mapping { /* Default link mapping */ #define WLAN_T2LM_CONTROL_DEFAULT_LINK_MAPPING_IDX 2 #define WLAN_T2LM_CONTROL_DEFAULT_LINK_MAPPING_BITS 1 -/* Bit3 to Bit7 are reserved*/ +/* Mapping switch time present bit */ +#define WLAN_T2LM_CONTROL_MAPPING_SWITCH_TIME_PRESENT_IDX 3 +#define WLAN_T2LM_CONTROL_MAPPING_SWITCH_TIME_PRESENT_BITS 1 +/* Expected duration present bit */ +#define WLAN_T2LM_CONTROL_EXPECTED_DURATION_PRESENT_IDX 4 +#define WLAN_T2LM_CONTROL_EXPECTED_DURATION_PRESENT_BITS 1 +/* Bits 5-7 are reserved */ /* Link mapping presence indicator */ #define WLAN_T2LM_CONTROL_LINK_MAPPING_PRESENCE_INDICATOR_IDX 8 #define WLAN_T2LM_CONTROL_LINK_MAPPING_PRESENCE_INDICATOR_BITS 8