qcacld-3.0: Allow TWT responder for LL_LT_SAP in MCC mode
Do not send TWT disable command to firmware if LL_LT_SAP and other infra connection are present in MCC mode. Change-Id: I38727bb2bda4afcc00d68560bd46cc26048ef5be CRs-Fixed: 3550206
This commit is contained in:

zatwierdzone przez
Rahul Choudhary

rodzic
5a19eb6a50
commit
fe0c9461e0
@@ -1299,9 +1299,17 @@ osif_twt_concurrency_update_on_mcc(struct wlan_objmgr_pdev *pdev,
|
|||||||
QDF_STATUS status;
|
QDF_STATUS status;
|
||||||
uint8_t pdev_id = wlan_objmgr_pdev_get_pdev_id(pdev);
|
uint8_t pdev_id = wlan_objmgr_pdev_get_pdev_id(pdev);
|
||||||
uint32_t reason;
|
uint32_t reason;
|
||||||
|
uint8_t vdev_id;
|
||||||
|
struct wlan_objmgr_psoc *psoc;
|
||||||
|
|
||||||
|
vdev_id = wlan_vdev_get_id(vdev);
|
||||||
|
psoc = wlan_pdev_get_psoc(pdev);
|
||||||
|
|
||||||
if (vdev->vdev_mlme.vdev_opmode == QDF_SAP_MODE &&
|
if (vdev->vdev_mlme.vdev_opmode == QDF_SAP_MODE &&
|
||||||
vdev->vdev_mlme.mlme_state == WLAN_VDEV_S_UP) {
|
vdev->vdev_mlme.mlme_state == WLAN_VDEV_S_UP) {
|
||||||
|
if (policy_mgr_is_vdev_ll_lt_sap(psoc, vdev_id))
|
||||||
|
return;
|
||||||
|
|
||||||
osif_debug("Concurrency exist on SAP vdev");
|
osif_debug("Concurrency exist on SAP vdev");
|
||||||
reason = HOST_TWT_DISABLE_REASON_CONCURRENCY_MCC;
|
reason = HOST_TWT_DISABLE_REASON_CONCURRENCY_MCC;
|
||||||
status = osif_twt_send_responder_disable_cmd(twt_arg->psoc,
|
status = osif_twt_send_responder_disable_cmd(twt_arg->psoc,
|
||||||
|
Reference in New Issue
Block a user