diff --git a/core/mac/src/include/parser_api.h b/core/mac/src/include/parser_api.h index 1070222e6b..30826d856b 100644 --- a/core/mac/src/include/parser_api.h +++ b/core/mac/src/include/parser_api.h @@ -1075,11 +1075,6 @@ populate_dot11f_operating_mode(struct mac_context *mac, tDot11fIEOperatingMode *pDot11f, struct pe_session *pe_session); -void -populate_dot11f_wider_bw_chan_switch_ann(struct mac_context *mac, - tDot11fIEWiderBWChanSwitchAnn *pDot11f, - struct pe_session *pe_session); - void populate_dot11f_timeout_interval(struct mac_context *mac, tDot11fIETimeoutInterval *pDot11f, uint8_t type, uint32_t value); 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 6cc484954f..eed6526bc8 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 @@ -329,20 +329,6 @@ populate_dot11f_avoid_channel_ie(struct mac_context *mac_ctx, } #endif /* FEATURE_AP_MCC_CH_AVOIDANCE */ -void -populate_dot11f_wider_bw_chan_switch_ann(struct mac_context *mac, - tDot11fIEWiderBWChanSwitchAnn *pDot11f, - struct pe_session *pe_session) -{ - pDot11f->present = 1; - pDot11f->newChanWidth = - pe_session->gLimWiderBWChannelSwitch.newChanWidth; - pDot11f->newCenterChanFreq0 = - pe_session->gLimWiderBWChannelSwitch.newCenterChanFreq0; - pDot11f->newCenterChanFreq1 = - pe_session->gLimWiderBWChannelSwitch.newCenterChanFreq1; -} - QDF_STATUS populate_dot11f_country(struct mac_context *mac, tDot11fIECountry *pDot11f, struct pe_session *pe_session)