From 0fadd22e56623a84e3d38cef27b82df9a0fd76df Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 16 Dec 2018 15:17:13 -0800 Subject: [PATCH] qcacld-3.0: Remove populate_dot11f_wider_bw_chan_switch_ann() Function populate_dot11f_wider_bw_chan_switch_ann() is unused, so removeit. Change-Id: I88cea0abaa376798a468bf35ef120d14115c915b CRs-Fixed: 2370791 --- core/mac/src/include/parser_api.h | 5 ----- core/mac/src/sys/legacy/src/utils/src/parser_api.c | 14 -------------- 2 files changed, 19 deletions(-) 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)