qcacld-3.0: Try to re-enable roaming after SAP/P2P-GO is stopped

Currently, roaming gets disabled on STA when CSA is triggered
on concurrent SAP/P2P-GO and re-enabled once CSA is completed.
But SAP/P2P-GO might get stopped before CSA is completed.
Roaming is not re-enabled in such cases.
Try to re-enable roaming with reason RSO_SAP_CHANNEL_CHANGE once
SAP/P2P-GO stop is completed. Roaming gets enabled only if it's
disabled due to RSO_SAP_CHANNEL_CHANGE.

Change-Id: I57b192beda55673dbf80bed4eadbac70653d2cd1
CRs-Fixed: 3661380
此提交包含在:
Srinivas Dasari
2023-11-10 15:26:31 +05:30
提交者 Ravindra Konda
父節點 f77eade15e
當前提交 eb4866aa31

查看文件

@@ -167,6 +167,9 @@ if_mgr_ap_stop_bss_complete(struct wlan_objmgr_vdev *vdev,
if_mgr_enable_roaming(pdev, vdev, RSO_START_BSS);
}
ifmgr_debug("SAP/P2P-GO is stopped, re-enable roaming if it's stopped due to SAP/P2P-GO CSA");
if_mgr_enable_roaming(pdev, vdev, RSO_SAP_CHANNEL_CHANGE);
policy_mgr_get_mcc_scc_switch(psoc, &mcc_scc_switch);
if (wlan_vdev_mlme_get_opmode(vdev) == QDF_P2P_GO_MODE &&
mcc_scc_switch == QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL)