Преглед изворни кода

qcacld-3.0: Choose proper TID for deauth frames

FW asserts if the host sends deauth frames before
peer assoc with MLO MGMT TID. The host needs to
send all the management frames before peer assoc
without link agnostic bit in the WMI_MGMT_TX_CMD.

For MLO vdevs, send management frames with link
agnostic flag only if VDEV is in UP state.

CRs-Fixed: 3485708
Change-Id: I9fdee53e0f902a089ad3c5c8c99e720423cf9d6e
Surya Prakash Sivaraj пре 1 година
родитељ
комит
30e70b1631
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      core/wma/src/wma_data.c

+ 1 - 2
core/wma/src/wma_data.c

@@ -2694,10 +2694,9 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
 	mgmt_param.peer_rssi = peer_rssi;
 	if (iface && wlan_vdev_mlme_get_opmode(iface->vdev) == QDF_STA_MODE &&
 	    wlan_vdev_mlme_is_mlo_vdev(iface->vdev) &&
-	    frmType == TXRX_FRM_802_11_MGMT &&
+	    wma_is_vdev_up(vdev_id) && frmType == TXRX_FRM_802_11_MGMT &&
 	    pFc->subType != SIR_MAC_MGMT_PROBE_REQ &&
 	    pFc->subType != SIR_MAC_MGMT_AUTH &&
-	    pFc->subType != SIR_MAC_MGMT_ASSOC_REQ &&
 	    action != (ACTION_CATEGORY_PUBLIC << 8 | TDLS_DISCOVERY_RESPONSE) &&
 	    action != (ACTION_CATEGORY_BACK << 8 | ADDBA_RESPONSE))
 		mgmt_param.mlo_link_agnostic = true;