qcacld-3.0: Allow SAP STA SCC on unsafe channel
When g_sta_sap_scc_on_lte_coex_chan = 1, SAP is allowed SCC with
STA on unsafe channel.
Use API policy_mgr_is_sap_freq_allowed to check such condition
in wlansap_get_chan_band_restrict.
Change-Id: I62b3ad83ccdfc80b5e72cad733618326e4fed936
CRs-Fixed: 3368195
此提交包含在:
@@ -3594,7 +3594,8 @@ qdf_freq_t wlansap_get_chan_band_restrict(struct sap_context *sap_ctx,
|
||||
sap_debug("channel is passive");
|
||||
*csa_reason = CSA_REASON_CHAN_PASSIVE;
|
||||
return wlansap_get_safe_channel_from_pcl_for_sap(sap_ctx);
|
||||
} else if (!policy_mgr_is_safe_channel(mac->psoc, sap_ctx->chan_freq)) {
|
||||
} else if (!policy_mgr_is_sap_freq_allowed(mac->psoc,
|
||||
sap_ctx->chan_freq)) {
|
||||
sap_debug("channel is unsafe");
|
||||
*csa_reason = CSA_REASON_UNSAFE_CHANNEL;
|
||||
return wlansap_get_safe_channel_from_pcl_and_acs_range(sap_ctx);
|
||||
|
新增問題並參考
封鎖使用者