Browse Source

qcacld-3.0: Remove SapAllChnlList from struct sap_context

Change Ia0fa016b174ef4b50e2cc339e4e476ec65642dbf ("qcacld-3.0: Use dfs
component support") removed the logic that utilized the SapAllChnlList
in struct sap_context. Since this field is now obsolete, remove it,
along with the underlying tAll5GChannelList typedef that is also now
obsolete.

Change-Id: I5a07c44ca4138af5494d1a6f6e1d08158d244be2
CRs-Fixed: 2374834
Jeff Johnson 6 years ago
parent
commit
676dacfbb9
2 changed files with 0 additions and 13 deletions
  1. 0 5
      core/sap/src/sap_ch_select.h
  2. 0 8
      core/sap/src/sap_internal.h

+ 0 - 5
core/sap/src/sap_ch_select.h

@@ -126,11 +126,6 @@ typedef struct sChannelInfo {
 	bool valid;             /* if the channel is valid to be picked as new channel */
 } tChannelInfo;
 
-typedef struct sAll5GChannelList {
-	uint8_t numChannel;
-	tChannelInfo *channelList;
-} tAll5GChannelList;
-
 typedef struct sSapChannelListInfo {
 	uint8_t numChannel;
 	uint8_t *channelList;

+ 0 - 8
core/sap/src/sap_internal.h

@@ -178,14 +178,6 @@ struct sap_context {
 
 	/* session to scan */
 	bool isScanSessionOpen;
-	/*
-	 * This list of channels will hold 5Ghz enabled,DFS in the
-	 * Current RegDomain.This list will be used to select a channel,
-	 * for SAP to start including any DFS channel and also to select
-	 * any random channel[5Ghz-(NON-DFS/DFS)],if SAP is operating
-	 * on a DFS channel and a RADAR is detected on the channel.
-	 */
-	tAll5GChannelList SapAllChnlList;
 	uint32_t auto_channel_select_weight;
 	tSapAcsChannelInfo acsBestChannelInfo;
 	bool enableOverLapCh;