android_kernel_xiaomi_sm8350/components
gaurank kathpalia b8db936cfe qcacld-3.0: Select a different channel than self for SAP restart
Scenario of the issue is :-
1. Keep sta+sap_scc_dfs_ch as 0 to disable the dfs concurrency
2. Start a SAP on any 5ghz channel(NON-DFS).
3. Start a STA on a DFS channel.

Expectation: The SAP should not do MCC, SCC as the above
mentioned ini is 0, also MCC is not prefereed in a HW
solution where DFS is preferred, hence the SAP should go
to 2.4ghz and DBS should be the expectation.

Observation: The SAP does not do a DBS operation, and falls to
MCC here.

Reason: When the SAP gets a PCL in the path of SAP restart,
the PCL feels that a new SAP is going to come up, and hence
gives the best channel (first element of PCL ) as its own,
which leads to restart being rejected, as the SAP cannot start
on a channel which is the same as existing.
The final channel then selected is the STA channel, leading to
DFS SCC which is also not allowed. Hence the SAP is now stuck
in MCC(STA+SAP , one on DFS, and the other on NON-DFS channel).

Fix: The fix is to get an alternate channel for SAP restart, other
than the channel on which the SAP is already up, to lead to DBS,
if the STA channel is not suitable for SCC operaion.

Change-Id: Iab3ad22b2f970ca26ce3e6bc7a9b5ee34bc7e7ba
CRs-Fixed: 2443718
2019-05-08 04:47:00 -07:00
..
action_oui qcacld-3.0: Add ini to disable some aggressive TX features 2018-12-13 23:21:25 -08:00
cfg qcacld-3.0: Replace CONVERGED_TDLS_ENABLE feature flag 2019-02-20 09:09:34 -08:00
cmn_services/policy_mgr qcacld-3.0: Select a different channel than self for SAP restart 2019-05-08 04:47:00 -07:00
disa qcacld-3.0: disa: Replace explicit comparison to NULL 2019-03-20 00:57:48 -07:00
dsc qcacld-3.0: Disable dsc_debug log in perf-build 2019-04-18 02:33:16 -07:00
fw_offload qcacld-3.0: Add gettime of PTP for NON-QC platform 2019-04-09 11:56:39 -07:00
ipa qcacld-3.0: Enable STA IPA offload for MDM platforms 2019-04-30 02:13:14 -07:00
mlme qcacld-3.0: Rename mlme log macros 2019-05-08 02:51:33 -07:00
nan qcacld-3.0: Fix uninitialized subtype usage by policy manager 2019-05-01 16:21:03 -07:00
ocb qcacld-3.0: Replace EDCA_AC_* macros with QCA_WLAN_AC_* 2019-03-24 17:54:49 -07:00
p2p qcacld-3.0: Stop ROC timer synchronously 2019-05-08 02:51:25 -07:00
pmo qcacld-3.0: Fix bss peer use after free in pmo 2019-05-08 04:46:56 -07:00
target_if qcacld-3.0: Send idle roam trigger monitor command to firmware 2019-04-18 17:02:14 -07:00
tdls qcacld-3.0: Fix bss peer use after free in TDLS 2019-05-03 09:23:47 -07:00