Sfoglia il codice sorgente

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
Jeff Johnson 6 anni fa
parent
commit
0fadd22e56

+ 0 - 5
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);

+ 0 - 14
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)