qcacld-3.0: Retain channel info from hostapd

Currently the driver modifies the channel list
which came from hostapd in trim channel list API
in case of concurrency present.
This would in turn prevent SAP to change channel
to a safe channel whenever a LTE-COEX event comes
as the acs channel list would contain only one channel
that would be the SAP channel itself.

Fix is to retain the info of channels which came from
the hostapd, and use this info to restart he SAP.

Change-Id: I9d43930d78f1eaedb01139a9ddc319b610d21862
CRs-Fixed: 2501400
This commit is contained in:
gaurank kathpalia
2019-08-14 11:33:52 +05:30
committed by nshrivas
parent dae6817208
commit 7ca94aead5
5 changed files with 40 additions and 15 deletions

View File

@@ -430,6 +430,8 @@ struct sap_acs_cfg {
uint8_t end_ch;
uint8_t *ch_list;
uint8_t ch_list_count;
uint8_t *master_ch_list;
uint8_t master_ch_list_count;
#ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE
uint8_t skip_scan_status;
uint8_t skip_scan_range1_stch;