Bläddra i källkod

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
Jyoti Kumari 1 år sedan
förälder
incheckning
fe0c9461e0
1 ändrade filer med 8 tillägg och 0 borttagningar
  1. 8 0
      os_if/twt/src/osif_twt_ext_req.c

+ 8 - 0
os_if/twt/src/osif_twt_ext_req.c

@@ -1299,9 +1299,17 @@ osif_twt_concurrency_update_on_mcc(struct wlan_objmgr_pdev *pdev,
 	QDF_STATUS status;
 	uint8_t pdev_id = wlan_objmgr_pdev_get_pdev_id(pdev);
 	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 &&
 	    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");
 		reason = HOST_TWT_DISABLE_REASON_CONCURRENCY_MCC;
 		status = osif_twt_send_responder_disable_cmd(twt_arg->psoc,