qcacld-3.0: SAP in CAC, block concurrency

At the time of starting / stopping 2nd or 3rd connection,
Host sends WMI_PDEV_SET_HW_CMDID command to FW to change
HW mode to DBS / Single-Mac based on concurrency rule.
FW upon receiving this command turns off TXRX chainmask
which means that radar pulses might get missed for
20ms - 50ms during CAC period. To fix this, Host should
block new connection when existing SAP is performing CAC
on DFS channel.

Change-Id: I51eb117afa763a6ef54211808875419026c9075b
CRs-Fixed: 2533717
This commit is contained in:
Rachit Kankane
2019-10-10 13:52:57 +05:30
committed by nshrivas
parent f004d01532
commit 914b79a337
6 changed files with 49 additions and 5 deletions

View File

@@ -1278,10 +1278,16 @@ QDF_STATUS wlansap_roam_callback(void *ctx,
wlansap_roam_process_ch_change_success(mac_ctx, sap_ctx,
csr_roam_info, &qdf_ret_status);
qdf_ret_status =
sap_signal_hdd_event(sap_ctx, csr_roam_info,
eSAP_CHANNEL_CHANGE_RESP,
(void *)QDF_STATUS_SUCCESS);
if (QDF_IS_STATUS_ERROR(qdf_ret_status))
qdf_ret_status =
sap_signal_hdd_event(sap_ctx, csr_roam_info,
eSAP_CHANNEL_CHANGE_RESP,
(void *)eSAP_STATUS_FAILURE);
else
qdf_ret_status =
sap_signal_hdd_event(sap_ctx, csr_roam_info,
eSAP_CHANNEL_CHANGE_RESP,
(void *)QDF_STATUS_SUCCESS);
break;
case eCSR_ROAM_RESULT_CHANNEL_CHANGE_FAILURE:
/* This is much more serious issue, we have to vacate the