From 676dacfbb92653e5c853c4fee0ddb67f2db2c938 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 27 Dec 2018 17:57:24 -0800 Subject: [PATCH] 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 --- core/sap/src/sap_ch_select.h | 5 ----- core/sap/src/sap_internal.h | 8 -------- 2 files changed, 13 deletions(-) diff --git a/core/sap/src/sap_ch_select.h b/core/sap/src/sap_ch_select.h index 330dbe4a1da2..8e833a25c82f 100644 --- a/core/sap/src/sap_ch_select.h +++ b/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; diff --git a/core/sap/src/sap_internal.h b/core/sap/src/sap_internal.h index 1db7d19bdf73..7afaa8e511b5 100644 --- a/core/sap/src/sap_internal.h +++ b/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;