diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index 0b18cd055a36..16a353b5e1d5 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -847,10 +847,12 @@ struct ese_bcn_report_rsp { #define TSRS_11AG_RATE_6MBPS 0xC #define TSRS_11B_RATE_5_5MBPS 0xB -typedef struct sSirMacESETSRSIE { + +struct ese_tsrs_ie { uint8_t tsid; uint8_t rates[8]; -} tSirMacESETSRSIE; +}; + typedef struct sSirMacESETSMIE { uint8_t tsid; uint8_t state; @@ -1575,7 +1577,7 @@ typedef struct sSirAddtsReqInfo { tSirTclasInfo tclasInfo[SIR_MAC_TCLASIE_MAXNUM]; uint8_t tclasProc; #if defined(FEATURE_WLAN_ESE) - tSirMacESETSRSIE tsrsIE; + struct ese_tsrs_ie tsrsIE; uint8_t tsrsPresent:1; #endif uint8_t wmeTspecPresent:1; diff --git a/core/mac/src/include/parser_api.h b/core/mac/src/include/parser_api.h index 64d477a1e9d6..aa316542a6d7 100644 --- a/core/mac/src/include/parser_api.h +++ b/core/mac/src/include/parser_api.h @@ -891,7 +891,7 @@ QDF_STATUS populate_dot11f_ese_cckm_opaque(struct mac_context *mac, tDot11fIEESECckmOpaque *pDot11f); void populate_dot11_tsrsie(struct mac_context *mac, - tSirMacESETSRSIE *pOld, + struct ese_tsrs_ie *pOld, tDot11fIEESETrafStrmRateSet *pDot11f, uint8_t rate_length); void populate_dot11f_re_assoc_tspec(struct mac_context *mac, diff --git a/core/mac/src/pe/lim/lim_send_frames_host_roam.c b/core/mac/src/pe/lim/lim_send_frames_host_roam.c index be5133d57b36..4d3b4e4d510c 100644 --- a/core/mac/src/pe/lim/lim_send_frames_host_roam.c +++ b/core/mac/src/pe/lim/lim_send_frames_host_roam.c @@ -267,7 +267,7 @@ void lim_send_reassoc_req_with_ft_ies_mgmt_frame(struct mac_context *mac_ctx, if (pe_session->pLimReAssocReq->eseTspecInfo. numTspecs) { - tSirMacESETSRSIE tsrs_ie; + struct ese_tsrs_ie tsrs_ie; tsrs_ie.tsid = 0; tsrs_ie.rates[0] = rate; diff --git a/core/mac/src/sys/legacy/src/utils/src/parser_api.c b/core/mac/src/sys/legacy/src/utils/src/parser_api.c index 045ae23251c2..c79dcb5759dd 100644 --- a/core/mac/src/sys/legacy/src/utils/src/parser_api.c +++ b/core/mac/src/sys/legacy/src/utils/src/parser_api.c @@ -4745,7 +4745,7 @@ QDF_STATUS populate_dot11f_ese_cckm_opaque(struct mac_context *mac, } /* End populate_dot11f_ese_cckm_opaque. */ void populate_dot11_tsrsie(struct mac_context *mac, - tSirMacESETSRSIE *pOld, + struct ese_tsrs_ie *pOld, tDot11fIEESETrafStrmRateSet *pDot11f, uint8_t rate_length) {