From 6c27033b501ad8fffb25d23c4343c236369adc8c Mon Sep 17 00:00:00 2001 From: Deeksha Gupta Date: Mon, 10 Jan 2022 12:22:21 +0530 Subject: [PATCH] qcacld-3.0: update EHT capabilities IE as per draft 1.3 Update dot11f EHT capabilities IE definitions as per 11be draft 1.3 specification. Change-Id: Ia60418923c32bcf5cd0b1270f9a4396dea857759 CRs-Fixed: 3107164 --- core/mac/src/cfg/cfgUtil/dot11f.frms | 49 +- core/mac/src/include/dot11f.h | 47 +- .../mac/src/sys/legacy/src/utils/src/dot11f.c | 2770 +++++++++-------- 3 files changed, 1502 insertions(+), 1364 deletions(-) diff --git a/core/mac/src/cfg/cfgUtil/dot11f.frms b/core/mac/src/cfg/cfgUtil/dot11f.frms index 1890ecc902..03f94ccb08 100644 --- a/core/mac/src/cfg/cfgUtil/dot11f.frms +++ b/core/mac/src/cfg/cfgUtil/dot11f.frms @@ -3275,8 +3275,12 @@ IE eht_cap (EID_EXTN_ID_ELEMENT) OUI (0x6C) { nsep_pri_access: 1; eht_om_ctl: 1; - triggered_txop_sharing: 1; - reserved: 13; + triggered_txop_sharing_mode1: 1; + triggered_txop_sharing_mode2: 1; + restricted_twt: 1; + scs_traffic_desc: 1; + max_mpdu_len: 2; + reserved: 8; } { reserved2: 1; @@ -3321,12 +3325,43 @@ IE eht_cap (EID_EXTN_ID_ELEMENT) OUI (0x6C) mu_bformer_le_80mhz: 1; mu_bformer_160mhz: 1; mu_bformer_320mhz: 1; - reserved3: 1; + tb_sounding_feedback_rl: 1; + } + { + bw_20_rx_max_nss_for_mcs_0_to_7: 4; + bw_20_tx_max_nss_for_mcs_0_to_7: 4; + bw_20_rx_max_nss_for_mcs_8_and_9: 4; + bw_20_tx_max_nss_for_mcs_8_and_9: 4; + bw_20_rx_max_nss_for_mcs_10_and_11: 4; + bw_20_tx_max_nss_for_mcs_10_and_11: 4; + bw_20_rx_max_nss_for_mcs_12_and_13: 4; + bw_20_tx_max_nss_for_mcs_12_and_13: 4; + + } + { + bw_le_80_rx_max_nss_for_mcs_0_to_9: 4; + bw_le_80_tx_max_nss_for_mcs_0_to_9: 4; + bw_le_80_rx_max_nss_for_mcs_10_and_11: 4; + bw_le_80_tx_max_nss_for_mcs_10_and_11: 4; + bw_le_80_rx_max_nss_for_mcs_12_and_13: 4; + bw_le_80_tx_max_nss_for_mcs_12_and_13: 4; + bw_160_rx_max_nss_for_mcs_0_to_9: 4; + bw_160_tx_max_nss_for_mcs_0_to_9: 4; + } + { + bw_160_rx_max_nss_for_mcs_10_and_11: 4; + bw_160_tx_max_nss_for_mcs_10_and_11: 4; + bw_160_rx_max_nss_for_mcs_12_and_13: 4; + bw_160_tx_max_nss_for_mcs_12_and_13: 4; + bw_320_rx_max_nss_for_mcs_0_to_9: 4; + bw_320_tx_max_nss_for_mcs_0_to_9: 4; + bw_320_rx_max_nss_for_mcs_10_and_11: 4; + bw_320_tx_max_nss_for_mcs_10_and_11: 4; + } + { + bw_320_rx_max_nss_for_mcs_12_and_13: 4; + bw_320_tx_max_nss_for_mcs_12_and_13: 4; } - eht_mcs_map_20[0..4]; - eht_mcs_map_le_80[0..3]; - eht_mcs_map_160[0..3]; - eht_mcs_map_320[3][0..1] COUNTIS support_320mhz_6ghz; OPTIONAL UNION ppet (DISCRIMINATOR ppet_present) { ppe_threshold (ppet_present IS 1) diff --git a/core/mac/src/include/dot11f.h b/core/mac/src/include/dot11f.h index 946dc72cc6..355a65ff3f 100644 --- a/core/mac/src/include/dot11f.h +++ b/core/mac/src/include/dot11f.h @@ -27,7 +27,7 @@ * * * This file was automatically generated by 'framesc' - * Fri Mar 25 12:59:25 2022 from the following file(s): + * Fri Mar 25 13:04:34 2022 from the following file(s): * * dot11f.frms * @@ -8820,8 +8820,12 @@ typedef struct sDot11fIEeht_cap { uint8_t present; uint16_t nsep_pri_access:1; uint16_t eht_om_ctl:1; - uint16_t triggered_txop_sharing:1; - uint16_t reserved:13; + uint16_t triggered_txop_sharing_mode1:1; + uint16_t triggered_txop_sharing_mode2:1; + uint16_t restricted_twt:1; + uint16_t scs_traffic_desc:1; + uint16_t max_mpdu_len:2; + uint16_t reserved:8; uint32_t reserved2:1; uint32_t support_320mhz_6ghz:1; uint32_t ru_242tone_wt_20mhz:1; @@ -8862,14 +8866,33 @@ typedef struct sDot11fIEeht_cap { uint32_t mu_bformer_le_80mhz:1; uint32_t mu_bformer_160mhz:1; uint32_t mu_bformer_320mhz:1; - uint32_t reserved3:1; - uint8_t num_eht_mcs_map_20; - uint8_t eht_mcs_map_20[4]; - uint8_t num_eht_mcs_map_le_80; - uint8_t eht_mcs_map_le_80[3]; - uint8_t num_eht_mcs_map_160; - uint8_t eht_mcs_map_160[3]; - uint8_t eht_mcs_map_320[1][3]; + uint32_t tb_sounding_feedback_rl:1; + uint32_t bw_20_rx_max_nss_for_mcs_0_to_7:4; + uint32_t bw_20_tx_max_nss_for_mcs_0_to_7:4; + uint32_t bw_20_rx_max_nss_for_mcs_8_and_9:4; + uint32_t bw_20_tx_max_nss_for_mcs_8_and_9:4; + uint32_t bw_20_rx_max_nss_for_mcs_10_and_11:4; + uint32_t bw_20_tx_max_nss_for_mcs_10_and_11:4; + uint32_t bw_20_rx_max_nss_for_mcs_12_and_13:4; + uint32_t bw_20_tx_max_nss_for_mcs_12_and_13:4; + uint32_t bw_le_80_rx_max_nss_for_mcs_0_to_9:4; + uint32_t bw_le_80_tx_max_nss_for_mcs_0_to_9:4; + uint32_t bw_le_80_rx_max_nss_for_mcs_10_and_11:4; + uint32_t bw_le_80_tx_max_nss_for_mcs_10_and_11:4; + uint32_t bw_le_80_rx_max_nss_for_mcs_12_and_13:4; + uint32_t bw_le_80_tx_max_nss_for_mcs_12_and_13:4; + uint32_t bw_160_rx_max_nss_for_mcs_0_to_9:4; + uint32_t bw_160_tx_max_nss_for_mcs_0_to_9:4; + uint32_t bw_160_rx_max_nss_for_mcs_10_and_11:4; + uint32_t bw_160_tx_max_nss_for_mcs_10_and_11:4; + uint32_t bw_160_rx_max_nss_for_mcs_12_and_13:4; + uint32_t bw_160_tx_max_nss_for_mcs_12_and_13:4; + uint32_t bw_320_rx_max_nss_for_mcs_0_to_9:4; + uint32_t bw_320_tx_max_nss_for_mcs_0_to_9:4; + uint32_t bw_320_rx_max_nss_for_mcs_10_and_11:4; + uint32_t bw_320_tx_max_nss_for_mcs_10_and_11:4; + uint8_t bw_320_rx_max_nss_for_mcs_12_and_13:4; + uint8_t bw_320_tx_max_nss_for_mcs_12_and_13:4; union { struct { uint8_t num_ppe_th; @@ -8881,7 +8904,7 @@ typedef struct sDot11fIEeht_cap { #define DOT11F_EID_EHT_CAP (255) /* N.B. These #defines do *not* include the EID & length */ -#define DOT11F_IE_EHT_CAP_MIN_LEN (10) +#define DOT11F_IE_EHT_CAP_MIN_LEN (23) #define DOT11F_IE_EHT_CAP_MAX_LEN (85) diff --git a/core/mac/src/sys/legacy/src/utils/src/dot11f.c b/core/mac/src/sys/legacy/src/utils/src/dot11f.c index cf7b048ccb..f81e069317 100644 --- a/core/mac/src/sys/legacy/src/utils/src/dot11f.c +++ b/core/mac/src/sys/legacy/src/utils/src/dot11f.c @@ -25,7 +25,7 @@ * * * This file was automatically generated by 'framesc' - * Fri Mar 25 12:59:25 2022 from the following file(s): + * Fri Mar 25 13:04:34 2022 from the following file(s): * * dot11f.frms * @@ -8640,6 +8640,10 @@ uint32_t dot11f_unpack_ie_eht_cap(tpAniSirGlobal pCtx, uint16_t tmp78__; uint32_t tmp79__; uint32_t tmp80__; + uint32_t tmp81__; + uint32_t tmp82__; + uint32_t tmp83__; + uint8_t tmp84__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -8654,8 +8658,12 @@ uint32_t dot11f_unpack_ie_eht_cap(tpAniSirGlobal pCtx, ielen -= 2; pDst->nsep_pri_access = tmp78__ >> 0 & 0x1; pDst->eht_om_ctl = tmp78__ >> 1 & 0x1; - pDst->triggered_txop_sharing = tmp78__ >> 2 & 0x1; - pDst->reserved = tmp78__ >> 3 & 0x1fff; + pDst->triggered_txop_sharing_mode1 = tmp78__ >> 2 & 0x1; + pDst->triggered_txop_sharing_mode2 = tmp78__ >> 3 & 0x1; + pDst->restricted_twt = tmp78__ >> 4 & 0x1; + pDst->scs_traffic_desc = tmp78__ >> 5 & 0x1; + pDst->max_mpdu_len = tmp78__ >> 6 & 0x3; + pDst->reserved = tmp78__ >> 8 & 0xff; if (unlikely(ielen < 4)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -8712,47 +8720,65 @@ uint32_t dot11f_unpack_ie_eht_cap(tpAniSirGlobal pCtx, pDst->mu_bformer_le_80mhz = tmp80__ >> 28 & 0x1; pDst->mu_bformer_160mhz = tmp80__ >> 29 & 0x1; pDst->mu_bformer_320mhz = tmp80__ >> 30 & 0x1; - pDst->reserved3 = tmp80__ >> 31 & 0x1; - pDst->num_eht_mcs_map_20 = (uint8_t)(ielen); - if (ielen > 4) { - pDst->present = 0; - return DOT11F_SKIPPED_BAD_IE; - } - - DOT11F_MEMCPY(pCtx, pDst->eht_mcs_map_20, pBuf, (ielen)); - pBuf += (ielen); - ielen -= (ielen); - pDst->num_eht_mcs_map_le_80 = (uint8_t)(ielen); - if (ielen > 3) { - pDst->present = 0; - return DOT11F_SKIPPED_BAD_IE; - } - - DOT11F_MEMCPY(pCtx, pDst->eht_mcs_map_le_80, pBuf, (ielen)); - pBuf += (ielen); - ielen -= (ielen); - pDst->num_eht_mcs_map_160 = (uint8_t)(ielen); - if (ielen > 3) { - pDst->present = 0; - return DOT11F_SKIPPED_BAD_IE; - } - - DOT11F_MEMCPY(pCtx, pDst->eht_mcs_map_160, pBuf, (ielen)); - pBuf += (ielen); - ielen -= (ielen); - if (unlikely(ielen < pDst->support_320mhz_6ghz * 3)) { + pDst->tb_sounding_feedback_rl = tmp80__ >> 31 & 0x1; + if (unlikely(ielen < 4)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - if (pDst->support_320mhz_6ghz > 1) { + framesntohl(pCtx, &tmp81__, pBuf, 0); + pBuf += 4; + ielen -= 4; + pDst->bw_20_rx_max_nss_for_mcs_0_to_7 = tmp81__ >> 0 & 0xf; + pDst->bw_20_tx_max_nss_for_mcs_0_to_7 = tmp81__ >> 4 & 0xf; + pDst->bw_20_rx_max_nss_for_mcs_8_and_9 = tmp81__ >> 8 & 0xf; + pDst->bw_20_tx_max_nss_for_mcs_8_and_9 = tmp81__ >> 12 & 0xf; + pDst->bw_20_rx_max_nss_for_mcs_10_and_11 = tmp81__ >> 16 & 0xf; + pDst->bw_20_tx_max_nss_for_mcs_10_and_11 = tmp81__ >> 20 & 0xf; + pDst->bw_20_rx_max_nss_for_mcs_12_and_13 = tmp81__ >> 24 & 0xf; + pDst->bw_20_tx_max_nss_for_mcs_12_and_13 = tmp81__ >> 28 & 0xf; + if (unlikely(ielen < 4)) { pDst->present = 0; - return DOT11F_SKIPPED_BAD_IE; + return DOT11F_INCOMPLETE_IE; } - DOT11F_MEMCPY(pCtx, pDst->eht_mcs_map_320, pBuf, (pDst->support_320mhz_6ghz * 3)); - pBuf += (pDst->support_320mhz_6ghz * 3); - ielen -= (pDst->support_320mhz_6ghz * 3); + framesntohl(pCtx, &tmp82__, pBuf, 0); + pBuf += 4; + ielen -= 4; + pDst->bw_le_80_rx_max_nss_for_mcs_0_to_9 = tmp82__ >> 0 & 0xf; + pDst->bw_le_80_tx_max_nss_for_mcs_0_to_9 = tmp82__ >> 4 & 0xf; + pDst->bw_le_80_rx_max_nss_for_mcs_10_and_11 = tmp82__ >> 8 & 0xf; + pDst->bw_le_80_tx_max_nss_for_mcs_10_and_11 = tmp82__ >> 12 & 0xf; + pDst->bw_le_80_rx_max_nss_for_mcs_12_and_13 = tmp82__ >> 16 & 0xf; + pDst->bw_le_80_tx_max_nss_for_mcs_12_and_13 = tmp82__ >> 20 & 0xf; + pDst->bw_160_rx_max_nss_for_mcs_0_to_9 = tmp82__ >> 24 & 0xf; + pDst->bw_160_tx_max_nss_for_mcs_0_to_9 = tmp82__ >> 28 & 0xf; + if (unlikely(ielen < 4)) { + pDst->present = 0; + return DOT11F_INCOMPLETE_IE; + } + + framesntohl(pCtx, &tmp83__, pBuf, 0); + pBuf += 4; + ielen -= 4; + pDst->bw_160_rx_max_nss_for_mcs_10_and_11 = tmp83__ >> 0 & 0xf; + pDst->bw_160_tx_max_nss_for_mcs_10_and_11 = tmp83__ >> 4 & 0xf; + pDst->bw_160_rx_max_nss_for_mcs_12_and_13 = tmp83__ >> 8 & 0xf; + pDst->bw_160_tx_max_nss_for_mcs_12_and_13 = tmp83__ >> 12 & 0xf; + pDst->bw_320_rx_max_nss_for_mcs_0_to_9 = tmp83__ >> 16 & 0xf; + pDst->bw_320_tx_max_nss_for_mcs_0_to_9 = tmp83__ >> 20 & 0xf; + pDst->bw_320_rx_max_nss_for_mcs_10_and_11 = tmp83__ >> 24 & 0xf; + pDst->bw_320_tx_max_nss_for_mcs_10_and_11 = tmp83__ >> 28 & 0xf; + if (unlikely(ielen < 1)) { + pDst->present = 0; + return DOT11F_INCOMPLETE_IE; + } + + tmp84__ = *pBuf; + pBuf += 1; + ielen -= 1; + pDst->bw_320_rx_max_nss_for_mcs_12_and_13 = tmp84__ >> 0 & 0xf; + pDst->bw_320_tx_max_nss_for_mcs_12_and_13 = tmp84__ >> 4 & 0xf; switch (pDst->ppet_present) { case 1: pDst->ppet.ppe_threshold.num_ppe_th = (uint8_t)(ielen); @@ -8780,8 +8806,8 @@ uint32_t dot11f_unpack_ie_eht_op(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint8_t tmp81__; - uint8_t tmp82__; + uint8_t tmp85__; + uint8_t tmp86__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -8791,11 +8817,11 @@ uint32_t dot11f_unpack_ie_eht_op(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp81__ = *pBuf; + tmp85__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->width = tmp81__ >> 0 & 0x7; - pDst->reserved = tmp81__ >> 3 & 0x1f; + pDst->width = tmp85__ >> 0 & 0x7; + pDst->reserved = tmp85__ >> 3 & 0x1f; if (unlikely(ielen < 2)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -8809,11 +8835,11 @@ uint32_t dot11f_unpack_ie_eht_op(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp82__ = *pBuf; + tmp86__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->disable_sub_chan_bitmap_present = tmp82__ >> 0 & 0x1; - pDst->reserved2 = tmp82__ >> 1 & 0x7f; + pDst->disable_sub_chan_bitmap_present = tmp86__ >> 0 & 0x1; + pDst->reserved2 = tmp86__ >> 1 & 0x7f; if (unlikely(ielen < pDst->disable_sub_chan_bitmap_present * 2)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -8972,7 +8998,7 @@ uint32_t dot11f_unpack_ie_fils_indication(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint16_t tmp83__; + uint16_t tmp87__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -8982,18 +9008,18 @@ uint32_t dot11f_unpack_ie_fils_indication(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp83__, pBuf, 0); + framesntohs(pCtx, &tmp87__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->public_key_identifiers_cnt = tmp83__ >> 0 & 0x7; - pDst->realm_identifiers_cnt = tmp83__ >> 3 & 0x7; - pDst->is_ip_config_supported = tmp83__ >> 6 & 0x1; - pDst->is_cache_id_present = tmp83__ >> 7 & 0x1; - pDst->is_hessid_present = tmp83__ >> 8 & 0x1; - pDst->is_fils_sk_auth_supported = tmp83__ >> 9 & 0x1; - pDst->is_fils_sk_auth_pfs_supported = tmp83__ >> 10 & 0x1; - pDst->is_pk_auth_supported = tmp83__ >> 11 & 0x1; - pDst->reserved = tmp83__ >> 12 & 0xf; + pDst->public_key_identifiers_cnt = tmp87__ >> 0 & 0x7; + pDst->realm_identifiers_cnt = tmp87__ >> 3 & 0x7; + pDst->is_ip_config_supported = tmp87__ >> 6 & 0x1; + pDst->is_cache_id_present = tmp87__ >> 7 & 0x1; + pDst->is_hessid_present = tmp87__ >> 8 & 0x1; + pDst->is_fils_sk_auth_supported = tmp87__ >> 9 & 0x1; + pDst->is_fils_sk_auth_pfs_supported = tmp87__ >> 10 & 0x1; + pDst->is_pk_auth_supported = tmp87__ >> 11 & 0x1; + pDst->reserved = tmp87__ >> 12 & 0xf; pDst->num_variable_data = (uint8_t)(ielen); DOT11F_MEMCPY(pCtx, pDst->variable_data, pBuf, (ielen)); (void)pCtx; @@ -9174,7 +9200,7 @@ uint32_t dot11f_unpack_ie_he_6ghz_band_cap(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint16_t tmp84__; + uint16_t tmp88__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -9184,15 +9210,15 @@ uint32_t dot11f_unpack_ie_he_6ghz_band_cap(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp84__, pBuf, 0); - pDst->min_mpdu_start_spacing = tmp84__ >> 0 & 0x7; - pDst->max_ampdu_len_exp = tmp84__ >> 3 & 0x7; - pDst->max_mpdu_len = tmp84__ >> 6 & 0x7; - pDst->sm_pow_save = tmp84__ >> 9 & 0x3; - pDst->rd_responder = tmp84__ >> 11 & 0x1; - pDst->rx_ant_pattern_consistency = tmp84__ >> 12 & 0x1; - pDst->tx_ant_pattern_consistency = tmp84__ >> 13 & 0x1; - pDst->reserved = tmp84__ >> 14 & 0x3; + framesntohs(pCtx, &tmp88__, pBuf, 0); + pDst->min_mpdu_start_spacing = tmp88__ >> 0 & 0x7; + pDst->max_ampdu_len_exp = tmp88__ >> 3 & 0x7; + pDst->max_mpdu_len = tmp88__ >> 6 & 0x7; + pDst->sm_pow_save = tmp88__ >> 9 & 0x3; + pDst->rd_responder = tmp88__ >> 11 & 0x1; + pDst->rx_ant_pattern_consistency = tmp88__ >> 12 & 0x1; + pDst->tx_ant_pattern_consistency = tmp88__ >> 13 & 0x1; + pDst->reserved = tmp88__ >> 14 & 0x3; (void)pCtx; return status; } /* End dot11f_unpack_ie_he_6ghz_band_cap. */ @@ -9207,11 +9233,11 @@ uint32_t dot11f_unpack_ie_he_cap(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint32_t tmp85__; - uint16_t tmp86__; - uint32_t tmp87__; - uint32_t tmp88__; - uint16_t tmp89__; + uint32_t tmp89__; + uint16_t tmp90__; + uint32_t tmp91__; + uint32_t tmp92__; + uint16_t tmp93__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -9221,134 +9247,134 @@ uint32_t dot11f_unpack_ie_he_cap(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohl(pCtx, &tmp85__, pBuf, 0); + framesntohl(pCtx, &tmp89__, pBuf, 0); pBuf += 4; ielen -= 4; - pDst->htc_he = tmp85__ >> 0 & 0x1; - pDst->twt_request = tmp85__ >> 1 & 0x1; - pDst->twt_responder = tmp85__ >> 2 & 0x1; - pDst->fragmentation = tmp85__ >> 3 & 0x3; - pDst->max_num_frag_msdu_amsdu_exp = tmp85__ >> 5 & 0x7; - pDst->min_frag_size = tmp85__ >> 8 & 0x3; - pDst->trigger_frm_mac_pad = tmp85__ >> 10 & 0x3; - pDst->multi_tid_aggr_rx_supp = tmp85__ >> 12 & 0x7; - pDst->he_link_adaptation = tmp85__ >> 15 & 0x3; - pDst->all_ack = tmp85__ >> 17 & 0x1; - pDst->trigd_rsp_sched = tmp85__ >> 18 & 0x1; - pDst->a_bsr = tmp85__ >> 19 & 0x1; - pDst->broadcast_twt = tmp85__ >> 20 & 0x1; - pDst->ba_32bit_bitmap = tmp85__ >> 21 & 0x1; - pDst->mu_cascade = tmp85__ >> 22 & 0x1; - pDst->ack_enabled_multitid = tmp85__ >> 23 & 0x1; - pDst->reserved = tmp85__ >> 24 & 0x1; - pDst->omi_a_ctrl = tmp85__ >> 25 & 0x1; - pDst->ofdma_ra = tmp85__ >> 26 & 0x1; - pDst->max_ampdu_len_exp_ext = tmp85__ >> 27 & 0x3; - pDst->amsdu_frag = tmp85__ >> 29 & 0x1; - pDst->flex_twt_sched = tmp85__ >> 30 & 0x1; - pDst->rx_ctrl_frame = tmp85__ >> 31 & 0x1; + pDst->htc_he = tmp89__ >> 0 & 0x1; + pDst->twt_request = tmp89__ >> 1 & 0x1; + pDst->twt_responder = tmp89__ >> 2 & 0x1; + pDst->fragmentation = tmp89__ >> 3 & 0x3; + pDst->max_num_frag_msdu_amsdu_exp = tmp89__ >> 5 & 0x7; + pDst->min_frag_size = tmp89__ >> 8 & 0x3; + pDst->trigger_frm_mac_pad = tmp89__ >> 10 & 0x3; + pDst->multi_tid_aggr_rx_supp = tmp89__ >> 12 & 0x7; + pDst->he_link_adaptation = tmp89__ >> 15 & 0x3; + pDst->all_ack = tmp89__ >> 17 & 0x1; + pDst->trigd_rsp_sched = tmp89__ >> 18 & 0x1; + pDst->a_bsr = tmp89__ >> 19 & 0x1; + pDst->broadcast_twt = tmp89__ >> 20 & 0x1; + pDst->ba_32bit_bitmap = tmp89__ >> 21 & 0x1; + pDst->mu_cascade = tmp89__ >> 22 & 0x1; + pDst->ack_enabled_multitid = tmp89__ >> 23 & 0x1; + pDst->reserved = tmp89__ >> 24 & 0x1; + pDst->omi_a_ctrl = tmp89__ >> 25 & 0x1; + pDst->ofdma_ra = tmp89__ >> 26 & 0x1; + pDst->max_ampdu_len_exp_ext = tmp89__ >> 27 & 0x3; + pDst->amsdu_frag = tmp89__ >> 29 & 0x1; + pDst->flex_twt_sched = tmp89__ >> 30 & 0x1; + pDst->rx_ctrl_frame = tmp89__ >> 31 & 0x1; if (unlikely(ielen < 2)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp86__, pBuf, 0); + framesntohs(pCtx, &tmp90__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->bsrp_ampdu_aggr = tmp86__ >> 0 & 0x1; - pDst->qtp = tmp86__ >> 1 & 0x1; - pDst->a_bqr = tmp86__ >> 2 & 0x1; - pDst->spatial_reuse_param_rspder = tmp86__ >> 3 & 0x1; - pDst->ndp_feedback_supp = tmp86__ >> 4 & 0x1; - pDst->ops_supp = tmp86__ >> 5 & 0x1; - pDst->amsdu_in_ampdu = tmp86__ >> 6 & 0x1; - pDst->multi_tid_aggr_tx_supp = tmp86__ >> 7 & 0x7; - pDst->he_sub_ch_sel_tx_supp = tmp86__ >> 10 & 0x1; - pDst->ul_2x996_tone_ru_supp = tmp86__ >> 11 & 0x1; - pDst->om_ctrl_ul_mu_data_dis_rx = tmp86__ >> 12 & 0x1; - pDst->he_dynamic_smps = tmp86__ >> 13 & 0x1; - pDst->punctured_sounding_supp = tmp86__ >> 14 & 0x1; - pDst->ht_vht_trg_frm_rx_supp = tmp86__ >> 15 & 0x1; + pDst->bsrp_ampdu_aggr = tmp90__ >> 0 & 0x1; + pDst->qtp = tmp90__ >> 1 & 0x1; + pDst->a_bqr = tmp90__ >> 2 & 0x1; + pDst->spatial_reuse_param_rspder = tmp90__ >> 3 & 0x1; + pDst->ndp_feedback_supp = tmp90__ >> 4 & 0x1; + pDst->ops_supp = tmp90__ >> 5 & 0x1; + pDst->amsdu_in_ampdu = tmp90__ >> 6 & 0x1; + pDst->multi_tid_aggr_tx_supp = tmp90__ >> 7 & 0x7; + pDst->he_sub_ch_sel_tx_supp = tmp90__ >> 10 & 0x1; + pDst->ul_2x996_tone_ru_supp = tmp90__ >> 11 & 0x1; + pDst->om_ctrl_ul_mu_data_dis_rx = tmp90__ >> 12 & 0x1; + pDst->he_dynamic_smps = tmp90__ >> 13 & 0x1; + pDst->punctured_sounding_supp = tmp90__ >> 14 & 0x1; + pDst->ht_vht_trg_frm_rx_supp = tmp90__ >> 15 & 0x1; if (unlikely(ielen < 4)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - framesntohl(pCtx, &tmp87__, pBuf, 0); + framesntohl(pCtx, &tmp91__, pBuf, 0); pBuf += 4; ielen -= 4; - pDst->reserved2 = tmp87__ >> 0 & 0x1; - pDst->chan_width_0 = tmp87__ >> 1 & 0x1; - pDst->chan_width_1 = tmp87__ >> 2 & 0x1; - pDst->chan_width_2 = tmp87__ >> 3 & 0x1; - pDst->chan_width_3 = tmp87__ >> 4 & 0x1; - pDst->chan_width_4 = tmp87__ >> 5 & 0x1; - pDst->chan_width_5 = tmp87__ >> 6 & 0x1; - pDst->chan_width_6 = tmp87__ >> 7 & 0x1; - pDst->rx_pream_puncturing = tmp87__ >> 8 & 0xf; - pDst->device_class = tmp87__ >> 12 & 0x1; - pDst->ldpc_coding = tmp87__ >> 13 & 0x1; - pDst->he_1x_ltf_800_gi_ppdu = tmp87__ >> 14 & 0x1; - pDst->midamble_tx_rx_max_nsts = tmp87__ >> 15 & 0x3; - pDst->he_4x_ltf_3200_gi_ndp = tmp87__ >> 17 & 0x1; - pDst->tb_ppdu_tx_stbc_lt_80mhz = tmp87__ >> 18 & 0x1; - pDst->rx_stbc_lt_80mhz = tmp87__ >> 19 & 0x1; - pDst->doppler = tmp87__ >> 20 & 0x3; - pDst->ul_mu = tmp87__ >> 22 & 0x3; - pDst->dcm_enc_tx = tmp87__ >> 24 & 0x7; - pDst->dcm_enc_rx = tmp87__ >> 27 & 0x7; - pDst->ul_he_mu = tmp87__ >> 30 & 0x1; - pDst->su_beamformer = tmp87__ >> 31 & 0x1; + pDst->reserved2 = tmp91__ >> 0 & 0x1; + pDst->chan_width_0 = tmp91__ >> 1 & 0x1; + pDst->chan_width_1 = tmp91__ >> 2 & 0x1; + pDst->chan_width_2 = tmp91__ >> 3 & 0x1; + pDst->chan_width_3 = tmp91__ >> 4 & 0x1; + pDst->chan_width_4 = tmp91__ >> 5 & 0x1; + pDst->chan_width_5 = tmp91__ >> 6 & 0x1; + pDst->chan_width_6 = tmp91__ >> 7 & 0x1; + pDst->rx_pream_puncturing = tmp91__ >> 8 & 0xf; + pDst->device_class = tmp91__ >> 12 & 0x1; + pDst->ldpc_coding = tmp91__ >> 13 & 0x1; + pDst->he_1x_ltf_800_gi_ppdu = tmp91__ >> 14 & 0x1; + pDst->midamble_tx_rx_max_nsts = tmp91__ >> 15 & 0x3; + pDst->he_4x_ltf_3200_gi_ndp = tmp91__ >> 17 & 0x1; + pDst->tb_ppdu_tx_stbc_lt_80mhz = tmp91__ >> 18 & 0x1; + pDst->rx_stbc_lt_80mhz = tmp91__ >> 19 & 0x1; + pDst->doppler = tmp91__ >> 20 & 0x3; + pDst->ul_mu = tmp91__ >> 22 & 0x3; + pDst->dcm_enc_tx = tmp91__ >> 24 & 0x7; + pDst->dcm_enc_rx = tmp91__ >> 27 & 0x7; + pDst->ul_he_mu = tmp91__ >> 30 & 0x1; + pDst->su_beamformer = tmp91__ >> 31 & 0x1; if (unlikely(ielen < 4)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - framesntohl(pCtx, &tmp88__, pBuf, 0); + framesntohl(pCtx, &tmp92__, pBuf, 0); pBuf += 4; ielen -= 4; - pDst->su_beamformee = tmp88__ >> 0 & 0x1; - pDst->mu_beamformer = tmp88__ >> 1 & 0x1; - pDst->bfee_sts_lt_80 = tmp88__ >> 2 & 0x7; - pDst->bfee_sts_gt_80 = tmp88__ >> 5 & 0x7; - pDst->num_sounding_lt_80 = tmp88__ >> 8 & 0x7; - pDst->num_sounding_gt_80 = tmp88__ >> 11 & 0x7; - pDst->su_feedback_tone16 = tmp88__ >> 14 & 0x1; - pDst->mu_feedback_tone16 = tmp88__ >> 15 & 0x1; - pDst->codebook_su = tmp88__ >> 16 & 0x1; - pDst->codebook_mu = tmp88__ >> 17 & 0x1; - pDst->beamforming_feedback = tmp88__ >> 18 & 0x7; - pDst->he_er_su_ppdu = tmp88__ >> 21 & 0x1; - pDst->dl_mu_mimo_part_bw = tmp88__ >> 22 & 0x1; - pDst->ppet_present = tmp88__ >> 23 & 0x1; - pDst->srp = tmp88__ >> 24 & 0x1; - pDst->power_boost = tmp88__ >> 25 & 0x1; - pDst->he_ltf_800_gi_4x = tmp88__ >> 26 & 0x1; - pDst->max_nc = tmp88__ >> 27 & 0x7; - pDst->tb_ppdu_tx_stbc_gt_80mhz = tmp88__ >> 30 & 0x1; - pDst->rx_stbc_gt_80mhz = tmp88__ >> 31 & 0x1; + pDst->su_beamformee = tmp92__ >> 0 & 0x1; + pDst->mu_beamformer = tmp92__ >> 1 & 0x1; + pDst->bfee_sts_lt_80 = tmp92__ >> 2 & 0x7; + pDst->bfee_sts_gt_80 = tmp92__ >> 5 & 0x7; + pDst->num_sounding_lt_80 = tmp92__ >> 8 & 0x7; + pDst->num_sounding_gt_80 = tmp92__ >> 11 & 0x7; + pDst->su_feedback_tone16 = tmp92__ >> 14 & 0x1; + pDst->mu_feedback_tone16 = tmp92__ >> 15 & 0x1; + pDst->codebook_su = tmp92__ >> 16 & 0x1; + pDst->codebook_mu = tmp92__ >> 17 & 0x1; + pDst->beamforming_feedback = tmp92__ >> 18 & 0x7; + pDst->he_er_su_ppdu = tmp92__ >> 21 & 0x1; + pDst->dl_mu_mimo_part_bw = tmp92__ >> 22 & 0x1; + pDst->ppet_present = tmp92__ >> 23 & 0x1; + pDst->srp = tmp92__ >> 24 & 0x1; + pDst->power_boost = tmp92__ >> 25 & 0x1; + pDst->he_ltf_800_gi_4x = tmp92__ >> 26 & 0x1; + pDst->max_nc = tmp92__ >> 27 & 0x7; + pDst->tb_ppdu_tx_stbc_gt_80mhz = tmp92__ >> 30 & 0x1; + pDst->rx_stbc_gt_80mhz = tmp92__ >> 31 & 0x1; if (unlikely(ielen < 2)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp89__, pBuf, 0); + framesntohs(pCtx, &tmp93__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->er_he_ltf_800_gi_4x = tmp89__ >> 0 & 0x1; - pDst->he_ppdu_20_in_40Mhz_2G = tmp89__ >> 1 & 0x1; - pDst->he_ppdu_20_in_160_80p80Mhz = tmp89__ >> 2 & 0x1; - pDst->he_ppdu_80_in_160_80p80Mhz = tmp89__ >> 3 & 0x1; - pDst->er_1x_he_ltf_gi = tmp89__ >> 4 & 0x1; - pDst->midamble_tx_rx_1x_he_ltf = tmp89__ >> 5 & 0x1; - pDst->dcm_max_bw = tmp89__ >> 6 & 0x3; - pDst->longer_than_16_he_sigb_ofdm_sym = tmp89__ >> 8 & 0x1; - pDst->non_trig_cqi_feedback = tmp89__ >> 9 & 0x1; - pDst->tx_1024_qam_lt_242_tone_ru = tmp89__ >> 10 & 0x1; - pDst->rx_1024_qam_lt_242_tone_ru = tmp89__ >> 11 & 0x1; - pDst->rx_full_bw_su_he_mu_compress_sigb = tmp89__ >> 12 & 0x1; - pDst->rx_full_bw_su_he_mu_non_cmpr_sigb = tmp89__ >> 13 & 0x1; - pDst->reserved3 = tmp89__ >> 14 & 0x3; + pDst->er_he_ltf_800_gi_4x = tmp93__ >> 0 & 0x1; + pDst->he_ppdu_20_in_40Mhz_2G = tmp93__ >> 1 & 0x1; + pDst->he_ppdu_20_in_160_80p80Mhz = tmp93__ >> 2 & 0x1; + pDst->he_ppdu_80_in_160_80p80Mhz = tmp93__ >> 3 & 0x1; + pDst->er_1x_he_ltf_gi = tmp93__ >> 4 & 0x1; + pDst->midamble_tx_rx_1x_he_ltf = tmp93__ >> 5 & 0x1; + pDst->dcm_max_bw = tmp93__ >> 6 & 0x3; + pDst->longer_than_16_he_sigb_ofdm_sym = tmp93__ >> 8 & 0x1; + pDst->non_trig_cqi_feedback = tmp93__ >> 9 & 0x1; + pDst->tx_1024_qam_lt_242_tone_ru = tmp93__ >> 10 & 0x1; + pDst->rx_1024_qam_lt_242_tone_ru = tmp93__ >> 11 & 0x1; + pDst->rx_full_bw_su_he_mu_compress_sigb = tmp93__ >> 12 & 0x1; + pDst->rx_full_bw_su_he_mu_non_cmpr_sigb = tmp93__ >> 13 & 0x1; + pDst->reserved3 = tmp93__ >> 14 & 0x3; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -9452,10 +9478,10 @@ uint32_t dot11f_unpack_ie_he_op(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint16_t tmp90__; - uint8_t tmp91__; - uint8_t tmp92__; - uint8_t tmp93__; + uint16_t tmp94__; + uint8_t tmp95__; + uint8_t tmp96__; + uint8_t tmp97__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -9465,36 +9491,36 @@ uint32_t dot11f_unpack_ie_he_op(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp90__, pBuf, 0); + framesntohs(pCtx, &tmp94__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->default_pe = tmp90__ >> 0 & 0x7; - pDst->twt_required = tmp90__ >> 3 & 0x1; - pDst->txop_rts_threshold = tmp90__ >> 4 & 0x3ff; - pDst->vht_oper_present = tmp90__ >> 14 & 0x1; - pDst->co_located_bss = tmp90__ >> 15 & 0x1; + pDst->default_pe = tmp94__ >> 0 & 0x7; + pDst->twt_required = tmp94__ >> 3 & 0x1; + pDst->txop_rts_threshold = tmp94__ >> 4 & 0x3ff; + pDst->vht_oper_present = tmp94__ >> 14 & 0x1; + pDst->co_located_bss = tmp94__ >> 15 & 0x1; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - tmp91__ = *pBuf; + tmp95__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->er_su_disable = tmp91__ >> 0 & 0x1; - pDst->oper_info_6g_present = tmp91__ >> 1 & 0x1; - pDst->reserved2 = tmp91__ >> 2 & 0x3f; + pDst->er_su_disable = tmp95__ >> 0 & 0x1; + pDst->oper_info_6g_present = tmp95__ >> 1 & 0x1; + pDst->reserved2 = tmp95__ >> 2 & 0x3f; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - tmp92__ = *pBuf; + tmp96__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->bss_color = tmp92__ >> 0 & 0x3f; - pDst->partial_bss_col = tmp92__ >> 6 & 0x1; - pDst->bss_col_disabled = tmp92__ >> 7 & 0x1; + pDst->bss_color = tmp96__ >> 0 & 0x3f; + pDst->partial_bss_col = tmp96__ >> 6 & 0x1; + pDst->bss_col_disabled = tmp96__ >> 7 & 0x1; if (unlikely(ielen < 2)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -9558,13 +9584,13 @@ uint32_t dot11f_unpack_ie_he_op(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp93__ = *pBuf; + tmp97__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->oper_info_6g.info.ch_width = tmp93__ >> 0 & 0x3; - pDst->oper_info_6g.info.dup_bcon = tmp93__ >> 2 & 0x1; - pDst->oper_info_6g.info.reg_info = tmp93__ >> 3 & 0x7; - pDst->oper_info_6g.info.reserved = tmp93__ >> 6 & 0x3; + pDst->oper_info_6g.info.ch_width = tmp97__ >> 0 & 0x3; + pDst->oper_info_6g.info.dup_bcon = tmp97__ >> 2 & 0x1; + pDst->oper_info_6g.info.reg_info = tmp97__ >> 3 & 0x7; + pDst->oper_info_6g.info.reserved = tmp97__ >> 6 & 0x3; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -9605,7 +9631,7 @@ uint32_t dot11f_unpack_ie_hs20vendor_ie(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint8_t tmp94__; + uint8_t tmp98__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -9615,13 +9641,13 @@ uint32_t dot11f_unpack_ie_hs20vendor_ie(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp94__ = *pBuf; + tmp98__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->dgaf_dis = tmp94__ >> 0 & 0x1; - pDst->hs_id_present = tmp94__ >> 1 & 0x3; - pDst->reserved = tmp94__ >> 3 & 0x1; - pDst->release_num = tmp94__ >> 4 & 0xf; + pDst->dgaf_dis = tmp98__ >> 0 & 0x1; + pDst->hs_id_present = tmp98__ >> 1 & 0x3; + pDst->reserved = tmp98__ >> 3 & 0x1; + pDst->release_num = tmp98__ >> 4 & 0xf; if (!ielen) { return 0U; } else { @@ -9662,7 +9688,7 @@ uint32_t dot11f_unpack_ie_ht2040_bss_coexistence(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint8_t tmp95__; + uint8_t tmp99__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -9672,13 +9698,13 @@ uint32_t dot11f_unpack_ie_ht2040_bss_coexistence(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp95__ = *pBuf; - pDst->info_request = tmp95__ >> 0 & 0x1; - pDst->forty_mhz_intolerant = tmp95__ >> 1 & 0x1; - pDst->twenty_mhz_bsswidth_req = tmp95__ >> 2 & 0x1; - pDst->obss_scan_exemption_req = tmp95__ >> 3 & 0x1; - pDst->obss_scan_exemption_grant = tmp95__ >> 4 & 0x1; - pDst->unused = tmp95__ >> 5 & 0x7; + tmp99__ = *pBuf; + pDst->info_request = tmp99__ >> 0 & 0x1; + pDst->forty_mhz_intolerant = tmp99__ >> 1 & 0x1; + pDst->twenty_mhz_bsswidth_req = tmp99__ >> 2 & 0x1; + pDst->obss_scan_exemption_req = tmp99__ >> 3 & 0x1; + pDst->obss_scan_exemption_grant = tmp99__ >> 4 & 0x1; + pDst->unused = tmp99__ >> 5 & 0x7; (void)pCtx; return status; } /* End dot11f_unpack_ie_ht2040_bss_coexistence. */ @@ -9762,12 +9788,12 @@ uint32_t dot11f_unpack_ie_mlo_ie(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint16_t tmp96__; - uint8_t tmp97__; - uint16_t tmp98__; - uint16_t tmp99__; - uint8_t tmp100__; - uint16_t tmp101__; + uint16_t tmp100__; + uint8_t tmp101__; + uint16_t tmp102__; + uint16_t tmp103__; + uint8_t tmp104__; + uint16_t tmp105__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -9777,18 +9803,18 @@ uint32_t dot11f_unpack_ie_mlo_ie(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp96__, pBuf, 0); + framesntohs(pCtx, &tmp100__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->type = tmp96__ >> 0 & 0x7; - pDst->reserved = tmp96__ >> 3 & 0x1; - pDst->mld_mac_addr_present = tmp96__ >> 4 & 0x1; - pDst->link_id_info_present = tmp96__ >> 5 & 0x1; - pDst->bss_param_change_cnt_present = tmp96__ >> 6 & 0x1; - pDst->medium_sync_delay_info_present = tmp96__ >> 7 & 0x1; - pDst->eml_capab_present = tmp96__ >> 8 & 0x1; - pDst->mld_capab_present = tmp96__ >> 9 & 0x1; - pDst->reserved_1 = tmp96__ >> 10 & 0x3f; + pDst->type = tmp100__ >> 0 & 0x7; + pDst->reserved = tmp100__ >> 3 & 0x1; + pDst->mld_mac_addr_present = tmp100__ >> 4 & 0x1; + pDst->link_id_info_present = tmp100__ >> 5 & 0x1; + pDst->bss_param_change_cnt_present = tmp100__ >> 6 & 0x1; + pDst->medium_sync_delay_info_present = tmp100__ >> 7 & 0x1; + pDst->eml_capab_present = tmp100__ >> 8 & 0x1; + pDst->mld_capab_present = tmp100__ >> 9 & 0x1; + pDst->reserved_1 = tmp100__ >> 10 & 0x3f; switch (pDst->mld_mac_addr_present) { case 1: if (unlikely(ielen < 6)) { @@ -9808,11 +9834,11 @@ uint32_t dot11f_unpack_ie_mlo_ie(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp97__ = *pBuf; + tmp101__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->link_id_info.info.link_id = tmp97__ >> 0 & 0xf; - pDst->link_id_info.info.reserved = tmp97__ >> 4 & 0xf; + pDst->link_id_info.info.link_id = tmp101__ >> 0 & 0xf; + pDst->link_id_info.info.reserved = tmp101__ >> 4 & 0xf; break; } switch (pDst->bss_param_change_cnt_present) { @@ -9834,12 +9860,12 @@ uint32_t dot11f_unpack_ie_mlo_ie(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp98__, pBuf, 0); + framesntohs(pCtx, &tmp102__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->medium_sync_delay_info.info.medium_sync_duration = tmp98__ >> 0 & 0xff; - pDst->medium_sync_delay_info.info.medium_sync_ofdm_ed_thresh = tmp98__ >> 8 & 0xf; - pDst->medium_sync_delay_info.info.medium_sync_max_txop_num = tmp98__ >> 12 & 0xf; + pDst->medium_sync_delay_info.info.medium_sync_duration = tmp102__ >> 0 & 0xff; + pDst->medium_sync_delay_info.info.medium_sync_ofdm_ed_thresh = tmp102__ >> 8 & 0xf; + pDst->medium_sync_delay_info.info.medium_sync_max_txop_num = tmp102__ >> 12 & 0xf; break; } switch (pDst->eml_capab_present) { @@ -9849,25 +9875,25 @@ uint32_t dot11f_unpack_ie_mlo_ie(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp99__, pBuf, 0); + framesntohs(pCtx, &tmp103__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->eml_capabilities.info.emlsr_support = tmp99__ >> 0 & 0x1; - pDst->eml_capabilities.info.emlsr_delay = tmp99__ >> 1 & 0x7; - pDst->eml_capabilities.info.emlmr_support = tmp99__ >> 4 & 0x1; - pDst->eml_capabilities.info.emlmr_delay = tmp99__ >> 5 & 0x7; - pDst->eml_capabilities.info.transition_timeout = tmp99__ >> 8 & 0xf; - pDst->eml_capabilities.info.reserved = tmp99__ >> 12 & 0xf; + pDst->eml_capabilities.info.emlsr_support = tmp103__ >> 0 & 0x1; + pDst->eml_capabilities.info.emlsr_delay = tmp103__ >> 1 & 0x7; + pDst->eml_capabilities.info.emlmr_support = tmp103__ >> 4 & 0x1; + pDst->eml_capabilities.info.emlmr_delay = tmp103__ >> 5 & 0x7; + pDst->eml_capabilities.info.transition_timeout = tmp103__ >> 8 & 0xf; + pDst->eml_capabilities.info.reserved = tmp103__ >> 12 & 0xf; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - tmp100__ = *pBuf; + tmp104__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->eml_capabilities.info.emlmr_rx_nss = tmp100__ >> 0 & 0xf; - pDst->eml_capabilities.info.emlmr_tx_nss = tmp100__ >> 4 & 0xf; + pDst->eml_capabilities.info.emlmr_rx_nss = tmp104__ >> 0 & 0xf; + pDst->eml_capabilities.info.emlmr_tx_nss = tmp104__ >> 4 & 0xf; break; } switch (pDst->mld_capab_present) { @@ -9877,14 +9903,14 @@ uint32_t dot11f_unpack_ie_mlo_ie(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp101__, pBuf, 0); + framesntohs(pCtx, &tmp105__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->mld_capabilities.info.max_simultaneous_link_num = tmp101__ >> 0 & 0xf; - pDst->mld_capabilities.info.srs_support = tmp101__ >> 4 & 0x1; - pDst->mld_capabilities.info.tid_link_map_supported = tmp101__ >> 5 & 0x3; - pDst->mld_capabilities.info.str_freq_separation = tmp101__ >> 7 & 0x1f; - pDst->mld_capabilities.info.reserved = tmp101__ >> 12 & 0xf; + pDst->mld_capabilities.info.max_simultaneous_link_num = tmp105__ >> 0 & 0xf; + pDst->mld_capabilities.info.srs_support = tmp105__ >> 4 & 0x1; + pDst->mld_capabilities.info.tid_link_map_supported = tmp105__ >> 5 & 0x3; + pDst->mld_capabilities.info.str_freq_separation = tmp105__ >> 7 & 0x1f; + pDst->mld_capabilities.info.reserved = tmp105__ >> 12 & 0xf; break; } (void)pCtx; @@ -9909,14 +9935,14 @@ uint32_t dot11f_unpack_ie_mu_edca_param_set(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint8_t tmp102__; - uint8_t tmp103__; - uint8_t tmp104__; - uint8_t tmp105__; uint8_t tmp106__; uint8_t tmp107__; uint8_t tmp108__; uint8_t tmp109__; + uint8_t tmp110__; + uint8_t tmp111__; + uint8_t tmp112__; + uint8_t tmp113__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -9934,23 +9960,23 @@ uint32_t dot11f_unpack_ie_mu_edca_param_set(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp102__ = *pBuf; + tmp106__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->acbe_aifsn = tmp102__ >> 0 & 0xf; - pDst->acbe_acm = tmp102__ >> 4 & 0x1; - pDst->acbe_aci = tmp102__ >> 5 & 0x3; - pDst->unused1 = tmp102__ >> 7 & 0x1; + pDst->acbe_aifsn = tmp106__ >> 0 & 0xf; + pDst->acbe_acm = tmp106__ >> 4 & 0x1; + pDst->acbe_aci = tmp106__ >> 5 & 0x3; + pDst->unused1 = tmp106__ >> 7 & 0x1; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - tmp103__ = *pBuf; + tmp107__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->acbe_acwmin = tmp103__ >> 0 & 0xf; - pDst->acbe_acwmax = tmp103__ >> 4 & 0xf; + pDst->acbe_acwmin = tmp107__ >> 0 & 0xf; + pDst->acbe_acwmax = tmp107__ >> 4 & 0xf; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -9964,23 +9990,23 @@ uint32_t dot11f_unpack_ie_mu_edca_param_set(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp104__ = *pBuf; + tmp108__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->acbk_aifsn = tmp104__ >> 0 & 0xf; - pDst->acbk_acm = tmp104__ >> 4 & 0x1; - pDst->acbk_aci = tmp104__ >> 5 & 0x3; - pDst->unused2 = tmp104__ >> 7 & 0x1; + pDst->acbk_aifsn = tmp108__ >> 0 & 0xf; + pDst->acbk_acm = tmp108__ >> 4 & 0x1; + pDst->acbk_aci = tmp108__ >> 5 & 0x3; + pDst->unused2 = tmp108__ >> 7 & 0x1; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - tmp105__ = *pBuf; + tmp109__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->acbk_acwmin = tmp105__ >> 0 & 0xf; - pDst->acbk_acwmax = tmp105__ >> 4 & 0xf; + pDst->acbk_acwmin = tmp109__ >> 0 & 0xf; + pDst->acbk_acwmax = tmp109__ >> 4 & 0xf; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -9994,23 +10020,23 @@ uint32_t dot11f_unpack_ie_mu_edca_param_set(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp106__ = *pBuf; + tmp110__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->acvi_aifsn = tmp106__ >> 0 & 0xf; - pDst->acvi_acm = tmp106__ >> 4 & 0x1; - pDst->acvi_aci = tmp106__ >> 5 & 0x3; - pDst->unused3 = tmp106__ >> 7 & 0x1; + pDst->acvi_aifsn = tmp110__ >> 0 & 0xf; + pDst->acvi_acm = tmp110__ >> 4 & 0x1; + pDst->acvi_aci = tmp110__ >> 5 & 0x3; + pDst->unused3 = tmp110__ >> 7 & 0x1; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - tmp107__ = *pBuf; + tmp111__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->acvi_acwmin = tmp107__ >> 0 & 0xf; - pDst->acvi_acwmax = tmp107__ >> 4 & 0xf; + pDst->acvi_acwmin = tmp111__ >> 0 & 0xf; + pDst->acvi_acwmax = tmp111__ >> 4 & 0xf; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -10024,23 +10050,23 @@ uint32_t dot11f_unpack_ie_mu_edca_param_set(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - tmp108__ = *pBuf; + tmp112__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->acvo_aifsn = tmp108__ >> 0 & 0xf; - pDst->acvo_acm = tmp108__ >> 4 & 0x1; - pDst->acvo_aci = tmp108__ >> 5 & 0x3; - pDst->unused4 = tmp108__ >> 7 & 0x1; + pDst->acvo_aifsn = tmp112__ >> 0 & 0xf; + pDst->acvo_acm = tmp112__ >> 4 & 0x1; + pDst->acvo_aci = tmp112__ >> 5 & 0x3; + pDst->unused4 = tmp112__ >> 7 & 0x1; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; } - tmp109__ = *pBuf; + tmp113__ = *pBuf; pBuf += 1; ielen -= 1; - pDst->acvo_acwmin = tmp109__ >> 0 & 0xf; - pDst->acvo_acwmax = tmp109__ >> 4 & 0xf; + pDst->acvo_acwmin = tmp113__ >> 0 & 0xf; + pDst->acvo_acwmax = tmp113__ >> 4 & 0xf; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -10196,10 +10222,10 @@ uint32_t dot11f_unpack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, bool append_ie) { uint32_t status = DOT11F_PARSE_SUCCESS; - uint16_t tmp110__; - uint32_t tmp111__; - uint32_t tmp112__; - uint32_t tmp113__; + uint16_t tmp114__; + uint32_t tmp115__; + uint32_t tmp116__; + uint32_t tmp117__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) return DOT11F_DUPLICATE_IE; @@ -10209,14 +10235,14 @@ uint32_t dot11f_unpack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohs(pCtx, &tmp110__, pBuf, 0); + framesntohs(pCtx, &tmp114__, pBuf, 0); pBuf += 2; ielen -= 2; - pDst->tbtt_type = tmp110__ >> 0 & 0x3; - pDst->filtered_neighbor_ap = tmp110__ >> 2 & 0x1; - pDst->reserved = tmp110__ >> 3 & 0x1; - pDst->tbtt_info_count = tmp110__ >> 4 & 0xf; - pDst->tbtt_info_len = tmp110__ >> 8 & 0xff; + pDst->tbtt_type = tmp114__ >> 0 & 0x3; + pDst->filtered_neighbor_ap = tmp114__ >> 2 & 0x1; + pDst->reserved = tmp114__ >> 3 & 0x1; + pDst->tbtt_info_count = tmp114__ >> 4 & 0xf; + pDst->tbtt_info_len = tmp114__ >> 8 & 0xff; if (unlikely(ielen < 1)) { pDst->present = 0; return DOT11F_INCOMPLETE_IE; @@ -10276,13 +10302,13 @@ uint32_t dot11f_unpack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohl(pCtx, &tmp111__, pBuf, 0); + framesntohl(pCtx, &tmp115__, pBuf, 0); pBuf += 4; ielen -= 4; - pDst->tbtt_info.tbtt_info_4.mld_id = tmp111__ >> 0 & 0xff; - pDst->tbtt_info.tbtt_info_4.link_id = tmp111__ >> 8 & 0xf; - pDst->tbtt_info.tbtt_info_4.bss_param_change_cnt = tmp111__ >> 12 & 0xff; - pDst->tbtt_info.tbtt_info_4.reserved = tmp111__ >> 20 & 0xfff; + pDst->tbtt_info.tbtt_info_4.mld_id = tmp115__ >> 0 & 0xff; + pDst->tbtt_info.tbtt_info_4.link_id = tmp115__ >> 8 & 0xf; + pDst->tbtt_info.tbtt_info_4.bss_param_change_cnt = tmp115__ >> 12 & 0xff; + pDst->tbtt_info.tbtt_info_4.reserved = tmp115__ >> 20 & 0xfff; break; case 5: if (unlikely(ielen < 1)) { @@ -10428,13 +10454,13 @@ uint32_t dot11f_unpack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohl(pCtx, &tmp112__, pBuf, 0); + framesntohl(pCtx, &tmp116__, pBuf, 0); pBuf += 4; ielen -= 4; - pDst->tbtt_info.tbtt_info_10.mld_id = tmp112__ >> 0 & 0xff; - pDst->tbtt_info.tbtt_info_10.link_id = tmp112__ >> 8 & 0xf; - pDst->tbtt_info.tbtt_info_10.bss_param_change_cnt = tmp112__ >> 12 & 0xff; - pDst->tbtt_info.tbtt_info_10.reserved = tmp112__ >> 20 & 0xfff; + pDst->tbtt_info.tbtt_info_10.mld_id = tmp116__ >> 0 & 0xff; + pDst->tbtt_info.tbtt_info_10.link_id = tmp116__ >> 8 & 0xf; + pDst->tbtt_info.tbtt_info_10.bss_param_change_cnt = tmp116__ >> 12 & 0xff; + pDst->tbtt_info.tbtt_info_10.reserved = tmp116__ >> 20 & 0xfff; break; case 11: if (unlikely(ielen < 1)) { @@ -10584,13 +10610,13 @@ uint32_t dot11f_unpack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, return DOT11F_INCOMPLETE_IE; } - framesntohl(pCtx, &tmp113__, pBuf, 0); + framesntohl(pCtx, &tmp117__, pBuf, 0); pBuf += 4; ielen -= 4; - pDst->tbtt_info.tbtt_info_16.mld_id = tmp113__ >> 0 & 0xff; - pDst->tbtt_info.tbtt_info_16.link_id = tmp113__ >> 8 & 0xf; - pDst->tbtt_info.tbtt_info_16.bss_param_change_cnt = tmp113__ >> 12 & 0xff; - pDst->tbtt_info.tbtt_info_16.reserved = tmp113__ >> 20 & 0xfff; + pDst->tbtt_info.tbtt_info_16.mld_id = tmp117__ >> 0 & 0xff; + pDst->tbtt_info.tbtt_info_16.link_id = tmp117__ >> 8 & 0xf; + pDst->tbtt_info.tbtt_info_16.bss_param_change_cnt = tmp117__ >> 12 & 0xff; + pDst->tbtt_info.tbtt_info_16.reserved = tmp117__ >> 20 & 0xfff; break; } (void)pCtx; @@ -10921,7 +10947,7 @@ static const tIEDefn IES_AssocRequest[] = { "dh_parameter_element", 0, 4, 259, SigIedh_parameter_element, {0, 0, 0, 0, 0}, 0, DOT11F_EID_DH_PARAMETER_ELEMENT, 32, 0, }, { offsetof(tDot11fAssocRequest, eht_cap), offsetof(tDot11fIEeht_cap, - present), 0, "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + present), 0, "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fAssocRequest, mlo_ie), offsetof(tDot11fIEmlo_ie, present), 0, "mlo_ie", 0, 4, 276, SigIemlo_ie, {0, 0, 0, 0, 0}, @@ -11112,7 +11138,7 @@ static const tIEDefn IES_AssocResponse[] = { present), 0, "fils_kde", 0, 10, 265, SigIefils_kde, {0, 0, 0, 0, 0}, 0, DOT11F_EID_FILS_KDE, 7, 0, }, { offsetof(tDot11fAssocResponse, eht_cap), offsetof(tDot11fIEeht_cap, - present), 0, "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + present), 0, "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fAssocResponse, eht_op), offsetof(tDot11fIEeht_op, present), 0, "eht_op", 0, 6, 8, SigIeeht_op, {0, 0, 0, 0, 0}, @@ -11419,7 +11445,7 @@ static const tIEDefn IES_Beacon[] = { "WiderBWChanSwitchAnn", 0, 5, 5, SigIeWiderBWChanSwitchAnn, {0, 0, 0, 0, 0}, 0, DOT11F_EID_WIDERBWCHANSWITCHANN, 0, 0, }, { offsetof(tDot11fBeacon, eht_cap), offsetof(tDot11fIEeht_cap, present), 0, - "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fBeacon, eht_op), offsetof(tDot11fIEeht_op, present), 0, "eht_op", 0, 6, 8, SigIeeht_op, {0, 0, 0, 0, 0}, @@ -11671,7 +11697,7 @@ static const tIEDefn IES_Beacon2[] = { "WiderBWChanSwitchAnn", 0, 5, 5, SigIeWiderBWChanSwitchAnn, {0, 0, 0, 0, 0}, 0, DOT11F_EID_WIDERBWCHANSWITCHANN, 0, 0, }, { offsetof(tDot11fBeacon2, eht_cap), offsetof(tDot11fIEeht_cap, present), - 0, "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + 0, "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fBeacon2, eht_op), offsetof(tDot11fIEeht_op, present), 0, "eht_op", 0, 6, 8, SigIeeht_op, {0, 0, 0, 0, 0}, @@ -11914,7 +11940,7 @@ static const tIEDefn IES_BeaconIEs[] = { "WiderBWChanSwitchAnn", 0, 5, 5, SigIeWiderBWChanSwitchAnn, {0, 0, 0, 0, 0}, 0, DOT11F_EID_WIDERBWCHANSWITCHANN, 0, 0, }, { offsetof(tDot11fBeaconIEs, eht_cap), offsetof(tDot11fIEeht_cap, - present), 0, "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + present), 0, "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fBeaconIEs, eht_op), offsetof(tDot11fIEeht_op, present), 0, "eht_op", 0, 6, 8, SigIeeht_op, {0, 0, 0, 0, 0}, @@ -12391,7 +12417,7 @@ static const tIEDefn IES_ProbeRequest[] = { 0, 4, 4, SigIehe_6ghz_band_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_HE_6GHZ_BAND_CAP, 59, 0, }, { offsetof(tDot11fProbeRequest, eht_cap), offsetof(tDot11fIEeht_cap, - present), 0, "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + present), 0, "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fProbeRequest, mlo_ie), offsetof(tDot11fIEmlo_ie, present), 0, "mlo_ie", 0, 4, 276, SigIemlo_ie, {0, 0, 0, 0, 0}, @@ -12590,7 +12616,7 @@ static const tIEDefn IES_ProbeResponse[] = { 0, 8, 8, SigIeESETxmitPower, {0, 64, 150, 0, 0}, 4, DOT11F_EID_ESETXMITPOWER, 0, 0, }, { offsetof(tDot11fProbeResponse, eht_cap), offsetof(tDot11fIEeht_cap, - present), 0, "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + present), 0, "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fProbeResponse, eht_op), offsetof(tDot11fIEeht_op, present), 0, "eht_op", 0, 6, 8, SigIeeht_op, {0, 0, 0, 0, 0}, @@ -12871,7 +12897,7 @@ static const tIEDefn IES_ReAssocRequest[] = { 0, 12, 26, SigIeESECckmOpaque, {0, 64, 150, 0, 0}, 4, DOT11F_EID_ESECCKMOPAQUE, 0, 0, }, { offsetof(tDot11fReAssocRequest, eht_cap), offsetof(tDot11fIEeht_cap, - present), 0, "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + present), 0, "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fReAssocRequest, mlo_ie), offsetof(tDot11fIEmlo_ie, present), 0, "mlo_ie", 0, 4, 276, SigIemlo_ie, {0, 0, 0, 0, 0}, @@ -13044,7 +13070,7 @@ static const tIEDefn IES_ReAssocResponse[] = { 0, 8, 8, SigIeESETxmitPower, {0, 64, 150, 0, 0}, 4, DOT11F_EID_ESETXMITPOWER, 0, 0, }, { offsetof(tDot11fReAssocResponse, eht_cap), offsetof(tDot11fIEeht_cap, - present), 0, "eht_cap", 0, 12, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, + present), 0, "eht_cap", 0, 25, 87, SigIeeht_cap, {0, 0, 0, 0, 0}, 0, DOT11F_EID_EHT_CAP, 108, 0, }, { offsetof(tDot11fReAssocResponse, eht_op), offsetof(tDot11fIEeht_op, present), 0, "eht_op", 0, 6, 8, SigIeeht_op, {0, 0, 0, 0, 0}, @@ -17554,10 +17580,10 @@ uint32_t dot11f_get_packed_ie_eht_cap(tpAniSirGlobal pCtx, *pnNeeded += 2; *pnNeeded += 4; *pnNeeded += 4; - *pnNeeded += pIe->num_eht_mcs_map_20; - *pnNeeded += pIe->num_eht_mcs_map_le_80; - *pnNeeded += pIe->num_eht_mcs_map_160; - *pnNeeded += (pIe->support_320mhz_6ghz * 3); + *pnNeeded += 4; + *pnNeeded += 4; + *pnNeeded += 4; + *pnNeeded += 1; if (pIe->ppet_present) { switch (pIe->ppet_present) { case 1: @@ -20044,25 +20070,25 @@ void dot11f_pack_ff_capabilities(tpAniSirGlobal pCtx, tDot11fFfCapabilities *pSrc, uint8_t *pBuf) { - uint16_t tmp114__; - tmp114__ = 0U; - tmp114__ |= (pSrc->ess << 0); - tmp114__ |= (pSrc->ibss << 1); - tmp114__ |= (pSrc->cfPollable << 2); - tmp114__ |= (pSrc->cfPollReq << 3); - tmp114__ |= (pSrc->privacy << 4); - tmp114__ |= (pSrc->shortPreamble << 5); - tmp114__ |= (pSrc->criticalUpdateFlag << 6); - tmp114__ |= (pSrc->channelAgility << 7); - tmp114__ |= (pSrc->spectrumMgt << 8); - tmp114__ |= (pSrc->qos << 9); - tmp114__ |= (pSrc->shortSlotTime << 10); - tmp114__ |= (pSrc->apsd << 11); - tmp114__ |= (pSrc->rrm << 12); - tmp114__ |= (pSrc->dsssOfdm << 13); - tmp114__ |= (pSrc->delayedBA << 14); - tmp114__ |= (pSrc->immediateBA << 15); - frameshtons(pCtx, pBuf, tmp114__, 0); + uint16_t tmp118__; + tmp118__ = 0U; + tmp118__ |= (pSrc->ess << 0); + tmp118__ |= (pSrc->ibss << 1); + tmp118__ |= (pSrc->cfPollable << 2); + tmp118__ |= (pSrc->cfPollReq << 3); + tmp118__ |= (pSrc->privacy << 4); + tmp118__ |= (pSrc->shortPreamble << 5); + tmp118__ |= (pSrc->criticalUpdateFlag << 6); + tmp118__ |= (pSrc->channelAgility << 7); + tmp118__ |= (pSrc->spectrumMgt << 8); + tmp118__ |= (pSrc->qos << 9); + tmp118__ |= (pSrc->shortSlotTime << 10); + tmp118__ |= (pSrc->apsd << 11); + tmp118__ |= (pSrc->rrm << 12); + tmp118__ |= (pSrc->dsssOfdm << 13); + tmp118__ |= (pSrc->delayedBA << 14); + tmp118__ |= (pSrc->immediateBA << 15); + frameshtons(pCtx, pBuf, tmp118__, 0); (void)pCtx; } /* End dot11f_pack_ff_capabilities. */ @@ -20126,13 +20152,13 @@ void dot11f_pack_ff_operating_mode(tpAniSirGlobal pCtx, tDot11fFfOperatingMode *pSrc, uint8_t *pBuf) { - uint8_t tmp115__; - tmp115__ = 0U; - tmp115__ |= (pSrc->chanWidth << 0); - tmp115__ |= (pSrc->reserved << 2); - tmp115__ |= (pSrc->rxNSS << 4); - tmp115__ |= (pSrc->rxNSSType << 7); - *pBuf = tmp115__; + uint8_t tmp119__; + tmp119__ = 0U; + tmp119__ |= (pSrc->chanWidth << 0); + tmp119__ |= (pSrc->reserved << 2); + tmp119__ |= (pSrc->rxNSS << 4); + tmp119__ |= (pSrc->rxNSSType << 7); + *pBuf = tmp119__; (void)pCtx; } /* End dot11f_pack_ff_operating_mode. */ @@ -20172,12 +20198,12 @@ void dot11f_pack_ff_sm_power_mode_set(tpAniSirGlobal pCtx, tDot11fFfSMPowerModeSet *pSrc, uint8_t *pBuf) { - uint8_t tmp116__; - tmp116__ = 0U; - tmp116__ |= (pSrc->PowerSave_En << 0); - tmp116__ |= (pSrc->Mode << 1); - tmp116__ |= (pSrc->reserved << 2); - *pBuf = tmp116__; + uint8_t tmp120__; + tmp120__ = 0U; + tmp120__ |= (pSrc->PowerSave_En << 0); + tmp120__ |= (pSrc->Mode << 1); + tmp120__ |= (pSrc->reserved << 2); + *pBuf = tmp120__; (void)pCtx; } /* End dot11f_pack_ff_sm_power_mode_set. */ @@ -20217,19 +20243,19 @@ void dot11f_pack_ff_ts_info(tpAniSirGlobal pCtx, tDot11fFfTSInfo *pSrc, uint8_t *pBuf) { - uint32_t tmp117__; - tmp117__ = 0U; - tmp117__ |= (pSrc->traffic_type << 0); - tmp117__ |= (pSrc->tsid << 1); - tmp117__ |= (pSrc->direction << 5); - tmp117__ |= (pSrc->access_policy << 7); - tmp117__ |= (pSrc->aggregation << 9); - tmp117__ |= (pSrc->psb << 10); - tmp117__ |= (pSrc->user_priority << 11); - tmp117__ |= (pSrc->tsinfo_ack_pol << 14); - tmp117__ |= (pSrc->schedule << 16); - tmp117__ |= (pSrc->unused << 17); - frameshtonl(pCtx, pBuf, tmp117__, 0); + uint32_t tmp121__; + tmp121__ = 0U; + tmp121__ |= (pSrc->traffic_type << 0); + tmp121__ |= (pSrc->tsid << 1); + tmp121__ |= (pSrc->direction << 5); + tmp121__ |= (pSrc->access_policy << 7); + tmp121__ |= (pSrc->aggregation << 9); + tmp121__ |= (pSrc->psb << 10); + tmp121__ |= (pSrc->user_priority << 11); + tmp121__ |= (pSrc->tsinfo_ack_pol << 14); + tmp121__ |= (pSrc->schedule << 16); + tmp121__ |= (pSrc->unused << 17); + frameshtonl(pCtx, pBuf, tmp121__, 0); (void)pCtx; } /* End dot11f_pack_ff_ts_info. */ @@ -20285,13 +20311,13 @@ void dot11f_pack_ff_addba_param_set(tpAniSirGlobal pCtx, tDot11fFfaddba_param_set *pSrc, uint8_t *pBuf) { - uint16_t tmp118__; - tmp118__ = 0U; - tmp118__ |= (pSrc->amsdu_supp << 0); - tmp118__ |= (pSrc->policy << 1); - tmp118__ |= (pSrc->tid << 2); - tmp118__ |= (pSrc->buff_size << 6); - frameshtons(pCtx, pBuf, tmp118__, 0); + uint16_t tmp122__; + tmp122__ = 0U; + tmp122__ |= (pSrc->amsdu_supp << 0); + tmp122__ |= (pSrc->policy << 1); + tmp122__ |= (pSrc->tid << 2); + tmp122__ |= (pSrc->buff_size << 6); + frameshtons(pCtx, pBuf, tmp122__, 0); (void)pCtx; } /* End dot11f_pack_ff_addba_param_set. */ @@ -20299,11 +20325,11 @@ void dot11f_pack_ff_ba_start_seq_ctrl(tpAniSirGlobal pCtx, tDot11fFfba_start_seq_ctrl *pSrc, uint8_t *pBuf) { - uint16_t tmp119__; - tmp119__ = 0U; - tmp119__ |= (pSrc->frag_number << 0); - tmp119__ |= (pSrc->ssn << 4); - frameshtons(pCtx, pBuf, tmp119__, 0); + uint16_t tmp123__; + tmp123__ = 0U; + tmp123__ |= (pSrc->frag_number << 0); + tmp123__ |= (pSrc->ssn << 4); + frameshtons(pCtx, pBuf, tmp123__, 0); (void)pCtx; } /* End dot11f_pack_ff_ba_start_seq_ctrl. */ @@ -20319,12 +20345,12 @@ void dot11f_pack_ff_delba_param_set(tpAniSirGlobal pCtx, tDot11fFfdelba_param_set *pSrc, uint8_t *pBuf) { - uint16_t tmp120__; - tmp120__ = 0U; - tmp120__ |= (pSrc->reserved << 0); - tmp120__ |= (pSrc->initiator << 11); - tmp120__ |= (pSrc->tid << 12); - frameshtons(pCtx, pBuf, tmp120__, 0); + uint16_t tmp124__; + tmp124__ = 0U; + tmp124__ |= (pSrc->reserved << 0); + tmp124__ |= (pSrc->initiator << 11); + tmp124__ |= (pSrc->tid << 12); + frameshtons(pCtx, pBuf, tmp124__, 0); (void)pCtx; } /* End dot11f_pack_ff_delba_param_set. */ @@ -20332,13 +20358,13 @@ void dot11f_pack_ff_ext_chan_switch_ann_action(tpAniSirGlobal pCtx, tDot11fFfext_chan_switch_ann_action *pSrc, uint8_t *pBuf) { - uint32_t tmp121__; - tmp121__ = 0U; - tmp121__ |= (pSrc->switch_mode << 0); - tmp121__ |= (pSrc->op_class << 8); - tmp121__ |= (pSrc->new_channel << 16); - tmp121__ |= (pSrc->switch_count << 24); - frameshtonl(pCtx, pBuf, tmp121__, 0); + uint32_t tmp125__; + tmp125__ = 0U; + tmp125__ |= (pSrc->switch_mode << 0); + tmp125__ |= (pSrc->op_class << 8); + tmp125__ |= (pSrc->new_channel << 16); + tmp125__ |= (pSrc->switch_count << 24); + frameshtonl(pCtx, pBuf, tmp125__, 0); (void)pCtx; } /* End dot11f_pack_ff_ext_chan_switch_ann_action. */ @@ -20441,7 +20467,7 @@ uint32_t dot11f_pack_tlv_version2(tpAniSirGlobal pCtx, uint8_t *pTlvLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp122__; + uint8_t tmp126__; nNeeded += 3; if (nNeeded > nBuf) return DOT11F_BUFFER_OVERFLOW; @@ -20450,13 +20476,13 @@ uint32_t dot11f_pack_tlv_version2(tpAniSirGlobal pCtx, pBuf += 1; *pnConsumed += 1; pTlvLen = pBuf; pBuf += 1; *pnConsumed += 1; - tmp122__ = 0U; - tmp122__ |= (pSrc->minor << 0); - tmp122__ |= (pSrc->major << 4); + tmp126__ = 0U; + tmp126__ |= (pSrc->minor << 0); + tmp126__ |= (pSrc->major << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp122__; + *pBuf = tmp126__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -21413,7 +21439,7 @@ uint32_t dot11f_pack_tlv_version(tpAniSirGlobal pCtx, uint8_t *pTlvLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp123__; + uint8_t tmp127__; nNeeded += 5; if (nNeeded > nBuf) return DOT11F_BUFFER_OVERFLOW; @@ -21422,13 +21448,13 @@ uint32_t dot11f_pack_tlv_version(tpAniSirGlobal pCtx, pBuf += 2; *pnConsumed += 2; pTlvLen = pBuf; pBuf += 2; *pnConsumed += 2; - tmp123__ = 0U; - tmp123__ |= (pSrc->minor << 0); - tmp123__ |= (pSrc->major << 4); + tmp127__ = 0U; + tmp127__ |= (pSrc->minor << 0); + tmp127__ |= (pSrc->major << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp123__; + *pBuf = tmp127__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -21811,7 +21837,7 @@ uint32_t dot11f_pack_tlv_oce_cap(tpAniSirGlobal pCtx, uint8_t *pTlvLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp124__; + uint8_t tmp128__; nNeeded += 3; if (nNeeded > nBuf) return DOT11F_BUFFER_OVERFLOW; @@ -21820,15 +21846,15 @@ uint32_t dot11f_pack_tlv_oce_cap(tpAniSirGlobal pCtx, pBuf += 1; *pnConsumed += 1; pTlvLen = pBuf; pBuf += 1; *pnConsumed += 1; - tmp124__ = 0U; - tmp124__ |= (pSrc->oce_release << 0); - tmp124__ |= (pSrc->is_sta_cfon << 3); - tmp124__ |= (pSrc->non_oce_ap_present << 4); - tmp124__ |= (pSrc->reserved << 5); + tmp128__ = 0U; + tmp128__ |= (pSrc->oce_release << 0); + tmp128__ |= (pSrc->is_sta_cfon << 3); + tmp128__ |= (pSrc->non_oce_ap_present << 4); + tmp128__ |= (pSrc->reserved << 5); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp124__; + *pBuf = tmp128__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -21882,7 +21908,7 @@ uint32_t dot11f_pack_tlv_reduced_wan_metrics(tpAniSirGlobal pCtx, uint8_t *pTlvLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp125__; + uint8_t tmp129__; nNeeded += 3; if (nNeeded > nBuf) return DOT11F_BUFFER_OVERFLOW; @@ -21891,13 +21917,13 @@ uint32_t dot11f_pack_tlv_reduced_wan_metrics(tpAniSirGlobal pCtx, pBuf += 1; *pnConsumed += 1; pTlvLen = pBuf; pBuf += 1; *pnConsumed += 1; - tmp125__ = 0U; - tmp125__ |= (pSrc->downlink_av_cap << 0); - tmp125__ |= (pSrc->uplink_av_cap << 4); + tmp129__ = 0U; + tmp129__ |= (pSrc->downlink_av_cap << 0); + tmp129__ |= (pSrc->uplink_av_cap << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp125__; + *pBuf = tmp129__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -22154,7 +22180,7 @@ uint32_t dot11f_pack_ie_gtk(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp126__; + uint16_t tmp130__; nNeeded += (pSrc->num_key + 11); while (pSrc->present) { if (nNeeded > nBuf) @@ -22163,13 +22189,13 @@ uint32_t dot11f_pack_ie_gtk(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp126__ = 0U; - tmp126__ |= (pSrc->keyId << 0); - tmp126__ |= (pSrc->reserved << 2); + tmp130__ = 0U; + tmp130__ |= (pSrc->keyId << 0); + tmp130__ |= (pSrc->reserved << 2); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp126__, 0); + frameshtons(pCtx, pBuf, tmp130__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -22578,11 +22604,11 @@ uint32_t dot11f_pack_ie_rrm_enabled_cap(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp127__; - uint8_t tmp128__; - uint8_t tmp129__; - uint8_t tmp130__; uint8_t tmp131__; + uint8_t tmp132__; + uint8_t tmp133__; + uint8_t tmp134__; + uint8_t tmp135__; nNeeded += 5; while (pSrc->present) { if (nNeeded > nBuf) @@ -22591,75 +22617,75 @@ uint32_t dot11f_pack_ie_rrm_enabled_cap(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp127__ = 0U; - tmp127__ |= (pSrc->LinkMeasurement << 0); - tmp127__ |= (pSrc->NeighborRpt << 1); - tmp127__ |= (pSrc->parallel << 2); - tmp127__ |= (pSrc->repeated << 3); - tmp127__ |= (pSrc->BeaconPassive << 4); - tmp127__ |= (pSrc->BeaconActive << 5); - tmp127__ |= (pSrc->BeaconTable << 6); - tmp127__ |= (pSrc->BeaconRepCond << 7); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp127__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - tmp128__ = 0U; - tmp128__ |= (pSrc->FrameMeasurement << 0); - tmp128__ |= (pSrc->ChannelLoad << 1); - tmp128__ |= (pSrc->NoiseHistogram << 2); - tmp128__ |= (pSrc->statistics << 3); - tmp128__ |= (pSrc->LCIMeasurement << 4); - tmp128__ |= (pSrc->LCIAzimuth << 5); - tmp128__ |= (pSrc->TCMCapability << 6); - tmp128__ |= (pSrc->triggeredTCM << 7); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp128__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - tmp129__ = 0U; - tmp129__ |= (pSrc->APChanReport << 0); - tmp129__ |= (pSrc->RRMMIBEnabled << 1); - tmp129__ |= (pSrc->operatingChanMax << 2); - tmp129__ |= (pSrc->nonOperatinChanMax << 5); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp129__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - tmp130__ = 0U; - tmp130__ |= (pSrc->MeasurementPilot << 0); - tmp130__ |= (pSrc->MeasurementPilotEnabled << 3); - tmp130__ |= (pSrc->NeighborTSFOffset << 4); - tmp130__ |= (pSrc->RCPIMeasurement << 5); - tmp130__ |= (pSrc->RSNIMeasurement << 6); - tmp130__ |= (pSrc->BssAvgAccessDelay << 7); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp130__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; tmp131__ = 0U; - tmp131__ |= (pSrc->BSSAvailAdmission << 0); - tmp131__ |= (pSrc->AntennaInformation << 1); - tmp131__ |= (pSrc->fine_time_meas_rpt << 2); - tmp131__ |= (pSrc->lci_capability << 3); - tmp131__ |= (pSrc->reserved << 4); + tmp131__ |= (pSrc->LinkMeasurement << 0); + tmp131__ |= (pSrc->NeighborRpt << 1); + tmp131__ |= (pSrc->parallel << 2); + tmp131__ |= (pSrc->repeated << 3); + tmp131__ |= (pSrc->BeaconPassive << 4); + tmp131__ |= (pSrc->BeaconActive << 5); + tmp131__ |= (pSrc->BeaconTable << 6); + tmp131__ |= (pSrc->BeaconRepCond << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; *pBuf = tmp131__; *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + tmp132__ = 0U; + tmp132__ |= (pSrc->FrameMeasurement << 0); + tmp132__ |= (pSrc->ChannelLoad << 1); + tmp132__ |= (pSrc->NoiseHistogram << 2); + tmp132__ |= (pSrc->statistics << 3); + tmp132__ |= (pSrc->LCIMeasurement << 4); + tmp132__ |= (pSrc->LCIAzimuth << 5); + tmp132__ |= (pSrc->TCMCapability << 6); + tmp132__ |= (pSrc->triggeredTCM << 7); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp132__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + tmp133__ = 0U; + tmp133__ |= (pSrc->APChanReport << 0); + tmp133__ |= (pSrc->RRMMIBEnabled << 1); + tmp133__ |= (pSrc->operatingChanMax << 2); + tmp133__ |= (pSrc->nonOperatinChanMax << 5); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp133__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + tmp134__ = 0U; + tmp134__ |= (pSrc->MeasurementPilot << 0); + tmp134__ |= (pSrc->MeasurementPilotEnabled << 3); + tmp134__ |= (pSrc->NeighborTSFOffset << 4); + tmp134__ |= (pSrc->RCPIMeasurement << 5); + tmp134__ |= (pSrc->RSNIMeasurement << 6); + tmp134__ |= (pSrc->BssAvgAccessDelay << 7); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp134__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + tmp135__ = 0U; + tmp135__ |= (pSrc->BSSAvailAdmission << 0); + tmp135__ |= (pSrc->AntennaInformation << 1); + tmp135__ |= (pSrc->fine_time_meas_rpt << 2); + tmp135__ |= (pSrc->lci_capability << 3); + tmp135__ |= (pSrc->reserved << 4); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp135__; + *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; break; @@ -22738,7 +22764,7 @@ uint32_t dot11f_pack_ie_schedule(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp132__; + uint16_t tmp136__; nNeeded += 14; while (pSrc->present) { if (nNeeded > nBuf) @@ -22747,15 +22773,15 @@ uint32_t dot11f_pack_ie_schedule(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp132__ = 0U; - tmp132__ |= (pSrc->aggregation << 0); - tmp132__ |= (pSrc->tsid << 1); - tmp132__ |= (pSrc->direction << 5); - tmp132__ |= (pSrc->reserved << 7); + tmp136__ = 0U; + tmp136__ |= (pSrc->aggregation << 0); + tmp136__ |= (pSrc->tsid << 1); + tmp136__ |= (pSrc->direction << 5); + tmp136__ |= (pSrc->reserved << 7); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp132__, 0); + frameshtons(pCtx, pBuf, tmp136__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -22982,9 +23008,9 @@ uint32_t dot11f_pack_ie_tspec(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp133__; - uint8_t tmp134__; - uint16_t tmp135__; + uint16_t tmp137__; + uint8_t tmp138__; + uint16_t tmp139__; nNeeded += 55; while (pSrc->present) { if (nNeeded > nBuf) @@ -22993,39 +23019,39 @@ uint32_t dot11f_pack_ie_tspec(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp133__ = 0U; - tmp133__ |= (pSrc->traffic_type << 0); - tmp133__ |= (pSrc->tsid << 1); - tmp133__ |= (pSrc->direction << 5); - tmp133__ |= (pSrc->access_policy << 7); - tmp133__ |= (pSrc->aggregation << 9); - tmp133__ |= (pSrc->psb << 10); - tmp133__ |= (pSrc->user_priority << 11); - tmp133__ |= (pSrc->tsinfo_ack_pol << 14); + tmp137__ = 0U; + tmp137__ |= (pSrc->traffic_type << 0); + tmp137__ |= (pSrc->tsid << 1); + tmp137__ |= (pSrc->direction << 5); + tmp137__ |= (pSrc->access_policy << 7); + tmp137__ |= (pSrc->aggregation << 9); + tmp137__ |= (pSrc->psb << 10); + tmp137__ |= (pSrc->user_priority << 11); + tmp137__ |= (pSrc->tsinfo_ack_pol << 14); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp133__, 0); + frameshtons(pCtx, pBuf, tmp137__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp134__ = 0U; - tmp134__ |= (pSrc->schedule << 0); - tmp134__ |= (pSrc->unused << 1); + tmp138__ = 0U; + tmp138__ |= (pSrc->schedule << 0); + tmp138__ |= (pSrc->unused << 1); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp134__; + *pBuf = tmp138__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp135__ = 0U; - tmp135__ |= (pSrc->size << 0); - tmp135__ |= (pSrc->fixed << 15); + tmp139__ = 0U; + tmp139__ |= (pSrc->size << 0); + tmp139__ |= (pSrc->fixed << 15); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp135__, 0); + frameshtons(pCtx, pBuf, tmp139__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -23089,9 +23115,9 @@ uint32_t dot11f_pack_ie_vht_caps(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint32_t tmp136__; - uint16_t tmp137__; - uint16_t tmp138__; + uint32_t tmp140__; + uint16_t tmp141__; + uint16_t tmp142__; nNeeded += 12; while (pSrc->present) { if (nNeeded > nBuf) @@ -23100,58 +23126,58 @@ uint32_t dot11f_pack_ie_vht_caps(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp136__ = 0U; - tmp136__ |= (pSrc->maxMPDULen << 0); - tmp136__ |= (pSrc->supportedChannelWidthSet << 2); - tmp136__ |= (pSrc->ldpcCodingCap << 4); - tmp136__ |= (pSrc->shortGI80MHz << 5); - tmp136__ |= (pSrc->shortGI160and80plus80MHz << 6); - tmp136__ |= (pSrc->txSTBC << 7); - tmp136__ |= (pSrc->rxSTBC << 8); - tmp136__ |= (pSrc->suBeamFormerCap << 11); - tmp136__ |= (pSrc->suBeamformeeCap << 12); - tmp136__ |= (pSrc->csnofBeamformerAntSup << 13); - tmp136__ |= (pSrc->numSoundingDim << 16); - tmp136__ |= (pSrc->muBeamformerCap << 19); - tmp136__ |= (pSrc->muBeamformeeCap << 20); - tmp136__ |= (pSrc->vhtTXOPPS << 21); - tmp136__ |= (pSrc->htcVHTCap << 22); - tmp136__ |= (pSrc->maxAMPDULenExp << 23); - tmp136__ |= (pSrc->vhtLinkAdaptCap << 26); - tmp136__ |= (pSrc->rxAntPattern << 28); - tmp136__ |= (pSrc->txAntPattern << 29); - tmp136__ |= (pSrc->extended_nss_bw_supp << 30); + tmp140__ = 0U; + tmp140__ |= (pSrc->maxMPDULen << 0); + tmp140__ |= (pSrc->supportedChannelWidthSet << 2); + tmp140__ |= (pSrc->ldpcCodingCap << 4); + tmp140__ |= (pSrc->shortGI80MHz << 5); + tmp140__ |= (pSrc->shortGI160and80plus80MHz << 6); + tmp140__ |= (pSrc->txSTBC << 7); + tmp140__ |= (pSrc->rxSTBC << 8); + tmp140__ |= (pSrc->suBeamFormerCap << 11); + tmp140__ |= (pSrc->suBeamformeeCap << 12); + tmp140__ |= (pSrc->csnofBeamformerAntSup << 13); + tmp140__ |= (pSrc->numSoundingDim << 16); + tmp140__ |= (pSrc->muBeamformerCap << 19); + tmp140__ |= (pSrc->muBeamformeeCap << 20); + tmp140__ |= (pSrc->vhtTXOPPS << 21); + tmp140__ |= (pSrc->htcVHTCap << 22); + tmp140__ |= (pSrc->maxAMPDULenExp << 23); + tmp140__ |= (pSrc->vhtLinkAdaptCap << 26); + tmp140__ |= (pSrc->rxAntPattern << 28); + tmp140__ |= (pSrc->txAntPattern << 29); + tmp140__ |= (pSrc->extended_nss_bw_supp << 30); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp136__, 0); + frameshtonl(pCtx, pBuf, tmp140__, 0); *pnConsumed += 4; pBuf += 4; nBuf -= 4 ; frameshtons(pCtx, pBuf, pSrc->rxMCSMap, 0); *pnConsumed += 2; pBuf += 2; - tmp137__ = 0U; - tmp137__ |= (pSrc->rxHighSupDataRate << 0); - tmp137__ |= (pSrc->max_nsts_total << 13); + tmp141__ = 0U; + tmp141__ |= (pSrc->rxHighSupDataRate << 0); + tmp141__ |= (pSrc->max_nsts_total << 13); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp137__, 0); + frameshtons(pCtx, pBuf, tmp141__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; frameshtons(pCtx, pBuf, pSrc->txMCSMap, 0); *pnConsumed += 2; pBuf += 2; - tmp138__ = 0U; - tmp138__ |= (pSrc->txSupDataRate << 0); - tmp138__ |= (pSrc->vht_extended_nss_bw_cap << 13); - tmp138__ |= (pSrc->reserved << 14); + tmp142__ = 0U; + tmp142__ |= (pSrc->txSupDataRate << 0); + tmp142__ |= (pSrc->vht_extended_nss_bw_cap << 13); + tmp142__ |= (pSrc->reserved << 14); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp138__, 0); + frameshtons(pCtx, pBuf, tmp142__, 0); *pnConsumed += 2; /* fieldsEndFlag = 1 */ nBuf -= 2 ; @@ -23211,7 +23237,7 @@ uint32_t dot11f_pack_ie_wmm_schedule(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp139__; + uint16_t tmp143__; nNeeded += 15; while (pSrc->present) { if (nNeeded > nBuf) @@ -23233,15 +23259,15 @@ uint32_t dot11f_pack_ie_wmm_schedule(tpAniSirGlobal pCtx, *pBuf = pSrc->version; *pnConsumed += 1; pBuf += 1; - tmp139__ = 0U; - tmp139__ |= (pSrc->aggregation << 0); - tmp139__ |= (pSrc->tsid << 1); - tmp139__ |= (pSrc->direction << 5); - tmp139__ |= (pSrc->reserved << 7); + tmp143__ = 0U; + tmp143__ |= (pSrc->aggregation << 0); + tmp143__ |= (pSrc->tsid << 1); + tmp143__ |= (pSrc->direction << 5); + tmp143__ |= (pSrc->reserved << 7); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp139__, 0); + frameshtons(pCtx, pBuf, tmp143__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -23475,9 +23501,9 @@ uint32_t dot11f_pack_ie_wmmtspec(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp140__; - uint8_t tmp141__; - uint16_t tmp142__; + uint16_t tmp144__; + uint8_t tmp145__; + uint16_t tmp146__; nNeeded += 38; while (pSrc->present) { if (nNeeded > nBuf) @@ -23499,39 +23525,39 @@ uint32_t dot11f_pack_ie_wmmtspec(tpAniSirGlobal pCtx, *pBuf = pSrc->version; *pnConsumed += 1; pBuf += 1; - tmp140__ = 0U; - tmp140__ |= (pSrc->traffic_type << 0); - tmp140__ |= (pSrc->tsid << 1); - tmp140__ |= (pSrc->direction << 5); - tmp140__ |= (pSrc->access_policy << 7); - tmp140__ |= (pSrc->aggregation << 9); - tmp140__ |= (pSrc->psb << 10); - tmp140__ |= (pSrc->user_priority << 11); - tmp140__ |= (pSrc->tsinfo_ack_pol << 14); + tmp144__ = 0U; + tmp144__ |= (pSrc->traffic_type << 0); + tmp144__ |= (pSrc->tsid << 1); + tmp144__ |= (pSrc->direction << 5); + tmp144__ |= (pSrc->access_policy << 7); + tmp144__ |= (pSrc->aggregation << 9); + tmp144__ |= (pSrc->psb << 10); + tmp144__ |= (pSrc->user_priority << 11); + tmp144__ |= (pSrc->tsinfo_ack_pol << 14); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp140__, 0); + frameshtons(pCtx, pBuf, tmp144__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp141__ = 0U; - tmp141__ |= (pSrc->tsinfo_rsvd << 0); - tmp141__ |= (pSrc->burst_size_defn << 7); + tmp145__ = 0U; + tmp145__ |= (pSrc->tsinfo_rsvd << 0); + tmp145__ |= (pSrc->burst_size_defn << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp141__; + *pBuf = tmp145__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp142__ = 0U; - tmp142__ |= (pSrc->size << 0); - tmp142__ |= (pSrc->fixed << 15); + tmp146__ = 0U; + tmp146__ |= (pSrc->size << 0); + tmp146__ |= (pSrc->fixed << 15); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp142__, 0); + frameshtons(pCtx, pBuf, tmp146__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -23659,7 +23685,7 @@ uint32_t dot11f_pack_ie_beacon_report_frm_body_fragment_id(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp143__; + uint16_t tmp147__; nNeeded += 2; while (pSrc->present) { if (nNeeded > nBuf) @@ -23668,14 +23694,14 @@ uint32_t dot11f_pack_ie_beacon_report_frm_body_fragment_id(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp143__ = 0U; - tmp143__ |= (pSrc->beacon_report_id << 0); - tmp143__ |= (pSrc->fragment_id_number << 8); - tmp143__ |= (pSrc->more_fragments << 15); + tmp147__ = 0U; + tmp147__ |= (pSrc->beacon_report_id << 0); + tmp147__ |= (pSrc->fragment_id_number << 8); + tmp147__ |= (pSrc->more_fragments << 15); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp143__, 0); + frameshtons(pCtx, pBuf, tmp147__, 0); *pnConsumed += 2; /* fieldsEndFlag = 1 */ nBuf -= 2 ; @@ -23784,8 +23810,8 @@ uint32_t dot11f_pack_ie_neighbor_rpt(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp144__; - uint8_t tmp145__; + uint8_t tmp148__; + uint8_t tmp149__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_neighbor_rpt(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -23800,30 +23826,30 @@ uint32_t dot11f_pack_ie_neighbor_rpt(tpAniSirGlobal pCtx, DOT11F_MEMCPY(pCtx, pBuf, pSrc->bssid, 6); *pnConsumed += 6; pBuf += 6; - tmp144__ = 0U; - tmp144__ |= (pSrc->APReachability << 0); - tmp144__ |= (pSrc->Security << 2); - tmp144__ |= (pSrc->KeyScope << 3); - tmp144__ |= (pSrc->SpecMgmtCap << 4); - tmp144__ |= (pSrc->QosCap << 5); - tmp144__ |= (pSrc->apsd << 6); - tmp144__ |= (pSrc->rrm << 7); + tmp148__ = 0U; + tmp148__ |= (pSrc->APReachability << 0); + tmp148__ |= (pSrc->Security << 2); + tmp148__ |= (pSrc->KeyScope << 3); + tmp148__ |= (pSrc->SpecMgmtCap << 4); + tmp148__ |= (pSrc->QosCap << 5); + tmp148__ |= (pSrc->apsd << 6); + tmp148__ |= (pSrc->rrm << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp144__; + *pBuf = tmp148__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp145__ = 0U; - tmp145__ |= (pSrc->DelayedBA << 0); - tmp145__ |= (pSrc->ImmBA << 1); - tmp145__ |= (pSrc->MobilityDomain << 2); - tmp145__ |= (pSrc->reserved << 3); + tmp149__ = 0U; + tmp149__ |= (pSrc->DelayedBA << 0); + tmp149__ |= (pSrc->ImmBA << 1); + tmp149__ |= (pSrc->MobilityDomain << 2); + tmp149__ |= (pSrc->reserved << 3); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp145__; + *pBuf = tmp149__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -23995,7 +24021,7 @@ uint32_t dot11f_pack_ie_transmit_power_env(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp146__; + uint8_t tmp150__; nNeeded += (pSrc->num_tx_power + 1); while (pSrc->present) { if (nNeeded > nBuf) @@ -24004,14 +24030,14 @@ uint32_t dot11f_pack_ie_transmit_power_env(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp146__ = 0U; - tmp146__ |= (pSrc->max_tx_pwr_count << 0); - tmp146__ |= (pSrc->max_tx_pwr_interpret << 3); - tmp146__ |= (pSrc->max_tx_pwr_category << 6); + tmp150__ = 0U; + tmp150__ |= (pSrc->max_tx_pwr_count << 0); + tmp150__ |= (pSrc->max_tx_pwr_interpret << 3); + tmp150__ |= (pSrc->max_tx_pwr_category << 6); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp146__; + *pBuf = tmp150__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -24274,14 +24300,14 @@ uint32_t dot11f_pack_ie_edca_param_set(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp147__; - uint8_t tmp148__; - uint8_t tmp149__; - uint8_t tmp150__; uint8_t tmp151__; uint8_t tmp152__; uint8_t tmp153__; uint8_t tmp154__; + uint8_t tmp155__; + uint8_t tmp156__; + uint8_t tmp157__; + uint8_t tmp158__; nNeeded += 18; while (pSrc->present) { if (nNeeded > nBuf) @@ -24296,61 +24322,11 @@ uint32_t dot11f_pack_ie_edca_param_set(tpAniSirGlobal pCtx, *pBuf = pSrc->reserved; *pnConsumed += 1; pBuf += 1; - tmp147__ = 0U; - tmp147__ |= (pSrc->acbe_aifsn << 0); - tmp147__ |= (pSrc->acbe_acm << 4); - tmp147__ |= (pSrc->acbe_aci << 5); - tmp147__ |= (pSrc->unused1 << 7); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp147__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - tmp148__ = 0U; - tmp148__ |= (pSrc->acbe_acwmin << 0); - tmp148__ |= (pSrc->acbe_acwmax << 4); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp148__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - frameshtons(pCtx, pBuf, pSrc->acbe_txoplimit, 0); - *pnConsumed += 2; - pBuf += 2; - tmp149__ = 0U; - tmp149__ |= (pSrc->acbk_aifsn << 0); - tmp149__ |= (pSrc->acbk_acm << 4); - tmp149__ |= (pSrc->acbk_aci << 5); - tmp149__ |= (pSrc->unused2 << 7); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp149__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - tmp150__ = 0U; - tmp150__ |= (pSrc->acbk_acwmin << 0); - tmp150__ |= (pSrc->acbk_acwmax << 4); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp150__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - frameshtons(pCtx, pBuf, pSrc->acbk_txoplimit, 0); - *pnConsumed += 2; - pBuf += 2; tmp151__ = 0U; - tmp151__ |= (pSrc->acvi_aifsn << 0); - tmp151__ |= (pSrc->acvi_acm << 4); - tmp151__ |= (pSrc->acvi_aci << 5); - tmp151__ |= (pSrc->unused3 << 7); + tmp151__ |= (pSrc->acbe_aifsn << 0); + tmp151__ |= (pSrc->acbe_acm << 4); + tmp151__ |= (pSrc->acbe_aci << 5); + tmp151__ |= (pSrc->unused1 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; @@ -24359,8 +24335,8 @@ uint32_t dot11f_pack_ie_edca_param_set(tpAniSirGlobal pCtx, pBuf += 1; nBuf -= 1 ; tmp152__ = 0U; - tmp152__ |= (pSrc->acvi_acwmin << 0); - tmp152__ |= (pSrc->acvi_acwmax << 4); + tmp152__ |= (pSrc->acbe_acwmin << 0); + tmp152__ |= (pSrc->acbe_acwmax << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; @@ -24368,14 +24344,14 @@ uint32_t dot11f_pack_ie_edca_param_set(tpAniSirGlobal pCtx, *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - frameshtons(pCtx, pBuf, pSrc->acvi_txoplimit, 0); + frameshtons(pCtx, pBuf, pSrc->acbe_txoplimit, 0); *pnConsumed += 2; pBuf += 2; tmp153__ = 0U; - tmp153__ |= (pSrc->acvo_aifsn << 0); - tmp153__ |= (pSrc->acvo_acm << 4); - tmp153__ |= (pSrc->acvo_aci << 5); - tmp153__ |= (pSrc->unused4 << 7); + tmp153__ |= (pSrc->acbk_aifsn << 0); + tmp153__ |= (pSrc->acbk_acm << 4); + tmp153__ |= (pSrc->acbk_aci << 5); + tmp153__ |= (pSrc->unused2 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; @@ -24384,8 +24360,8 @@ uint32_t dot11f_pack_ie_edca_param_set(tpAniSirGlobal pCtx, pBuf += 1; nBuf -= 1 ; tmp154__ = 0U; - tmp154__ |= (pSrc->acvo_acwmin << 0); - tmp154__ |= (pSrc->acvo_acwmax << 4); + tmp154__ |= (pSrc->acbk_acwmin << 0); + tmp154__ |= (pSrc->acbk_acwmax << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; @@ -24393,6 +24369,56 @@ uint32_t dot11f_pack_ie_edca_param_set(tpAniSirGlobal pCtx, *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; + frameshtons(pCtx, pBuf, pSrc->acbk_txoplimit, 0); + *pnConsumed += 2; + pBuf += 2; + tmp155__ = 0U; + tmp155__ |= (pSrc->acvi_aifsn << 0); + tmp155__ |= (pSrc->acvi_acm << 4); + tmp155__ |= (pSrc->acvi_aci << 5); + tmp155__ |= (pSrc->unused3 << 7); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp155__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + tmp156__ = 0U; + tmp156__ |= (pSrc->acvi_acwmin << 0); + tmp156__ |= (pSrc->acvi_acwmax << 4); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp156__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + frameshtons(pCtx, pBuf, pSrc->acvi_txoplimit, 0); + *pnConsumed += 2; + pBuf += 2; + tmp157__ = 0U; + tmp157__ |= (pSrc->acvo_aifsn << 0); + tmp157__ |= (pSrc->acvo_acm << 4); + tmp157__ |= (pSrc->acvo_aci << 5); + tmp157__ |= (pSrc->unused4 << 7); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp157__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + tmp158__ = 0U; + tmp158__ |= (pSrc->acvo_acwmin << 0); + tmp158__ |= (pSrc->acvo_acwmax << 4); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp158__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; frameshtons(pCtx, pBuf, pSrc->acvo_txoplimit, 0); *pnConsumed += 2; /* fieldsEndFlag = 1 */ @@ -24414,7 +24440,7 @@ uint32_t dot11f_pack_ie_erp_info(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp155__; + uint8_t tmp159__; nNeeded += 1; while (pSrc->present) { if (nNeeded > nBuf) @@ -24423,15 +24449,15 @@ uint32_t dot11f_pack_ie_erp_info(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp155__ = 0U; - tmp155__ |= (pSrc->non_erp_present << 0); - tmp155__ |= (pSrc->use_prot << 1); - tmp155__ |= (pSrc->barker_preamble << 2); - tmp155__ |= (pSrc->unused << 3); + tmp159__ = 0U; + tmp159__ |= (pSrc->non_erp_present << 0); + tmp159__ |= (pSrc->use_prot << 1); + tmp159__ |= (pSrc->barker_preamble << 2); + tmp159__ |= (pSrc->unused << 3); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp155__; + *pBuf = tmp159__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -24490,7 +24516,7 @@ uint32_t dot11f_pack_ie_ese_rad_mgmt_cap(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp156__; + uint8_t tmp160__; nNeeded += 2; while (pSrc->present) { if (nNeeded > nBuf) @@ -24510,13 +24536,13 @@ uint32_t dot11f_pack_ie_ese_rad_mgmt_cap(tpAniSirGlobal pCtx, *pBuf = pSrc->mgmt_state; *pnConsumed += 1; pBuf += 1; - tmp156__ = 0U; - tmp156__ |= (pSrc->mbssid_mask << 0); - tmp156__ |= (pSrc->reserved << 3); + tmp160__ = 0U; + tmp160__ |= (pSrc->mbssid_mask << 0); + tmp160__ |= (pSrc->reserved << 3); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp156__; + *pBuf = tmp160__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -24867,7 +24893,7 @@ uint32_t dot11f_pack_ie_ft_info(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp157__; + uint16_t tmp161__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ieft_info(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -24879,13 +24905,13 @@ uint32_t dot11f_pack_ie_ft_info(tpAniSirGlobal pCtx, ++pBuf; --nBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; --nBuf; ++(*pnConsumed); - tmp157__ = 0U; - tmp157__ |= (pSrc->reserved << 0); - tmp157__ |= (pSrc->IECount << 8); + tmp161__ = 0U; + tmp161__ |= (pSrc->reserved << 0); + tmp161__ |= (pSrc->IECount << 8); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp157__, 0); + frameshtons(pCtx, pBuf, tmp161__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -24923,11 +24949,11 @@ uint32_t dot11f_pack_ie_ht_caps(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp158__; - uint8_t tmp159__; - uint16_t tmp160__; - uint32_t tmp161__; - uint8_t tmp162__; + uint16_t tmp162__; + uint8_t tmp163__; + uint16_t tmp164__; + uint32_t tmp165__; + uint8_t tmp166__; nNeeded += (pSrc->num_rsvd + 26); while (pSrc->present) { if (nNeeded > nBuf) @@ -24936,92 +24962,92 @@ uint32_t dot11f_pack_ie_ht_caps(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp158__ = 0U; - tmp158__ |= (pSrc->advCodingCap << 0); - tmp158__ |= (pSrc->supportedChannelWidthSet << 1); - tmp158__ |= (pSrc->mimoPowerSave << 2); - tmp158__ |= (pSrc->greenField << 4); - tmp158__ |= (pSrc->shortGI20MHz << 5); - tmp158__ |= (pSrc->shortGI40MHz << 6); - tmp158__ |= (pSrc->txSTBC << 7); - tmp158__ |= (pSrc->rxSTBC << 8); - tmp158__ |= (pSrc->delayedBA << 10); - tmp158__ |= (pSrc->maximalAMSDUsize << 11); - tmp158__ |= (pSrc->dsssCckMode40MHz << 12); - tmp158__ |= (pSrc->psmp << 13); - tmp158__ |= (pSrc->stbcControlFrame << 14); - tmp158__ |= (pSrc->lsigTXOPProtection << 15); + tmp162__ = 0U; + tmp162__ |= (pSrc->advCodingCap << 0); + tmp162__ |= (pSrc->supportedChannelWidthSet << 1); + tmp162__ |= (pSrc->mimoPowerSave << 2); + tmp162__ |= (pSrc->greenField << 4); + tmp162__ |= (pSrc->shortGI20MHz << 5); + tmp162__ |= (pSrc->shortGI40MHz << 6); + tmp162__ |= (pSrc->txSTBC << 7); + tmp162__ |= (pSrc->rxSTBC << 8); + tmp162__ |= (pSrc->delayedBA << 10); + tmp162__ |= (pSrc->maximalAMSDUsize << 11); + tmp162__ |= (pSrc->dsssCckMode40MHz << 12); + tmp162__ |= (pSrc->psmp << 13); + tmp162__ |= (pSrc->stbcControlFrame << 14); + tmp162__ |= (pSrc->lsigTXOPProtection << 15); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp158__, 0); + frameshtons(pCtx, pBuf, tmp162__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp159__ = 0U; - tmp159__ |= (pSrc->maxRxAMPDUFactor << 0); - tmp159__ |= (pSrc->mpduDensity << 2); - tmp159__ |= (pSrc->reserved1 << 5); + tmp163__ = 0U; + tmp163__ |= (pSrc->maxRxAMPDUFactor << 0); + tmp163__ |= (pSrc->mpduDensity << 2); + tmp163__ |= (pSrc->reserved1 << 5); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp159__; + *pBuf = tmp163__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; DOT11F_MEMCPY(pCtx, pBuf, pSrc->supportedMCSSet, 16); *pnConsumed += 16; pBuf += 16; - tmp160__ = 0U; - tmp160__ |= (pSrc->pco << 0); - tmp160__ |= (pSrc->transitionTime << 1); - tmp160__ |= (pSrc->reserved2 << 3); - tmp160__ |= (pSrc->mcsFeedback << 8); - tmp160__ |= (pSrc->reserved3 << 10); + tmp164__ = 0U; + tmp164__ |= (pSrc->pco << 0); + tmp164__ |= (pSrc->transitionTime << 1); + tmp164__ |= (pSrc->reserved2 << 3); + tmp164__ |= (pSrc->mcsFeedback << 8); + tmp164__ |= (pSrc->reserved3 << 10); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp160__, 0); + frameshtons(pCtx, pBuf, tmp164__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp161__ = 0U; - tmp161__ |= (pSrc->txBF << 0); - tmp161__ |= (pSrc->rxStaggeredSounding << 1); - tmp161__ |= (pSrc->txStaggeredSounding << 2); - tmp161__ |= (pSrc->rxZLF << 3); - tmp161__ |= (pSrc->txZLF << 4); - tmp161__ |= (pSrc->implicitTxBF << 5); - tmp161__ |= (pSrc->calibration << 6); - tmp161__ |= (pSrc->explicitCSITxBF << 8); - tmp161__ |= (pSrc->explicitUncompressedSteeringMatrix << 9); - tmp161__ |= (pSrc->explicitBFCSIFeedback << 10); - tmp161__ |= (pSrc->explicitUncompressedSteeringMatrixFeedback << 13); - tmp161__ |= (pSrc->explicitCompressedSteeringMatrixFeedback << 16); - tmp161__ |= (pSrc->csiNumBFAntennae << 19); - tmp161__ |= (pSrc->uncompressedSteeringMatrixBFAntennae << 21); - tmp161__ |= (pSrc->compressedSteeringMatrixBFAntennae << 23); - tmp161__ |= (pSrc->reserved4 << 25); + tmp165__ = 0U; + tmp165__ |= (pSrc->txBF << 0); + tmp165__ |= (pSrc->rxStaggeredSounding << 1); + tmp165__ |= (pSrc->txStaggeredSounding << 2); + tmp165__ |= (pSrc->rxZLF << 3); + tmp165__ |= (pSrc->txZLF << 4); + tmp165__ |= (pSrc->implicitTxBF << 5); + tmp165__ |= (pSrc->calibration << 6); + tmp165__ |= (pSrc->explicitCSITxBF << 8); + tmp165__ |= (pSrc->explicitUncompressedSteeringMatrix << 9); + tmp165__ |= (pSrc->explicitBFCSIFeedback << 10); + tmp165__ |= (pSrc->explicitUncompressedSteeringMatrixFeedback << 13); + tmp165__ |= (pSrc->explicitCompressedSteeringMatrixFeedback << 16); + tmp165__ |= (pSrc->csiNumBFAntennae << 19); + tmp165__ |= (pSrc->uncompressedSteeringMatrixBFAntennae << 21); + tmp165__ |= (pSrc->compressedSteeringMatrixBFAntennae << 23); + tmp165__ |= (pSrc->reserved4 << 25); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp161__, 0); + frameshtonl(pCtx, pBuf, tmp165__, 0); *pnConsumed += 4; pBuf += 4; nBuf -= 4 ; - tmp162__ = 0U; - tmp162__ |= (pSrc->antennaSelection << 0); - tmp162__ |= (pSrc->explicitCSIFeedbackTx << 1); - tmp162__ |= (pSrc->antennaIndicesFeedbackTx << 2); - tmp162__ |= (pSrc->explicitCSIFeedback << 3); - tmp162__ |= (pSrc->antennaIndicesFeedback << 4); - tmp162__ |= (pSrc->rxAS << 5); - tmp162__ |= (pSrc->txSoundingPPDUs << 6); - tmp162__ |= (pSrc->reserved5 << 7); + tmp166__ = 0U; + tmp166__ |= (pSrc->antennaSelection << 0); + tmp166__ |= (pSrc->explicitCSIFeedbackTx << 1); + tmp166__ |= (pSrc->antennaIndicesFeedbackTx << 2); + tmp166__ |= (pSrc->explicitCSIFeedback << 3); + tmp166__ |= (pSrc->antennaIndicesFeedback << 4); + tmp166__ |= (pSrc->rxAS << 5); + tmp166__ |= (pSrc->txSoundingPPDUs << 6); + tmp166__ |= (pSrc->reserved5 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp162__; + *pBuf = tmp166__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -25046,9 +25072,9 @@ uint32_t dot11f_pack_ie_ht_info(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp163__; - uint16_t tmp164__; - uint16_t tmp165__; + uint8_t tmp167__; + uint16_t tmp168__; + uint16_t tmp169__; nNeeded += (pSrc->num_rsvd + 22); while (pSrc->present) { if (nNeeded > nBuf) @@ -25060,45 +25086,45 @@ uint32_t dot11f_pack_ie_ht_info(tpAniSirGlobal pCtx, *pBuf = pSrc->primaryChannel; *pnConsumed += 1; pBuf += 1; - tmp163__ = 0U; - tmp163__ |= (pSrc->secondaryChannelOffset << 0); - tmp163__ |= (pSrc->recommendedTxWidthSet << 2); - tmp163__ |= (pSrc->rifsMode << 3); - tmp163__ |= (pSrc->controlledAccessOnly << 4); - tmp163__ |= (pSrc->serviceIntervalGranularity << 5); + tmp167__ = 0U; + tmp167__ |= (pSrc->secondaryChannelOffset << 0); + tmp167__ |= (pSrc->recommendedTxWidthSet << 2); + tmp167__ |= (pSrc->rifsMode << 3); + tmp167__ |= (pSrc->controlledAccessOnly << 4); + tmp167__ |= (pSrc->serviceIntervalGranularity << 5); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp163__; + *pBuf = tmp167__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp164__ = 0U; - tmp164__ |= (pSrc->opMode << 0); - tmp164__ |= (pSrc->nonGFDevicesPresent << 2); - tmp164__ |= (pSrc->transmitBurstLimit << 3); - tmp164__ |= (pSrc->obssNonHTStaPresent << 4); - tmp164__ |= (pSrc->chan_center_freq_seg2 << 5); - tmp164__ |= (pSrc->reserved << 13); + tmp168__ = 0U; + tmp168__ |= (pSrc->opMode << 0); + tmp168__ |= (pSrc->nonGFDevicesPresent << 2); + tmp168__ |= (pSrc->transmitBurstLimit << 3); + tmp168__ |= (pSrc->obssNonHTStaPresent << 4); + tmp168__ |= (pSrc->chan_center_freq_seg2 << 5); + tmp168__ |= (pSrc->reserved << 13); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp164__, 0); + frameshtons(pCtx, pBuf, tmp168__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp165__ = 0U; - tmp165__ |= (pSrc->basicSTBCMCS << 0); - tmp165__ |= (pSrc->dualCTSProtection << 7); - tmp165__ |= (pSrc->secondaryBeacon << 8); - tmp165__ |= (pSrc->lsigTXOPProtectionFullSupport << 9); - tmp165__ |= (pSrc->pcoActive << 10); - tmp165__ |= (pSrc->pcoPhase << 11); - tmp165__ |= (pSrc->reserved2 << 12); + tmp169__ = 0U; + tmp169__ |= (pSrc->basicSTBCMCS << 0); + tmp169__ |= (pSrc->dualCTSProtection << 7); + tmp169__ |= (pSrc->secondaryBeacon << 8); + tmp169__ |= (pSrc->lsigTXOPProtectionFullSupport << 9); + tmp169__ |= (pSrc->pcoActive << 10); + tmp169__ |= (pSrc->pcoPhase << 11); + tmp169__ |= (pSrc->reserved2 << 12); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp165__, 0); + frameshtons(pCtx, pBuf, tmp169__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -25209,9 +25235,9 @@ uint32_t dot11f_pack_ie_measurement_report(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp166__; - uint8_t tmp167__; - uint8_t tmp168__; + uint8_t tmp170__; + uint8_t tmp171__; + uint8_t tmp172__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_measurement_report(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -25226,15 +25252,15 @@ uint32_t dot11f_pack_ie_measurement_report(tpAniSirGlobal pCtx, *pBuf = pSrc->token; *pnConsumed += 1; pBuf += 1; - tmp166__ = 0U; - tmp166__ |= (pSrc->late << 0); - tmp166__ |= (pSrc->incapable << 1); - tmp166__ |= (pSrc->refused << 2); - tmp166__ |= (pSrc->unused << 3); + tmp170__ = 0U; + tmp170__ |= (pSrc->late << 0); + tmp170__ |= (pSrc->incapable << 1); + tmp170__ |= (pSrc->refused << 2); + tmp170__ |= (pSrc->unused << 3); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp166__; + *pBuf = tmp170__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -25253,17 +25279,17 @@ uint32_t dot11f_pack_ie_measurement_report(tpAniSirGlobal pCtx, frameshtons(pCtx, pBuf, pSrc->report.Basic.meas_duration, 0); *pnConsumed += 2; pBuf += 2; - tmp167__ = 0U; - tmp167__ |= (pSrc->report.Basic.bss << 0); - tmp167__ |= (pSrc->report.Basic.ofdm_preamble << 1); - tmp167__ |= (pSrc->report.Basic.unid_signal << 2); - tmp167__ |= (pSrc->report.Basic.rader << 3); - tmp167__ |= (pSrc->report.Basic.unmeasured << 4); - tmp167__ |= (pSrc->report.Basic.unused << 5); + tmp171__ = 0U; + tmp171__ |= (pSrc->report.Basic.bss << 0); + tmp171__ |= (pSrc->report.Basic.ofdm_preamble << 1); + tmp171__ |= (pSrc->report.Basic.unid_signal << 2); + tmp171__ |= (pSrc->report.Basic.rader << 3); + tmp171__ |= (pSrc->report.Basic.unmeasured << 4); + tmp171__ |= (pSrc->report.Basic.unused << 5); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp167__; + *pBuf = tmp171__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -25330,13 +25356,13 @@ uint32_t dot11f_pack_ie_measurement_report(tpAniSirGlobal pCtx, frameshtons(pCtx, pBuf, pSrc->report.Beacon.meas_duration, 0); *pnConsumed += 2; pBuf += 2; - tmp168__ = 0U; - tmp168__ |= (pSrc->report.Beacon.condensed_PHY << 0); - tmp168__ |= (pSrc->report.Beacon.reported_frame_type << 7); + tmp172__ = 0U; + tmp172__ |= (pSrc->report.Beacon.condensed_PHY << 0); + tmp172__ |= (pSrc->report.Beacon.reported_frame_type << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp168__; + *pBuf = tmp172__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -25385,7 +25411,7 @@ uint32_t dot11f_pack_ie_measurement_request(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp169__; + uint8_t tmp173__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_measurement_request(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -25400,17 +25426,17 @@ uint32_t dot11f_pack_ie_measurement_request(tpAniSirGlobal pCtx, *pBuf = pSrc->measurement_token; *pnConsumed += 1; pBuf += 1; - tmp169__ = 0U; - tmp169__ |= (pSrc->parallel << 0); - tmp169__ |= (pSrc->enable << 1); - tmp169__ |= (pSrc->request << 2); - tmp169__ |= (pSrc->report << 3); - tmp169__ |= (pSrc->durationMandatory << 4); - tmp169__ |= (pSrc->unused << 5); + tmp173__ = 0U; + tmp173__ |= (pSrc->parallel << 0); + tmp173__ |= (pSrc->enable << 1); + tmp173__ |= (pSrc->request << 2); + tmp173__ |= (pSrc->report << 3); + tmp173__ |= (pSrc->durationMandatory << 4); + tmp173__ |= (pSrc->unused << 5); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp169__; + *pBuf = tmp173__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -25524,7 +25550,7 @@ uint32_t dot11f_pack_ie_mobility_domain(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp170__; + uint8_t tmp174__; nNeeded += 3; while (pSrc->present) { if (nNeeded > nBuf) @@ -25536,14 +25562,14 @@ uint32_t dot11f_pack_ie_mobility_domain(tpAniSirGlobal pCtx, frameshtons(pCtx, pBuf, pSrc->MDID, 0); *pnConsumed += 2; pBuf += 2; - tmp170__ = 0U; - tmp170__ |= (pSrc->overDSCap << 0); - tmp170__ |= (pSrc->resourceReqCap << 1); - tmp170__ |= (pSrc->reserved << 2); + tmp174__ = 0U; + tmp174__ |= (pSrc->overDSCap << 0); + tmp174__ |= (pSrc->resourceReqCap << 1); + tmp174__ |= (pSrc->reserved << 2); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp170__; + *pBuf = tmp174__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -25565,8 +25591,8 @@ uint32_t dot11f_pack_ie_neighbor_report(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp171__; - uint8_t tmp172__; + uint8_t tmp175__; + uint8_t tmp176__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_neighbor_report(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -25581,30 +25607,30 @@ uint32_t dot11f_pack_ie_neighbor_report(tpAniSirGlobal pCtx, DOT11F_MEMCPY(pCtx, pBuf, pSrc->bssid, 6); *pnConsumed += 6; pBuf += 6; - tmp171__ = 0U; - tmp171__ |= (pSrc->APReachability << 0); - tmp171__ |= (pSrc->Security << 2); - tmp171__ |= (pSrc->KeyScope << 3); - tmp171__ |= (pSrc->SpecMgmtCap << 4); - tmp171__ |= (pSrc->QosCap << 5); - tmp171__ |= (pSrc->apsd << 6); - tmp171__ |= (pSrc->rrm << 7); + tmp175__ = 0U; + tmp175__ |= (pSrc->APReachability << 0); + tmp175__ |= (pSrc->Security << 2); + tmp175__ |= (pSrc->KeyScope << 3); + tmp175__ |= (pSrc->SpecMgmtCap << 4); + tmp175__ |= (pSrc->QosCap << 5); + tmp175__ |= (pSrc->apsd << 6); + tmp175__ |= (pSrc->rrm << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp171__; + *pBuf = tmp175__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp172__ = 0U; - tmp172__ |= (pSrc->DelayedBA << 0); - tmp172__ |= (pSrc->ImmBA << 1); - tmp172__ |= (pSrc->MobilityDomain << 2); - tmp172__ |= (pSrc->reserved << 3); + tmp176__ = 0U; + tmp176__ |= (pSrc->DelayedBA << 0); + tmp176__ |= (pSrc->ImmBA << 1); + tmp176__ |= (pSrc->MobilityDomain << 2); + tmp176__ |= (pSrc->reserved << 3); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp172__; + *pBuf = tmp176__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -25692,7 +25718,7 @@ uint32_t dot11f_pack_ie_operating_mode(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp173__; + uint8_t tmp177__; nNeeded += 1; while (pSrc->present) { if (nNeeded > nBuf) @@ -25701,16 +25727,16 @@ uint32_t dot11f_pack_ie_operating_mode(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp173__ = 0U; - tmp173__ |= (pSrc->chanWidth << 0); - tmp173__ |= (pSrc->vht_160_80p80_supp << 2); - tmp173__ |= (pSrc->no_ldpc << 3); - tmp173__ |= (pSrc->rxNSS << 4); - tmp173__ |= (pSrc->rxNSSType << 7); + tmp177__ = 0U; + tmp177__ |= (pSrc->chanWidth << 0); + tmp177__ |= (pSrc->vht_160_80p80_supp << 2); + tmp177__ |= (pSrc->no_ldpc << 3); + tmp177__ |= (pSrc->rxNSS << 4); + tmp177__ |= (pSrc->rxNSSType << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp173__; + *pBuf = tmp177__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -26185,7 +26211,7 @@ uint32_t dot11f_pack_ie_pu_buffer_status(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp174__; + uint8_t tmp178__; nNeeded += 1; while (pSrc->present) { if (nNeeded > nBuf) @@ -26194,16 +26220,16 @@ uint32_t dot11f_pack_ie_pu_buffer_status(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp174__ = 0U; - tmp174__ |= (pSrc->ac_bk_traffic_aval << 0); - tmp174__ |= (pSrc->ac_be_traffic_aval << 1); - tmp174__ |= (pSrc->ac_vi_traffic_aval << 2); - tmp174__ |= (pSrc->ac_vo_traffic_aval << 3); - tmp174__ |= (pSrc->reserved << 4); + tmp178__ = 0U; + tmp178__ |= (pSrc->ac_bk_traffic_aval << 0); + tmp178__ |= (pSrc->ac_be_traffic_aval << 1); + tmp178__ |= (pSrc->ac_vi_traffic_aval << 2); + tmp178__ |= (pSrc->ac_vo_traffic_aval << 3); + tmp178__ |= (pSrc->reserved << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp174__; + *pBuf = tmp178__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -26359,7 +26385,7 @@ uint32_t dot11f_pack_ie_qos_caps_ap(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp175__; + uint8_t tmp179__; nNeeded += 1; while (pSrc->present) { if (nNeeded > nBuf) @@ -26368,16 +26394,16 @@ uint32_t dot11f_pack_ie_qos_caps_ap(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp175__ = 0U; - tmp175__ |= (pSrc->count << 0); - tmp175__ |= (pSrc->qack << 4); - tmp175__ |= (pSrc->qreq << 5); - tmp175__ |= (pSrc->txopreq << 6); - tmp175__ |= (pSrc->reserved << 7); + tmp179__ = 0U; + tmp179__ |= (pSrc->count << 0); + tmp179__ |= (pSrc->qack << 4); + tmp179__ |= (pSrc->qreq << 5); + tmp179__ |= (pSrc->txopreq << 6); + tmp179__ |= (pSrc->reserved << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp175__; + *pBuf = tmp179__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -26399,7 +26425,7 @@ uint32_t dot11f_pack_ie_qos_caps_station(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp176__; + uint8_t tmp180__; nNeeded += 1; while (pSrc->present) { if (nNeeded > nBuf) @@ -26408,18 +26434,18 @@ uint32_t dot11f_pack_ie_qos_caps_station(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp176__ = 0U; - tmp176__ |= (pSrc->acvo_uapsd << 0); - tmp176__ |= (pSrc->acvi_uapsd << 1); - tmp176__ |= (pSrc->acbk_uapsd << 2); - tmp176__ |= (pSrc->acbe_uapsd << 3); - tmp176__ |= (pSrc->qack << 4); - tmp176__ |= (pSrc->max_sp_length << 5); - tmp176__ |= (pSrc->more_data_ack << 7); + tmp180__ = 0U; + tmp180__ |= (pSrc->acvo_uapsd << 0); + tmp180__ |= (pSrc->acvi_uapsd << 1); + tmp180__ |= (pSrc->acbk_uapsd << 2); + tmp180__ |= (pSrc->acbe_uapsd << 3); + tmp180__ |= (pSrc->qack << 4); + tmp180__ |= (pSrc->max_sp_length << 5); + tmp180__ |= (pSrc->more_data_ack << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp176__; + *pBuf = tmp180__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -27064,7 +27090,7 @@ uint32_t dot11f_pack_ie_wapi(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp177__; + uint16_t tmp181__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_iewapi(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -27094,13 +27120,13 @@ uint32_t dot11f_pack_ie_wapi(tpAniSirGlobal pCtx, DOT11F_MEMCPY(pCtx, pBuf, pSrc->multicast_cipher_suite, 4); *pnConsumed += 4; pBuf += 4; - tmp177__ = 0U; - tmp177__ |= (pSrc->preauth << 0); - tmp177__ |= (pSrc->reserved << 1); + tmp181__ = 0U; + tmp181__ |= (pSrc->preauth << 0); + tmp181__ |= (pSrc->reserved << 1); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp177__, 0); + frameshtons(pCtx, pBuf, tmp181__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -27240,7 +27266,7 @@ uint32_t dot11f_pack_ie_wmm_caps(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp178__; + uint8_t tmp182__; nNeeded += 2; while (pSrc->present) { if (nNeeded > nBuf) @@ -27262,16 +27288,16 @@ uint32_t dot11f_pack_ie_wmm_caps(tpAniSirGlobal pCtx, *pBuf = pSrc->version; *pnConsumed += 1; pBuf += 1; - tmp178__ = 0U; - tmp178__ |= (pSrc->reserved << 0); - tmp178__ |= (pSrc->qack << 4); - tmp178__ |= (pSrc->queue_request << 5); - tmp178__ |= (pSrc->txop_request << 6); - tmp178__ |= (pSrc->more_ack << 7); + tmp182__ = 0U; + tmp182__ |= (pSrc->reserved << 0); + tmp182__ |= (pSrc->qack << 4); + tmp182__ |= (pSrc->queue_request << 5); + tmp182__ |= (pSrc->txop_request << 6); + tmp182__ |= (pSrc->more_ack << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp178__; + *pBuf = tmp182__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -27293,7 +27319,7 @@ uint32_t dot11f_pack_ie_wmm_info_ap(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp179__; + uint8_t tmp183__; nNeeded += 2; while (pSrc->present) { if (nNeeded > nBuf) @@ -27315,14 +27341,14 @@ uint32_t dot11f_pack_ie_wmm_info_ap(tpAniSirGlobal pCtx, *pBuf = pSrc->version; *pnConsumed += 1; pBuf += 1; - tmp179__ = 0U; - tmp179__ |= (pSrc->param_set_count << 0); - tmp179__ |= (pSrc->reserved << 4); - tmp179__ |= (pSrc->uapsd << 7); + tmp183__ = 0U; + tmp183__ |= (pSrc->param_set_count << 0); + tmp183__ |= (pSrc->reserved << 4); + tmp183__ |= (pSrc->uapsd << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp179__; + *pBuf = tmp183__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -27344,7 +27370,7 @@ uint32_t dot11f_pack_ie_wmm_info_station(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp180__; + uint8_t tmp184__; nNeeded += 2; while (pSrc->present) { if (nNeeded > nBuf) @@ -27366,18 +27392,18 @@ uint32_t dot11f_pack_ie_wmm_info_station(tpAniSirGlobal pCtx, *pBuf = pSrc->version; *pnConsumed += 1; pBuf += 1; - tmp180__ = 0U; - tmp180__ |= (pSrc->acvo_uapsd << 0); - tmp180__ |= (pSrc->acvi_uapsd << 1); - tmp180__ |= (pSrc->acbk_uapsd << 2); - tmp180__ |= (pSrc->acbe_uapsd << 3); - tmp180__ |= (pSrc->reserved1 << 4); - tmp180__ |= (pSrc->max_sp_length << 5); - tmp180__ |= (pSrc->reserved2 << 7); + tmp184__ = 0U; + tmp184__ |= (pSrc->acvo_uapsd << 0); + tmp184__ |= (pSrc->acvi_uapsd << 1); + tmp184__ |= (pSrc->acbk_uapsd << 2); + tmp184__ |= (pSrc->acbe_uapsd << 3); + tmp184__ |= (pSrc->reserved1 << 4); + tmp184__ |= (pSrc->max_sp_length << 5); + tmp184__ |= (pSrc->reserved2 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp180__; + *pBuf = tmp184__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -27399,14 +27425,14 @@ uint32_t dot11f_pack_ie_wmm_params(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp181__; - uint8_t tmp182__; - uint8_t tmp183__; - uint8_t tmp184__; uint8_t tmp185__; uint8_t tmp186__; uint8_t tmp187__; uint8_t tmp188__; + uint8_t tmp189__; + uint8_t tmp190__; + uint8_t tmp191__; + uint8_t tmp192__; nNeeded += 19; while (pSrc->present) { if (nNeeded > nBuf) @@ -27434,61 +27460,11 @@ uint32_t dot11f_pack_ie_wmm_params(tpAniSirGlobal pCtx, *pBuf = pSrc->reserved2; *pnConsumed += 1; pBuf += 1; - tmp181__ = 0U; - tmp181__ |= (pSrc->acbe_aifsn << 0); - tmp181__ |= (pSrc->acbe_acm << 4); - tmp181__ |= (pSrc->acbe_aci << 5); - tmp181__ |= (pSrc->unused1 << 7); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp181__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - tmp182__ = 0U; - tmp182__ |= (pSrc->acbe_acwmin << 0); - tmp182__ |= (pSrc->acbe_acwmax << 4); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp182__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - frameshtons(pCtx, pBuf, pSrc->acbe_txoplimit, 0); - *pnConsumed += 2; - pBuf += 2; - tmp183__ = 0U; - tmp183__ |= (pSrc->acbk_aifsn << 0); - tmp183__ |= (pSrc->acbk_acm << 4); - tmp183__ |= (pSrc->acbk_aci << 5); - tmp183__ |= (pSrc->unused2 << 7); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp183__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - tmp184__ = 0U; - tmp184__ |= (pSrc->acbk_acwmin << 0); - tmp184__ |= (pSrc->acbk_acwmax << 4); - if (unlikely(nBuf < 1)) - return DOT11F_INCOMPLETE_IE; - - *pBuf = tmp184__; - *pnConsumed += 1; - pBuf += 1; - nBuf -= 1 ; - frameshtons(pCtx, pBuf, pSrc->acbk_txoplimit, 0); - *pnConsumed += 2; - pBuf += 2; tmp185__ = 0U; - tmp185__ |= (pSrc->acvi_aifsn << 0); - tmp185__ |= (pSrc->acvi_acm << 4); - tmp185__ |= (pSrc->acvi_aci << 5); - tmp185__ |= (pSrc->unused3 << 7); + tmp185__ |= (pSrc->acbe_aifsn << 0); + tmp185__ |= (pSrc->acbe_acm << 4); + tmp185__ |= (pSrc->acbe_aci << 5); + tmp185__ |= (pSrc->unused1 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; @@ -27497,8 +27473,8 @@ uint32_t dot11f_pack_ie_wmm_params(tpAniSirGlobal pCtx, pBuf += 1; nBuf -= 1 ; tmp186__ = 0U; - tmp186__ |= (pSrc->acvi_acwmin << 0); - tmp186__ |= (pSrc->acvi_acwmax << 4); + tmp186__ |= (pSrc->acbe_acwmin << 0); + tmp186__ |= (pSrc->acbe_acwmax << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; @@ -27506,14 +27482,14 @@ uint32_t dot11f_pack_ie_wmm_params(tpAniSirGlobal pCtx, *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - frameshtons(pCtx, pBuf, pSrc->acvi_txoplimit, 0); + frameshtons(pCtx, pBuf, pSrc->acbe_txoplimit, 0); *pnConsumed += 2; pBuf += 2; tmp187__ = 0U; - tmp187__ |= (pSrc->acvo_aifsn << 0); - tmp187__ |= (pSrc->acvo_acm << 4); - tmp187__ |= (pSrc->acvo_aci << 5); - tmp187__ |= (pSrc->unused4 << 7); + tmp187__ |= (pSrc->acbk_aifsn << 0); + tmp187__ |= (pSrc->acbk_acm << 4); + tmp187__ |= (pSrc->acbk_aci << 5); + tmp187__ |= (pSrc->unused2 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; @@ -27522,8 +27498,8 @@ uint32_t dot11f_pack_ie_wmm_params(tpAniSirGlobal pCtx, pBuf += 1; nBuf -= 1 ; tmp188__ = 0U; - tmp188__ |= (pSrc->acvo_acwmin << 0); - tmp188__ |= (pSrc->acvo_acwmax << 4); + tmp188__ |= (pSrc->acbk_acwmin << 0); + tmp188__ |= (pSrc->acbk_acwmax << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; @@ -27531,6 +27507,56 @@ uint32_t dot11f_pack_ie_wmm_params(tpAniSirGlobal pCtx, *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; + frameshtons(pCtx, pBuf, pSrc->acbk_txoplimit, 0); + *pnConsumed += 2; + pBuf += 2; + tmp189__ = 0U; + tmp189__ |= (pSrc->acvi_aifsn << 0); + tmp189__ |= (pSrc->acvi_acm << 4); + tmp189__ |= (pSrc->acvi_aci << 5); + tmp189__ |= (pSrc->unused3 << 7); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp189__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + tmp190__ = 0U; + tmp190__ |= (pSrc->acvi_acwmin << 0); + tmp190__ |= (pSrc->acvi_acwmax << 4); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp190__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + frameshtons(pCtx, pBuf, pSrc->acvi_txoplimit, 0); + *pnConsumed += 2; + pBuf += 2; + tmp191__ = 0U; + tmp191__ |= (pSrc->acvo_aifsn << 0); + tmp191__ |= (pSrc->acvo_acm << 4); + tmp191__ |= (pSrc->acvo_aci << 5); + tmp191__ |= (pSrc->unused4 << 7); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp191__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; + tmp192__ = 0U; + tmp192__ |= (pSrc->acvo_acwmin << 0); + tmp192__ |= (pSrc->acvo_acwmax << 4); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp192__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; frameshtons(pCtx, pBuf, pSrc->acvo_txoplimit, 0); *pnConsumed += 2; /* fieldsEndFlag = 1 */ @@ -28084,7 +28110,7 @@ uint32_t dot11f_pack_ie_addba_extn_element(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp189__; + uint8_t tmp193__; nNeeded += 1; while (pSrc->present) { if (nNeeded > nBuf) @@ -28093,14 +28119,14 @@ uint32_t dot11f_pack_ie_addba_extn_element(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp189__ = 0U; - tmp189__ |= (pSrc->no_fragmentation << 0); - tmp189__ |= (pSrc->he_frag_operation << 1); - tmp189__ |= (pSrc->reserved << 3); + tmp193__ = 0U; + tmp193__ |= (pSrc->no_fragmentation << 0); + tmp193__ |= (pSrc->he_frag_operation << 1); + tmp193__ |= (pSrc->reserved << 3); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp189__; + *pBuf = tmp193__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -28122,7 +28148,7 @@ uint32_t dot11f_pack_ie_bss_color_change(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp190__; + uint8_t tmp194__; nNeeded += 2; while (pSrc->present) { if (nNeeded > nBuf) @@ -28136,13 +28162,13 @@ uint32_t dot11f_pack_ie_bss_color_change(tpAniSirGlobal pCtx, *pBuf = pSrc->countdown; *pnConsumed += 1; pBuf += 1; - tmp190__ = 0U; - tmp190__ |= (pSrc->new_color << 0); - tmp190__ |= (pSrc->reserved << 6); + tmp194__ = 0U; + tmp194__ |= (pSrc->new_color << 0); + tmp194__ |= (pSrc->reserved << 6); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp190__; + *pBuf = tmp194__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -28164,7 +28190,7 @@ uint32_t dot11f_pack_ie_bss_max_idle_period(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp191__; + uint8_t tmp195__; nNeeded += 3; while (pSrc->present) { if (nNeeded > nBuf) @@ -28176,13 +28202,13 @@ uint32_t dot11f_pack_ie_bss_max_idle_period(tpAniSirGlobal pCtx, frameshtons(pCtx, pBuf, pSrc->max_idle_period, 0); *pnConsumed += 2; pBuf += 2; - tmp191__ = 0U; - tmp191__ |= (pSrc->prot_keep_alive_reqd << 0); - tmp191__ |= (pSrc->reserved << 1); + tmp195__ = 0U; + tmp195__ |= (pSrc->prot_keep_alive_reqd << 0); + tmp195__ |= (pSrc->reserved << 1); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp191__; + *pBuf = tmp195__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -28285,9 +28311,13 @@ uint32_t dot11f_pack_ie_eht_cap(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp192__; - uint32_t tmp193__; - uint32_t tmp194__; + uint16_t tmp196__; + uint32_t tmp197__; + uint32_t tmp198__; + uint32_t tmp199__; + uint32_t tmp200__; + uint32_t tmp201__; + uint8_t tmp202__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_eht_cap(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -28301,87 +28331,137 @@ uint32_t dot11f_pack_ie_eht_cap(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); *pBuf = 108; ++pBuf; ++(*pnConsumed); - tmp192__ = 0U; - tmp192__ |= (pSrc->nsep_pri_access << 0); - tmp192__ |= (pSrc->eht_om_ctl << 1); - tmp192__ |= (pSrc->triggered_txop_sharing << 2); - tmp192__ |= (pSrc->reserved << 3); + tmp196__ = 0U; + tmp196__ |= (pSrc->nsep_pri_access << 0); + tmp196__ |= (pSrc->eht_om_ctl << 1); + tmp196__ |= (pSrc->triggered_txop_sharing_mode1 << 2); + tmp196__ |= (pSrc->triggered_txop_sharing_mode2 << 3); + tmp196__ |= (pSrc->restricted_twt << 4); + tmp196__ |= (pSrc->scs_traffic_desc << 5); + tmp196__ |= (pSrc->max_mpdu_len << 6); + tmp196__ |= (pSrc->reserved << 8); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp192__, 0); + frameshtons(pCtx, pBuf, tmp196__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp193__ = 0U; - tmp193__ |= (pSrc->reserved2 << 0); - tmp193__ |= (pSrc->support_320mhz_6ghz << 1); - tmp193__ |= (pSrc->ru_242tone_wt_20mhz << 2); - tmp193__ |= (pSrc->ndp_4x_eht_ltf_3dot2_us_gi << 3); - tmp193__ |= (pSrc->partial_bw_mu_mimo << 4); - tmp193__ |= (pSrc->su_beamformer << 5); - tmp193__ |= (pSrc->su_beamformee << 6); - tmp193__ |= (pSrc->bfee_ss_le_80mhz << 7); - tmp193__ |= (pSrc->bfee_ss_160mhz << 10); - tmp193__ |= (pSrc->bfee_ss_320mhz << 13); - tmp193__ |= (pSrc->num_sounding_dim_le_80mhz << 16); - tmp193__ |= (pSrc->num_sounding_dim_160mhz << 19); - tmp193__ |= (pSrc->num_sounding_dim_320mhz << 22); - tmp193__ |= (pSrc->ng_16_su_feedback << 25); - tmp193__ |= (pSrc->ng_16_mu_feedback << 26); - tmp193__ |= (pSrc->cb_sz_4_2_su_feedback << 27); - tmp193__ |= (pSrc->cb_sz_7_5_su_feedback << 28); - tmp193__ |= (pSrc->trig_su_bforming_feedback << 29); - tmp193__ |= (pSrc->trig_mu_bforming_partial_bw_feedback << 30); - tmp193__ |= (pSrc->triggered_cqi_feedback << 31); + tmp197__ = 0U; + tmp197__ |= (pSrc->reserved2 << 0); + tmp197__ |= (pSrc->support_320mhz_6ghz << 1); + tmp197__ |= (pSrc->ru_242tone_wt_20mhz << 2); + tmp197__ |= (pSrc->ndp_4x_eht_ltf_3dot2_us_gi << 3); + tmp197__ |= (pSrc->partial_bw_mu_mimo << 4); + tmp197__ |= (pSrc->su_beamformer << 5); + tmp197__ |= (pSrc->su_beamformee << 6); + tmp197__ |= (pSrc->bfee_ss_le_80mhz << 7); + tmp197__ |= (pSrc->bfee_ss_160mhz << 10); + tmp197__ |= (pSrc->bfee_ss_320mhz << 13); + tmp197__ |= (pSrc->num_sounding_dim_le_80mhz << 16); + tmp197__ |= (pSrc->num_sounding_dim_160mhz << 19); + tmp197__ |= (pSrc->num_sounding_dim_320mhz << 22); + tmp197__ |= (pSrc->ng_16_su_feedback << 25); + tmp197__ |= (pSrc->ng_16_mu_feedback << 26); + tmp197__ |= (pSrc->cb_sz_4_2_su_feedback << 27); + tmp197__ |= (pSrc->cb_sz_7_5_su_feedback << 28); + tmp197__ |= (pSrc->trig_su_bforming_feedback << 29); + tmp197__ |= (pSrc->trig_mu_bforming_partial_bw_feedback << 30); + tmp197__ |= (pSrc->triggered_cqi_feedback << 31); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp193__, 0); + frameshtonl(pCtx, pBuf, tmp197__, 0); *pnConsumed += 4; pBuf += 4; nBuf -= 4 ; - tmp194__ = 0U; - tmp194__ |= (pSrc->partial_bw_dl_mu_mimo << 0); - tmp194__ |= (pSrc->psr_based_sr << 1); - tmp194__ |= (pSrc->power_boost_factor << 2); - tmp194__ |= (pSrc->eht_mu_ppdu_4x_ltf_0_8_us_gi << 3); - tmp194__ |= (pSrc->max_nc << 4); - tmp194__ |= (pSrc->non_trig_cqi_feedback << 8); - tmp194__ |= (pSrc->tx_1024_4096_qam_lt_242_tone_ru << 9); - tmp194__ |= (pSrc->rx_1024_4096_qam_lt_242_tone_ru << 10); - tmp194__ |= (pSrc->ppet_present << 11); - tmp194__ |= (pSrc->common_nominal_pkt_padding << 12); - tmp194__ |= (pSrc->max_num_eht_ltf << 14); - tmp194__ |= (pSrc->mcs_15 << 19); - tmp194__ |= (pSrc->eht_dup_6ghz << 23); - tmp194__ |= (pSrc->op_sta_rx_ndp_wider_bw_20mhz << 24); - tmp194__ |= (pSrc->non_ofdma_ul_mu_mimo_le_80mhz << 25); - tmp194__ |= (pSrc->non_ofdma_ul_mu_mimo_160mhz << 26); - tmp194__ |= (pSrc->non_ofdma_ul_mu_mimo_320mhz << 27); - tmp194__ |= (pSrc->mu_bformer_le_80mhz << 28); - tmp194__ |= (pSrc->mu_bformer_160mhz << 29); - tmp194__ |= (pSrc->mu_bformer_320mhz << 30); - tmp194__ |= (pSrc->reserved3 << 31); + tmp198__ = 0U; + tmp198__ |= (pSrc->partial_bw_dl_mu_mimo << 0); + tmp198__ |= (pSrc->psr_based_sr << 1); + tmp198__ |= (pSrc->power_boost_factor << 2); + tmp198__ |= (pSrc->eht_mu_ppdu_4x_ltf_0_8_us_gi << 3); + tmp198__ |= (pSrc->max_nc << 4); + tmp198__ |= (pSrc->non_trig_cqi_feedback << 8); + tmp198__ |= (pSrc->tx_1024_4096_qam_lt_242_tone_ru << 9); + tmp198__ |= (pSrc->rx_1024_4096_qam_lt_242_tone_ru << 10); + tmp198__ |= (pSrc->ppet_present << 11); + tmp198__ |= (pSrc->common_nominal_pkt_padding << 12); + tmp198__ |= (pSrc->max_num_eht_ltf << 14); + tmp198__ |= (pSrc->mcs_15 << 19); + tmp198__ |= (pSrc->eht_dup_6ghz << 23); + tmp198__ |= (pSrc->op_sta_rx_ndp_wider_bw_20mhz << 24); + tmp198__ |= (pSrc->non_ofdma_ul_mu_mimo_le_80mhz << 25); + tmp198__ |= (pSrc->non_ofdma_ul_mu_mimo_160mhz << 26); + tmp198__ |= (pSrc->non_ofdma_ul_mu_mimo_320mhz << 27); + tmp198__ |= (pSrc->mu_bformer_le_80mhz << 28); + tmp198__ |= (pSrc->mu_bformer_160mhz << 29); + tmp198__ |= (pSrc->mu_bformer_320mhz << 30); + tmp198__ |= (pSrc->tb_sounding_feedback_rl << 31); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp194__, 0); + frameshtonl(pCtx, pBuf, tmp198__, 0); *pnConsumed += 4; pBuf += 4; nBuf -= 4 ; - DOT11F_MEMCPY(pCtx, pBuf, &(pSrc->eht_mcs_map_20), pSrc->num_eht_mcs_map_20); - *pnConsumed += pSrc->num_eht_mcs_map_20; - pBuf += pSrc->num_eht_mcs_map_20; - DOT11F_MEMCPY(pCtx, pBuf, &(pSrc->eht_mcs_map_le_80), pSrc->num_eht_mcs_map_le_80); - *pnConsumed += pSrc->num_eht_mcs_map_le_80; - pBuf += pSrc->num_eht_mcs_map_le_80; - DOT11F_MEMCPY(pCtx, pBuf, &(pSrc->eht_mcs_map_160), pSrc->num_eht_mcs_map_160); - *pnConsumed += pSrc->num_eht_mcs_map_160; - pBuf += pSrc->num_eht_mcs_map_160; - DOT11F_MEMCPY(pCtx, pBuf, &(pSrc->eht_mcs_map_320), (pSrc->support_320mhz_6ghz * 3)); - *pnConsumed += (pSrc->support_320mhz_6ghz * 3); - pBuf += (pSrc->support_320mhz_6ghz * 3); + tmp199__ = 0U; + tmp199__ |= (pSrc->bw_20_rx_max_nss_for_mcs_0_to_7 << 0); + tmp199__ |= (pSrc->bw_20_tx_max_nss_for_mcs_0_to_7 << 4); + tmp199__ |= (pSrc->bw_20_rx_max_nss_for_mcs_8_and_9 << 8); + tmp199__ |= (pSrc->bw_20_tx_max_nss_for_mcs_8_and_9 << 12); + tmp199__ |= (pSrc->bw_20_rx_max_nss_for_mcs_10_and_11 << 16); + tmp199__ |= (pSrc->bw_20_tx_max_nss_for_mcs_10_and_11 << 20); + tmp199__ |= (pSrc->bw_20_rx_max_nss_for_mcs_12_and_13 << 24); + tmp199__ |= (pSrc->bw_20_tx_max_nss_for_mcs_12_and_13 << 28); + if (unlikely(nBuf < 4)) + return DOT11F_INCOMPLETE_IE; + + frameshtonl(pCtx, pBuf, tmp199__, 0); + *pnConsumed += 4; + pBuf += 4; + nBuf -= 4 ; + tmp200__ = 0U; + tmp200__ |= (pSrc->bw_le_80_rx_max_nss_for_mcs_0_to_9 << 0); + tmp200__ |= (pSrc->bw_le_80_tx_max_nss_for_mcs_0_to_9 << 4); + tmp200__ |= (pSrc->bw_le_80_rx_max_nss_for_mcs_10_and_11 << 8); + tmp200__ |= (pSrc->bw_le_80_tx_max_nss_for_mcs_10_and_11 << 12); + tmp200__ |= (pSrc->bw_le_80_rx_max_nss_for_mcs_12_and_13 << 16); + tmp200__ |= (pSrc->bw_le_80_tx_max_nss_for_mcs_12_and_13 << 20); + tmp200__ |= (pSrc->bw_160_rx_max_nss_for_mcs_0_to_9 << 24); + tmp200__ |= (pSrc->bw_160_tx_max_nss_for_mcs_0_to_9 << 28); + if (unlikely(nBuf < 4)) + return DOT11F_INCOMPLETE_IE; + + frameshtonl(pCtx, pBuf, tmp200__, 0); + *pnConsumed += 4; + pBuf += 4; + nBuf -= 4 ; + tmp201__ = 0U; + tmp201__ |= (pSrc->bw_160_rx_max_nss_for_mcs_10_and_11 << 0); + tmp201__ |= (pSrc->bw_160_tx_max_nss_for_mcs_10_and_11 << 4); + tmp201__ |= (pSrc->bw_160_rx_max_nss_for_mcs_12_and_13 << 8); + tmp201__ |= (pSrc->bw_160_tx_max_nss_for_mcs_12_and_13 << 12); + tmp201__ |= (pSrc->bw_320_rx_max_nss_for_mcs_0_to_9 << 16); + tmp201__ |= (pSrc->bw_320_tx_max_nss_for_mcs_0_to_9 << 20); + tmp201__ |= (pSrc->bw_320_rx_max_nss_for_mcs_10_and_11 << 24); + tmp201__ |= (pSrc->bw_320_tx_max_nss_for_mcs_10_and_11 << 28); + if (unlikely(nBuf < 4)) + return DOT11F_INCOMPLETE_IE; + + frameshtonl(pCtx, pBuf, tmp201__, 0); + *pnConsumed += 4; + pBuf += 4; + nBuf -= 4 ; + tmp202__ = 0U; + tmp202__ |= (pSrc->bw_320_rx_max_nss_for_mcs_12_and_13 << 0); + tmp202__ |= (pSrc->bw_320_tx_max_nss_for_mcs_12_and_13 << 4); + if (unlikely(nBuf < 1)) + return DOT11F_INCOMPLETE_IE; + + *pBuf = tmp202__; + *pnConsumed += 1; + pBuf += 1; + nBuf -= 1 ; if (pSrc->ppet_present) { switch (pSrc->ppet_present) { case 1: @@ -28411,8 +28491,8 @@ uint32_t dot11f_pack_ie_eht_op(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp195__; - uint8_t tmp196__; + uint8_t tmp203__; + uint8_t tmp204__; nNeeded += (pSrc->disable_sub_chan_bitmap_present * 2 + 4); while (pSrc->present) { if (nNeeded > nBuf) @@ -28423,26 +28503,26 @@ uint32_t dot11f_pack_ie_eht_op(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); *pBuf = 106; ++pBuf; ++(*pnConsumed); - tmp195__ = 0U; - tmp195__ |= (pSrc->width << 0); - tmp195__ |= (pSrc->reserved << 3); + tmp203__ = 0U; + tmp203__ |= (pSrc->width << 0); + tmp203__ |= (pSrc->reserved << 3); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp195__; + *pBuf = tmp203__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; frameshtons(pCtx, pBuf, pSrc->ccfs, 0); *pnConsumed += 2; pBuf += 2; - tmp196__ = 0U; - tmp196__ |= (pSrc->disable_sub_chan_bitmap_present << 0); - tmp196__ |= (pSrc->reserved2 << 1); + tmp204__ = 0U; + tmp204__ |= (pSrc->disable_sub_chan_bitmap_present << 0); + tmp204__ |= (pSrc->reserved2 << 1); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp196__; + *pBuf = tmp204__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -28604,7 +28684,7 @@ uint32_t dot11f_pack_ie_fils_indication(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp197__; + uint16_t tmp205__; nNeeded += (pSrc->num_variable_data + 2); while (pSrc->present) { if (nNeeded > nBuf) @@ -28613,20 +28693,20 @@ uint32_t dot11f_pack_ie_fils_indication(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp197__ = 0U; - tmp197__ |= (pSrc->public_key_identifiers_cnt << 0); - tmp197__ |= (pSrc->realm_identifiers_cnt << 3); - tmp197__ |= (pSrc->is_ip_config_supported << 6); - tmp197__ |= (pSrc->is_cache_id_present << 7); - tmp197__ |= (pSrc->is_hessid_present << 8); - tmp197__ |= (pSrc->is_fils_sk_auth_supported << 9); - tmp197__ |= (pSrc->is_fils_sk_auth_pfs_supported << 10); - tmp197__ |= (pSrc->is_pk_auth_supported << 11); - tmp197__ |= (pSrc->reserved << 12); + tmp205__ = 0U; + tmp205__ |= (pSrc->public_key_identifiers_cnt << 0); + tmp205__ |= (pSrc->realm_identifiers_cnt << 3); + tmp205__ |= (pSrc->is_ip_config_supported << 6); + tmp205__ |= (pSrc->is_cache_id_present << 7); + tmp205__ |= (pSrc->is_hessid_present << 8); + tmp205__ |= (pSrc->is_fils_sk_auth_supported << 9); + tmp205__ |= (pSrc->is_fils_sk_auth_pfs_supported << 10); + tmp205__ |= (pSrc->is_pk_auth_supported << 11); + tmp205__ |= (pSrc->reserved << 12); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp197__, 0); + frameshtons(pCtx, pBuf, tmp205__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -28872,7 +28952,7 @@ uint32_t dot11f_pack_ie_he_6ghz_band_cap(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp198__; + uint16_t tmp206__; nNeeded += 2; while (pSrc->present) { if (nNeeded > nBuf) @@ -28883,19 +28963,19 @@ uint32_t dot11f_pack_ie_he_6ghz_band_cap(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); *pBuf = 59; ++pBuf; ++(*pnConsumed); - tmp198__ = 0U; - tmp198__ |= (pSrc->min_mpdu_start_spacing << 0); - tmp198__ |= (pSrc->max_ampdu_len_exp << 3); - tmp198__ |= (pSrc->max_mpdu_len << 6); - tmp198__ |= (pSrc->sm_pow_save << 9); - tmp198__ |= (pSrc->rd_responder << 11); - tmp198__ |= (pSrc->rx_ant_pattern_consistency << 12); - tmp198__ |= (pSrc->tx_ant_pattern_consistency << 13); - tmp198__ |= (pSrc->reserved << 14); + tmp206__ = 0U; + tmp206__ |= (pSrc->min_mpdu_start_spacing << 0); + tmp206__ |= (pSrc->max_ampdu_len_exp << 3); + tmp206__ |= (pSrc->max_mpdu_len << 6); + tmp206__ |= (pSrc->sm_pow_save << 9); + tmp206__ |= (pSrc->rd_responder << 11); + tmp206__ |= (pSrc->rx_ant_pattern_consistency << 12); + tmp206__ |= (pSrc->tx_ant_pattern_consistency << 13); + tmp206__ |= (pSrc->reserved << 14); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp198__, 0); + frameshtons(pCtx, pBuf, tmp206__, 0); *pnConsumed += 2; /* fieldsEndFlag = 1 */ nBuf -= 2 ; @@ -28917,11 +28997,11 @@ uint32_t dot11f_pack_ie_he_cap(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint32_t tmp199__; - uint16_t tmp200__; - uint32_t tmp201__; - uint32_t tmp202__; - uint16_t tmp203__; + uint32_t tmp207__; + uint16_t tmp208__; + uint32_t tmp209__; + uint32_t tmp210__; + uint16_t tmp211__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_he_cap(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -28935,136 +29015,136 @@ uint32_t dot11f_pack_ie_he_cap(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); *pBuf = 35; ++pBuf; ++(*pnConsumed); - tmp199__ = 0U; - tmp199__ |= (pSrc->htc_he << 0); - tmp199__ |= (pSrc->twt_request << 1); - tmp199__ |= (pSrc->twt_responder << 2); - tmp199__ |= (pSrc->fragmentation << 3); - tmp199__ |= (pSrc->max_num_frag_msdu_amsdu_exp << 5); - tmp199__ |= (pSrc->min_frag_size << 8); - tmp199__ |= (pSrc->trigger_frm_mac_pad << 10); - tmp199__ |= (pSrc->multi_tid_aggr_rx_supp << 12); - tmp199__ |= (pSrc->he_link_adaptation << 15); - tmp199__ |= (pSrc->all_ack << 17); - tmp199__ |= (pSrc->trigd_rsp_sched << 18); - tmp199__ |= (pSrc->a_bsr << 19); - tmp199__ |= (pSrc->broadcast_twt << 20); - tmp199__ |= (pSrc->ba_32bit_bitmap << 21); - tmp199__ |= (pSrc->mu_cascade << 22); - tmp199__ |= (pSrc->ack_enabled_multitid << 23); - tmp199__ |= (pSrc->reserved << 24); - tmp199__ |= (pSrc->omi_a_ctrl << 25); - tmp199__ |= (pSrc->ofdma_ra << 26); - tmp199__ |= (pSrc->max_ampdu_len_exp_ext << 27); - tmp199__ |= (pSrc->amsdu_frag << 29); - tmp199__ |= (pSrc->flex_twt_sched << 30); - tmp199__ |= (pSrc->rx_ctrl_frame << 31); + tmp207__ = 0U; + tmp207__ |= (pSrc->htc_he << 0); + tmp207__ |= (pSrc->twt_request << 1); + tmp207__ |= (pSrc->twt_responder << 2); + tmp207__ |= (pSrc->fragmentation << 3); + tmp207__ |= (pSrc->max_num_frag_msdu_amsdu_exp << 5); + tmp207__ |= (pSrc->min_frag_size << 8); + tmp207__ |= (pSrc->trigger_frm_mac_pad << 10); + tmp207__ |= (pSrc->multi_tid_aggr_rx_supp << 12); + tmp207__ |= (pSrc->he_link_adaptation << 15); + tmp207__ |= (pSrc->all_ack << 17); + tmp207__ |= (pSrc->trigd_rsp_sched << 18); + tmp207__ |= (pSrc->a_bsr << 19); + tmp207__ |= (pSrc->broadcast_twt << 20); + tmp207__ |= (pSrc->ba_32bit_bitmap << 21); + tmp207__ |= (pSrc->mu_cascade << 22); + tmp207__ |= (pSrc->ack_enabled_multitid << 23); + tmp207__ |= (pSrc->reserved << 24); + tmp207__ |= (pSrc->omi_a_ctrl << 25); + tmp207__ |= (pSrc->ofdma_ra << 26); + tmp207__ |= (pSrc->max_ampdu_len_exp_ext << 27); + tmp207__ |= (pSrc->amsdu_frag << 29); + tmp207__ |= (pSrc->flex_twt_sched << 30); + tmp207__ |= (pSrc->rx_ctrl_frame << 31); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp199__, 0); + frameshtonl(pCtx, pBuf, tmp207__, 0); *pnConsumed += 4; pBuf += 4; nBuf -= 4 ; - tmp200__ = 0U; - tmp200__ |= (pSrc->bsrp_ampdu_aggr << 0); - tmp200__ |= (pSrc->qtp << 1); - tmp200__ |= (pSrc->a_bqr << 2); - tmp200__ |= (pSrc->spatial_reuse_param_rspder << 3); - tmp200__ |= (pSrc->ndp_feedback_supp << 4); - tmp200__ |= (pSrc->ops_supp << 5); - tmp200__ |= (pSrc->amsdu_in_ampdu << 6); - tmp200__ |= (pSrc->multi_tid_aggr_tx_supp << 7); - tmp200__ |= (pSrc->he_sub_ch_sel_tx_supp << 10); - tmp200__ |= (pSrc->ul_2x996_tone_ru_supp << 11); - tmp200__ |= (pSrc->om_ctrl_ul_mu_data_dis_rx << 12); - tmp200__ |= (pSrc->he_dynamic_smps << 13); - tmp200__ |= (pSrc->punctured_sounding_supp << 14); - tmp200__ |= (pSrc->ht_vht_trg_frm_rx_supp << 15); + tmp208__ = 0U; + tmp208__ |= (pSrc->bsrp_ampdu_aggr << 0); + tmp208__ |= (pSrc->qtp << 1); + tmp208__ |= (pSrc->a_bqr << 2); + tmp208__ |= (pSrc->spatial_reuse_param_rspder << 3); + tmp208__ |= (pSrc->ndp_feedback_supp << 4); + tmp208__ |= (pSrc->ops_supp << 5); + tmp208__ |= (pSrc->amsdu_in_ampdu << 6); + tmp208__ |= (pSrc->multi_tid_aggr_tx_supp << 7); + tmp208__ |= (pSrc->he_sub_ch_sel_tx_supp << 10); + tmp208__ |= (pSrc->ul_2x996_tone_ru_supp << 11); + tmp208__ |= (pSrc->om_ctrl_ul_mu_data_dis_rx << 12); + tmp208__ |= (pSrc->he_dynamic_smps << 13); + tmp208__ |= (pSrc->punctured_sounding_supp << 14); + tmp208__ |= (pSrc->ht_vht_trg_frm_rx_supp << 15); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp200__, 0); + frameshtons(pCtx, pBuf, tmp208__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp201__ = 0U; - tmp201__ |= (pSrc->reserved2 << 0); - tmp201__ |= (pSrc->chan_width_0 << 1); - tmp201__ |= (pSrc->chan_width_1 << 2); - tmp201__ |= (pSrc->chan_width_2 << 3); - tmp201__ |= (pSrc->chan_width_3 << 4); - tmp201__ |= (pSrc->chan_width_4 << 5); - tmp201__ |= (pSrc->chan_width_5 << 6); - tmp201__ |= (pSrc->chan_width_6 << 7); - tmp201__ |= (pSrc->rx_pream_puncturing << 8); - tmp201__ |= (pSrc->device_class << 12); - tmp201__ |= (pSrc->ldpc_coding << 13); - tmp201__ |= (pSrc->he_1x_ltf_800_gi_ppdu << 14); - tmp201__ |= (pSrc->midamble_tx_rx_max_nsts << 15); - tmp201__ |= (pSrc->he_4x_ltf_3200_gi_ndp << 17); - tmp201__ |= (pSrc->tb_ppdu_tx_stbc_lt_80mhz << 18); - tmp201__ |= (pSrc->rx_stbc_lt_80mhz << 19); - tmp201__ |= (pSrc->doppler << 20); - tmp201__ |= (pSrc->ul_mu << 22); - tmp201__ |= (pSrc->dcm_enc_tx << 24); - tmp201__ |= (pSrc->dcm_enc_rx << 27); - tmp201__ |= (pSrc->ul_he_mu << 30); - tmp201__ |= (pSrc->su_beamformer << 31); + tmp209__ = 0U; + tmp209__ |= (pSrc->reserved2 << 0); + tmp209__ |= (pSrc->chan_width_0 << 1); + tmp209__ |= (pSrc->chan_width_1 << 2); + tmp209__ |= (pSrc->chan_width_2 << 3); + tmp209__ |= (pSrc->chan_width_3 << 4); + tmp209__ |= (pSrc->chan_width_4 << 5); + tmp209__ |= (pSrc->chan_width_5 << 6); + tmp209__ |= (pSrc->chan_width_6 << 7); + tmp209__ |= (pSrc->rx_pream_puncturing << 8); + tmp209__ |= (pSrc->device_class << 12); + tmp209__ |= (pSrc->ldpc_coding << 13); + tmp209__ |= (pSrc->he_1x_ltf_800_gi_ppdu << 14); + tmp209__ |= (pSrc->midamble_tx_rx_max_nsts << 15); + tmp209__ |= (pSrc->he_4x_ltf_3200_gi_ndp << 17); + tmp209__ |= (pSrc->tb_ppdu_tx_stbc_lt_80mhz << 18); + tmp209__ |= (pSrc->rx_stbc_lt_80mhz << 19); + tmp209__ |= (pSrc->doppler << 20); + tmp209__ |= (pSrc->ul_mu << 22); + tmp209__ |= (pSrc->dcm_enc_tx << 24); + tmp209__ |= (pSrc->dcm_enc_rx << 27); + tmp209__ |= (pSrc->ul_he_mu << 30); + tmp209__ |= (pSrc->su_beamformer << 31); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp201__, 0); + frameshtonl(pCtx, pBuf, tmp209__, 0); *pnConsumed += 4; pBuf += 4; nBuf -= 4 ; - tmp202__ = 0U; - tmp202__ |= (pSrc->su_beamformee << 0); - tmp202__ |= (pSrc->mu_beamformer << 1); - tmp202__ |= (pSrc->bfee_sts_lt_80 << 2); - tmp202__ |= (pSrc->bfee_sts_gt_80 << 5); - tmp202__ |= (pSrc->num_sounding_lt_80 << 8); - tmp202__ |= (pSrc->num_sounding_gt_80 << 11); - tmp202__ |= (pSrc->su_feedback_tone16 << 14); - tmp202__ |= (pSrc->mu_feedback_tone16 << 15); - tmp202__ |= (pSrc->codebook_su << 16); - tmp202__ |= (pSrc->codebook_mu << 17); - tmp202__ |= (pSrc->beamforming_feedback << 18); - tmp202__ |= (pSrc->he_er_su_ppdu << 21); - tmp202__ |= (pSrc->dl_mu_mimo_part_bw << 22); - tmp202__ |= (pSrc->ppet_present << 23); - tmp202__ |= (pSrc->srp << 24); - tmp202__ |= (pSrc->power_boost << 25); - tmp202__ |= (pSrc->he_ltf_800_gi_4x << 26); - tmp202__ |= (pSrc->max_nc << 27); - tmp202__ |= (pSrc->tb_ppdu_tx_stbc_gt_80mhz << 30); - tmp202__ |= (pSrc->rx_stbc_gt_80mhz << 31); + tmp210__ = 0U; + tmp210__ |= (pSrc->su_beamformee << 0); + tmp210__ |= (pSrc->mu_beamformer << 1); + tmp210__ |= (pSrc->bfee_sts_lt_80 << 2); + tmp210__ |= (pSrc->bfee_sts_gt_80 << 5); + tmp210__ |= (pSrc->num_sounding_lt_80 << 8); + tmp210__ |= (pSrc->num_sounding_gt_80 << 11); + tmp210__ |= (pSrc->su_feedback_tone16 << 14); + tmp210__ |= (pSrc->mu_feedback_tone16 << 15); + tmp210__ |= (pSrc->codebook_su << 16); + tmp210__ |= (pSrc->codebook_mu << 17); + tmp210__ |= (pSrc->beamforming_feedback << 18); + tmp210__ |= (pSrc->he_er_su_ppdu << 21); + tmp210__ |= (pSrc->dl_mu_mimo_part_bw << 22); + tmp210__ |= (pSrc->ppet_present << 23); + tmp210__ |= (pSrc->srp << 24); + tmp210__ |= (pSrc->power_boost << 25); + tmp210__ |= (pSrc->he_ltf_800_gi_4x << 26); + tmp210__ |= (pSrc->max_nc << 27); + tmp210__ |= (pSrc->tb_ppdu_tx_stbc_gt_80mhz << 30); + tmp210__ |= (pSrc->rx_stbc_gt_80mhz << 31); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp202__, 0); + frameshtonl(pCtx, pBuf, tmp210__, 0); *pnConsumed += 4; pBuf += 4; nBuf -= 4 ; - tmp203__ = 0U; - tmp203__ |= (pSrc->er_he_ltf_800_gi_4x << 0); - tmp203__ |= (pSrc->he_ppdu_20_in_40Mhz_2G << 1); - tmp203__ |= (pSrc->he_ppdu_20_in_160_80p80Mhz << 2); - tmp203__ |= (pSrc->he_ppdu_80_in_160_80p80Mhz << 3); - tmp203__ |= (pSrc->er_1x_he_ltf_gi << 4); - tmp203__ |= (pSrc->midamble_tx_rx_1x_he_ltf << 5); - tmp203__ |= (pSrc->dcm_max_bw << 6); - tmp203__ |= (pSrc->longer_than_16_he_sigb_ofdm_sym << 8); - tmp203__ |= (pSrc->non_trig_cqi_feedback << 9); - tmp203__ |= (pSrc->tx_1024_qam_lt_242_tone_ru << 10); - tmp203__ |= (pSrc->rx_1024_qam_lt_242_tone_ru << 11); - tmp203__ |= (pSrc->rx_full_bw_su_he_mu_compress_sigb << 12); - tmp203__ |= (pSrc->rx_full_bw_su_he_mu_non_cmpr_sigb << 13); - tmp203__ |= (pSrc->reserved3 << 14); + tmp211__ = 0U; + tmp211__ |= (pSrc->er_he_ltf_800_gi_4x << 0); + tmp211__ |= (pSrc->he_ppdu_20_in_40Mhz_2G << 1); + tmp211__ |= (pSrc->he_ppdu_20_in_160_80p80Mhz << 2); + tmp211__ |= (pSrc->he_ppdu_80_in_160_80p80Mhz << 3); + tmp211__ |= (pSrc->er_1x_he_ltf_gi << 4); + tmp211__ |= (pSrc->midamble_tx_rx_1x_he_ltf << 5); + tmp211__ |= (pSrc->dcm_max_bw << 6); + tmp211__ |= (pSrc->longer_than_16_he_sigb_ofdm_sym << 8); + tmp211__ |= (pSrc->non_trig_cqi_feedback << 9); + tmp211__ |= (pSrc->tx_1024_qam_lt_242_tone_ru << 10); + tmp211__ |= (pSrc->rx_1024_qam_lt_242_tone_ru << 11); + tmp211__ |= (pSrc->rx_full_bw_su_he_mu_compress_sigb << 12); + tmp211__ |= (pSrc->rx_full_bw_su_he_mu_non_cmpr_sigb << 13); + tmp211__ |= (pSrc->reserved3 << 14); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp203__, 0); + frameshtons(pCtx, pBuf, tmp211__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -29118,10 +29198,10 @@ uint32_t dot11f_pack_ie_he_op(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp204__; - uint8_t tmp205__; - uint8_t tmp206__; - uint8_t tmp207__; + uint16_t tmp212__; + uint8_t tmp213__; + uint8_t tmp214__; + uint8_t tmp215__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_he_op(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -29135,38 +29215,38 @@ uint32_t dot11f_pack_ie_he_op(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); *pBuf = 36; ++pBuf; ++(*pnConsumed); - tmp204__ = 0U; - tmp204__ |= (pSrc->default_pe << 0); - tmp204__ |= (pSrc->twt_required << 3); - tmp204__ |= (pSrc->txop_rts_threshold << 4); - tmp204__ |= (pSrc->vht_oper_present << 14); - tmp204__ |= (pSrc->co_located_bss << 15); + tmp212__ = 0U; + tmp212__ |= (pSrc->default_pe << 0); + tmp212__ |= (pSrc->twt_required << 3); + tmp212__ |= (pSrc->txop_rts_threshold << 4); + tmp212__ |= (pSrc->vht_oper_present << 14); + tmp212__ |= (pSrc->co_located_bss << 15); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp204__, 0); + frameshtons(pCtx, pBuf, tmp212__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp205__ = 0U; - tmp205__ |= (pSrc->er_su_disable << 0); - tmp205__ |= (pSrc->oper_info_6g_present << 1); - tmp205__ |= (pSrc->reserved2 << 2); + tmp213__ = 0U; + tmp213__ |= (pSrc->er_su_disable << 0); + tmp213__ |= (pSrc->oper_info_6g_present << 1); + tmp213__ |= (pSrc->reserved2 << 2); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp205__; + *pBuf = tmp213__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp206__ = 0U; - tmp206__ |= (pSrc->bss_color << 0); - tmp206__ |= (pSrc->partial_bss_col << 6); - tmp206__ |= (pSrc->bss_col_disabled << 7); + tmp214__ = 0U; + tmp214__ |= (pSrc->bss_color << 0); + tmp214__ |= (pSrc->partial_bss_col << 6); + tmp214__ |= (pSrc->bss_col_disabled << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp206__; + *pBuf = tmp214__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -29203,15 +29283,15 @@ uint32_t dot11f_pack_ie_he_op(tpAniSirGlobal pCtx, *pBuf = pSrc->oper_info_6g.info.primary_ch; *pnConsumed += 1; pBuf += 1; - tmp207__ = 0U; - tmp207__ |= (pSrc->oper_info_6g.info.ch_width << 0); - tmp207__ |= (pSrc->oper_info_6g.info.dup_bcon << 2); - tmp207__ |= (pSrc->oper_info_6g.info.reg_info << 3); - tmp207__ |= (pSrc->oper_info_6g.info.reserved << 6); + tmp215__ = 0U; + tmp215__ |= (pSrc->oper_info_6g.info.ch_width << 0); + tmp215__ |= (pSrc->oper_info_6g.info.dup_bcon << 2); + tmp215__ |= (pSrc->oper_info_6g.info.reg_info << 3); + tmp215__ |= (pSrc->oper_info_6g.info.reserved << 6); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp207__; + *pBuf = tmp215__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -29245,7 +29325,7 @@ uint32_t dot11f_pack_ie_hs20vendor_ie(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp208__; + uint8_t tmp216__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_hs20vendor_ie(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -29265,15 +29345,15 @@ uint32_t dot11f_pack_ie_hs20vendor_ie(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); *pBuf = 0x10; ++pBuf; ++(*pnConsumed); - tmp208__ = 0U; - tmp208__ |= (pSrc->dgaf_dis << 0); - tmp208__ |= (pSrc->hs_id_present << 1); - tmp208__ |= (pSrc->reserved << 3); - tmp208__ |= (pSrc->release_num << 4); + tmp216__ = 0U; + tmp216__ |= (pSrc->dgaf_dis << 0); + tmp216__ |= (pSrc->hs_id_present << 1); + tmp216__ |= (pSrc->reserved << 3); + tmp216__ |= (pSrc->release_num << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp208__; + *pBuf = tmp216__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -29311,7 +29391,7 @@ uint32_t dot11f_pack_ie_ht2040_bss_coexistence(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp209__; + uint8_t tmp217__; nNeeded += 1; while (pSrc->present) { if (nNeeded > nBuf) @@ -29320,17 +29400,17 @@ uint32_t dot11f_pack_ie_ht2040_bss_coexistence(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp209__ = 0U; - tmp209__ |= (pSrc->info_request << 0); - tmp209__ |= (pSrc->forty_mhz_intolerant << 1); - tmp209__ |= (pSrc->twenty_mhz_bsswidth_req << 2); - tmp209__ |= (pSrc->obss_scan_exemption_req << 3); - tmp209__ |= (pSrc->obss_scan_exemption_grant << 4); - tmp209__ |= (pSrc->unused << 5); + tmp217__ = 0U; + tmp217__ |= (pSrc->info_request << 0); + tmp217__ |= (pSrc->forty_mhz_intolerant << 1); + tmp217__ |= (pSrc->twenty_mhz_bsswidth_req << 2); + tmp217__ |= (pSrc->obss_scan_exemption_req << 3); + tmp217__ |= (pSrc->obss_scan_exemption_grant << 4); + tmp217__ |= (pSrc->unused << 5); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp209__; + *pBuf = tmp217__; *pnConsumed += 1; /* fieldsEndFlag = 1 */ nBuf -= 1 ; @@ -29415,12 +29495,12 @@ uint32_t dot11f_pack_ie_mlo_ie(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp210__; - uint8_t tmp211__; - uint16_t tmp212__; - uint16_t tmp213__; - uint8_t tmp214__; - uint16_t tmp215__; + uint16_t tmp218__; + uint8_t tmp219__; + uint16_t tmp220__; + uint16_t tmp221__; + uint8_t tmp222__; + uint16_t tmp223__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_mlo_ie(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -29434,20 +29514,20 @@ uint32_t dot11f_pack_ie_mlo_ie(tpAniSirGlobal pCtx, ++pBuf; --nBuf; ++(*pnConsumed); *pBuf = 107; ++pBuf; --nBuf; ++(*pnConsumed); - tmp210__ = 0U; - tmp210__ |= (pSrc->type << 0); - tmp210__ |= (pSrc->reserved << 3); - tmp210__ |= (pSrc->mld_mac_addr_present << 4); - tmp210__ |= (pSrc->link_id_info_present << 5); - tmp210__ |= (pSrc->bss_param_change_cnt_present << 6); - tmp210__ |= (pSrc->medium_sync_delay_info_present << 7); - tmp210__ |= (pSrc->eml_capab_present << 8); - tmp210__ |= (pSrc->mld_capab_present << 9); - tmp210__ |= (pSrc->reserved_1 << 10); + tmp218__ = 0U; + tmp218__ |= (pSrc->type << 0); + tmp218__ |= (pSrc->reserved << 3); + tmp218__ |= (pSrc->mld_mac_addr_present << 4); + tmp218__ |= (pSrc->link_id_info_present << 5); + tmp218__ |= (pSrc->bss_param_change_cnt_present << 6); + tmp218__ |= (pSrc->medium_sync_delay_info_present << 7); + tmp218__ |= (pSrc->eml_capab_present << 8); + tmp218__ |= (pSrc->mld_capab_present << 9); + tmp218__ |= (pSrc->reserved_1 << 10); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp210__, 0); + frameshtons(pCtx, pBuf, tmp218__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -29463,13 +29543,13 @@ uint32_t dot11f_pack_ie_mlo_ie(tpAniSirGlobal pCtx, if (pSrc->link_id_info_present) { switch (pSrc->link_id_info_present) { case 1: - tmp211__ = 0U; - tmp211__ |= (pSrc->link_id_info.info.link_id << 0); - tmp211__ |= (pSrc->link_id_info.info.reserved << 4); + tmp219__ = 0U; + tmp219__ |= (pSrc->link_id_info.info.link_id << 0); + tmp219__ |= (pSrc->link_id_info.info.reserved << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp211__; + *pBuf = tmp219__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -29488,14 +29568,14 @@ uint32_t dot11f_pack_ie_mlo_ie(tpAniSirGlobal pCtx, if (pSrc->medium_sync_delay_info_present) { switch (pSrc->medium_sync_delay_info_present) { case 1: - tmp212__ = 0U; - tmp212__ |= (pSrc->medium_sync_delay_info.info.medium_sync_duration << 0); - tmp212__ |= (pSrc->medium_sync_delay_info.info.medium_sync_ofdm_ed_thresh << 8); - tmp212__ |= (pSrc->medium_sync_delay_info.info.medium_sync_max_txop_num << 12); + tmp220__ = 0U; + tmp220__ |= (pSrc->medium_sync_delay_info.info.medium_sync_duration << 0); + tmp220__ |= (pSrc->medium_sync_delay_info.info.medium_sync_ofdm_ed_thresh << 8); + tmp220__ |= (pSrc->medium_sync_delay_info.info.medium_sync_max_txop_num << 12); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp212__, 0); + frameshtons(pCtx, pBuf, tmp220__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -29505,27 +29585,27 @@ uint32_t dot11f_pack_ie_mlo_ie(tpAniSirGlobal pCtx, if (pSrc->eml_capab_present) { switch (pSrc->eml_capab_present) { case 1: - tmp213__ = 0U; - tmp213__ |= (pSrc->eml_capabilities.info.emlsr_support << 0); - tmp213__ |= (pSrc->eml_capabilities.info.emlsr_delay << 1); - tmp213__ |= (pSrc->eml_capabilities.info.emlmr_support << 4); - tmp213__ |= (pSrc->eml_capabilities.info.emlmr_delay << 5); - tmp213__ |= (pSrc->eml_capabilities.info.transition_timeout << 8); - tmp213__ |= (pSrc->eml_capabilities.info.reserved << 12); + tmp221__ = 0U; + tmp221__ |= (pSrc->eml_capabilities.info.emlsr_support << 0); + tmp221__ |= (pSrc->eml_capabilities.info.emlsr_delay << 1); + tmp221__ |= (pSrc->eml_capabilities.info.emlmr_support << 4); + tmp221__ |= (pSrc->eml_capabilities.info.emlmr_delay << 5); + tmp221__ |= (pSrc->eml_capabilities.info.transition_timeout << 8); + tmp221__ |= (pSrc->eml_capabilities.info.reserved << 12); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp213__, 0); + frameshtons(pCtx, pBuf, tmp221__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; - tmp214__ = 0U; - tmp214__ |= (pSrc->eml_capabilities.info.emlmr_rx_nss << 0); - tmp214__ |= (pSrc->eml_capabilities.info.emlmr_tx_nss << 4); + tmp222__ = 0U; + tmp222__ |= (pSrc->eml_capabilities.info.emlmr_rx_nss << 0); + tmp222__ |= (pSrc->eml_capabilities.info.emlmr_tx_nss << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp214__; + *pBuf = tmp222__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -29535,16 +29615,16 @@ uint32_t dot11f_pack_ie_mlo_ie(tpAniSirGlobal pCtx, if (pSrc->mld_capab_present) { switch (pSrc->mld_capab_present) { case 1: - tmp215__ = 0U; - tmp215__ |= (pSrc->mld_capabilities.info.max_simultaneous_link_num << 0); - tmp215__ |= (pSrc->mld_capabilities.info.srs_support << 4); - tmp215__ |= (pSrc->mld_capabilities.info.tid_link_map_supported << 5); - tmp215__ |= (pSrc->mld_capabilities.info.str_freq_separation << 7); - tmp215__ |= (pSrc->mld_capabilities.info.reserved << 12); + tmp223__ = 0U; + tmp223__ |= (pSrc->mld_capabilities.info.max_simultaneous_link_num << 0); + tmp223__ |= (pSrc->mld_capabilities.info.srs_support << 4); + tmp223__ |= (pSrc->mld_capabilities.info.tid_link_map_supported << 5); + tmp223__ |= (pSrc->mld_capabilities.info.str_freq_separation << 7); + tmp223__ |= (pSrc->mld_capabilities.info.reserved << 12); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp215__, 0); + frameshtons(pCtx, pBuf, tmp223__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -29576,14 +29656,14 @@ uint32_t dot11f_pack_ie_mu_edca_param_set(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint8_t tmp216__; - uint8_t tmp217__; - uint8_t tmp218__; - uint8_t tmp219__; - uint8_t tmp220__; - uint8_t tmp221__; - uint8_t tmp222__; - uint8_t tmp223__; + uint8_t tmp224__; + uint8_t tmp225__; + uint8_t tmp226__; + uint8_t tmp227__; + uint8_t tmp228__; + uint8_t tmp229__; + uint8_t tmp230__; + uint8_t tmp231__; nNeeded += 13; while (pSrc->present) { if (nNeeded > nBuf) @@ -29597,100 +29677,100 @@ uint32_t dot11f_pack_ie_mu_edca_param_set(tpAniSirGlobal pCtx, *pBuf = pSrc->qos; *pnConsumed += 1; pBuf += 1; - tmp216__ = 0U; - tmp216__ |= (pSrc->acbe_aifsn << 0); - tmp216__ |= (pSrc->acbe_acm << 4); - tmp216__ |= (pSrc->acbe_aci << 5); - tmp216__ |= (pSrc->unused1 << 7); + tmp224__ = 0U; + tmp224__ |= (pSrc->acbe_aifsn << 0); + tmp224__ |= (pSrc->acbe_acm << 4); + tmp224__ |= (pSrc->acbe_aci << 5); + tmp224__ |= (pSrc->unused1 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp216__; + *pBuf = tmp224__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp217__ = 0U; - tmp217__ |= (pSrc->acbe_acwmin << 0); - tmp217__ |= (pSrc->acbe_acwmax << 4); + tmp225__ = 0U; + tmp225__ |= (pSrc->acbe_acwmin << 0); + tmp225__ |= (pSrc->acbe_acwmax << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp217__; + *pBuf = tmp225__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; *pBuf = pSrc->acbe_muedca_timer; *pnConsumed += 1; pBuf += 1; - tmp218__ = 0U; - tmp218__ |= (pSrc->acbk_aifsn << 0); - tmp218__ |= (pSrc->acbk_acm << 4); - tmp218__ |= (pSrc->acbk_aci << 5); - tmp218__ |= (pSrc->unused2 << 7); + tmp226__ = 0U; + tmp226__ |= (pSrc->acbk_aifsn << 0); + tmp226__ |= (pSrc->acbk_acm << 4); + tmp226__ |= (pSrc->acbk_aci << 5); + tmp226__ |= (pSrc->unused2 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp218__; + *pBuf = tmp226__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp219__ = 0U; - tmp219__ |= (pSrc->acbk_acwmin << 0); - tmp219__ |= (pSrc->acbk_acwmax << 4); + tmp227__ = 0U; + tmp227__ |= (pSrc->acbk_acwmin << 0); + tmp227__ |= (pSrc->acbk_acwmax << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp219__; + *pBuf = tmp227__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; *pBuf = pSrc->acbk_muedca_timer; *pnConsumed += 1; pBuf += 1; - tmp220__ = 0U; - tmp220__ |= (pSrc->acvi_aifsn << 0); - tmp220__ |= (pSrc->acvi_acm << 4); - tmp220__ |= (pSrc->acvi_aci << 5); - tmp220__ |= (pSrc->unused3 << 7); + tmp228__ = 0U; + tmp228__ |= (pSrc->acvi_aifsn << 0); + tmp228__ |= (pSrc->acvi_acm << 4); + tmp228__ |= (pSrc->acvi_aci << 5); + tmp228__ |= (pSrc->unused3 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp220__; + *pBuf = tmp228__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp221__ = 0U; - tmp221__ |= (pSrc->acvi_acwmin << 0); - tmp221__ |= (pSrc->acvi_acwmax << 4); + tmp229__ = 0U; + tmp229__ |= (pSrc->acvi_acwmin << 0); + tmp229__ |= (pSrc->acvi_acwmax << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp221__; + *pBuf = tmp229__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; *pBuf = pSrc->acvi_muedca_timer; *pnConsumed += 1; pBuf += 1; - tmp222__ = 0U; - tmp222__ |= (pSrc->acvo_aifsn << 0); - tmp222__ |= (pSrc->acvo_acm << 4); - tmp222__ |= (pSrc->acvo_aci << 5); - tmp222__ |= (pSrc->unused4 << 7); + tmp230__ = 0U; + tmp230__ |= (pSrc->acvo_aifsn << 0); + tmp230__ |= (pSrc->acvo_acm << 4); + tmp230__ |= (pSrc->acvo_aci << 5); + tmp230__ |= (pSrc->unused4 << 7); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp222__; + *pBuf = tmp230__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; - tmp223__ = 0U; - tmp223__ |= (pSrc->acvo_acwmin << 0); - tmp223__ |= (pSrc->acvo_acwmax << 4); + tmp231__ = 0U; + tmp231__ |= (pSrc->acvo_acwmin << 0); + tmp231__ |= (pSrc->acvo_acwmax << 4); if (unlikely(nBuf < 1)) return DOT11F_INCOMPLETE_IE; - *pBuf = tmp223__; + *pBuf = tmp231__; *pnConsumed += 1; pBuf += 1; nBuf -= 1 ; @@ -29868,10 +29948,10 @@ uint32_t dot11f_pack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, uint8_t *pIeLen = 0; uint32_t nConsumedOnEntry = *pnConsumed; uint32_t nNeeded = 0U; - uint16_t tmp224__; - uint32_t tmp225__; - uint32_t tmp226__; - uint32_t tmp227__; + uint16_t tmp232__; + uint32_t tmp233__; + uint32_t tmp234__; + uint32_t tmp235__; uint32_t status = DOT11F_PARSE_SUCCESS; status = dot11f_get_packed_ie_reduced_neighbor_report(pCtx, pSrc, &nNeeded); if (!DOT11F_SUCCEEDED(status)) @@ -29883,16 +29963,16 @@ uint32_t dot11f_pack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, ++pBuf; ++(*pnConsumed); pIeLen = pBuf; ++pBuf; ++(*pnConsumed); - tmp224__ = 0U; - tmp224__ |= (pSrc->tbtt_type << 0); - tmp224__ |= (pSrc->filtered_neighbor_ap << 2); - tmp224__ |= (pSrc->reserved << 3); - tmp224__ |= (pSrc->tbtt_info_count << 4); - tmp224__ |= (pSrc->tbtt_info_len << 8); + tmp232__ = 0U; + tmp232__ |= (pSrc->tbtt_type << 0); + tmp232__ |= (pSrc->filtered_neighbor_ap << 2); + tmp232__ |= (pSrc->reserved << 3); + tmp232__ |= (pSrc->tbtt_info_count << 4); + tmp232__ |= (pSrc->tbtt_info_len << 8); if (unlikely(nBuf < 2)) return DOT11F_INCOMPLETE_IE; - frameshtons(pCtx, pBuf, tmp224__, 0); + frameshtons(pCtx, pBuf, tmp232__, 0); *pnConsumed += 2; pBuf += 2; nBuf -= 2 ; @@ -29920,15 +30000,15 @@ uint32_t dot11f_pack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, *pBuf = pSrc->tbtt_info.tbtt_info_4.tbtt_offset; *pnConsumed += 1; pBuf += 1; - tmp225__ = 0U; - tmp225__ |= (pSrc->tbtt_info.tbtt_info_4.mld_id << 0); - tmp225__ |= (pSrc->tbtt_info.tbtt_info_4.link_id << 8); - tmp225__ |= (pSrc->tbtt_info.tbtt_info_4.bss_param_change_cnt << 12); - tmp225__ |= (pSrc->tbtt_info.tbtt_info_4.reserved << 20); + tmp233__ = 0U; + tmp233__ |= (pSrc->tbtt_info.tbtt_info_4.mld_id << 0); + tmp233__ |= (pSrc->tbtt_info.tbtt_info_4.link_id << 8); + tmp233__ |= (pSrc->tbtt_info.tbtt_info_4.bss_param_change_cnt << 12); + tmp233__ |= (pSrc->tbtt_info.tbtt_info_4.reserved << 20); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp225__, 0); + frameshtonl(pCtx, pBuf, tmp233__, 0); *pnConsumed += 4; /* fieldsEndFlag = 1 */ nBuf -= 4 ; @@ -29992,15 +30072,15 @@ uint32_t dot11f_pack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, DOT11F_MEMCPY(pCtx, pBuf, pSrc->tbtt_info.tbtt_info_10.bssid, 6); *pnConsumed += 6; pBuf += 6; - tmp226__ = 0U; - tmp226__ |= (pSrc->tbtt_info.tbtt_info_10.mld_id << 0); - tmp226__ |= (pSrc->tbtt_info.tbtt_info_10.link_id << 8); - tmp226__ |= (pSrc->tbtt_info.tbtt_info_10.bss_param_change_cnt << 12); - tmp226__ |= (pSrc->tbtt_info.tbtt_info_10.reserved << 20); + tmp234__ = 0U; + tmp234__ |= (pSrc->tbtt_info.tbtt_info_10.mld_id << 0); + tmp234__ |= (pSrc->tbtt_info.tbtt_info_10.link_id << 8); + tmp234__ |= (pSrc->tbtt_info.tbtt_info_10.bss_param_change_cnt << 12); + tmp234__ |= (pSrc->tbtt_info.tbtt_info_10.reserved << 20); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp226__, 0); + frameshtonl(pCtx, pBuf, tmp234__, 0); *pnConsumed += 4; /* fieldsEndFlag = 1 */ nBuf -= 4 ; @@ -30063,15 +30143,15 @@ uint32_t dot11f_pack_ie_reduced_neighbor_report(tpAniSirGlobal pCtx, *pBuf = pSrc->tbtt_info.tbtt_info_16.psd_20mhz; *pnConsumed += 1; pBuf += 1; - tmp227__ = 0U; - tmp227__ |= (pSrc->tbtt_info.tbtt_info_16.mld_id << 0); - tmp227__ |= (pSrc->tbtt_info.tbtt_info_16.link_id << 8); - tmp227__ |= (pSrc->tbtt_info.tbtt_info_16.bss_param_change_cnt << 12); - tmp227__ |= (pSrc->tbtt_info.tbtt_info_16.reserved << 20); + tmp235__ = 0U; + tmp235__ |= (pSrc->tbtt_info.tbtt_info_16.mld_id << 0); + tmp235__ |= (pSrc->tbtt_info.tbtt_info_16.link_id << 8); + tmp235__ |= (pSrc->tbtt_info.tbtt_info_16.bss_param_change_cnt << 12); + tmp235__ |= (pSrc->tbtt_info.tbtt_info_16.reserved << 20); if (unlikely(nBuf < 4)) return DOT11F_INCOMPLETE_IE; - frameshtonl(pCtx, pBuf, tmp227__, 0); + frameshtonl(pCtx, pBuf, tmp235__, 0); *pnConsumed += 4; /* fieldsEndFlag = 1 */ nBuf -= 4 ;