qcacld-3.0: Enhance Concurrency of CSA and AP Start

In MLO STA 2.4 GHz + 5 GHz High band and SAP concurrency case,
5 GHz Low band SAP will move to MLO 5 GHz link's home channel for
SCC after MLO STA is up.
But GO starts on 5 GHz high band when SAP CSA is in process and
pass the policy mgr concurrency check because the SAP channel
is still 5 GHz low band.
Fix by defer GO BSS start if any CSA is in progress and also
check any AP start is pending for STA, SAP force SCC concurrency
handling.

Change-Id: I0fcd799017d5048f3574687f913a396ab4d7ade1
CRs-Fixed: 3418351
This commit is contained in:
Liangwei Dong
2023-02-28 18:25:35 +08:00
zatwierdzone przez Madan Koyyalamudi
rodzic 29869c5fa8
commit d6b1c34002
4 zmienionych plików z 133 dodań i 1 usunięć

Wyświetl plik

@@ -37,6 +37,7 @@ QDF_STATUS if_mgr_ap_start_bss(struct wlan_objmgr_vdev *vdev,
{
struct wlan_objmgr_psoc *psoc;
struct wlan_objmgr_pdev *pdev;
QDF_STATUS status;
pdev = wlan_vdev_get_pdev(vdev);
if (!pdev)
@@ -59,6 +60,13 @@ QDF_STATUS if_mgr_ap_start_bss(struct wlan_objmgr_vdev *vdev,
return QDF_STATUS_E_FAILURE;
}
}
if (policy_mgr_is_chan_switch_in_progress(psoc)) {
status = policy_mgr_wait_chan_switch_complete_evt(psoc);
if (!QDF_IS_STATUS_SUCCESS(status)) {
ifmgr_err("qdf wait for csa event failed!!");
return QDF_STATUS_E_FAILURE;
}
}
if (policy_mgr_is_sta_active_connection_exists(psoc))
/* Disable Roaming on all vdev's before starting bss */