Ver código fonte

qcacld-3.0: Fix assert for deauth sent on inactive link

Set WMI_MLO_MGMT_TID for mlo link agnostic mgmt frames.

Change-Id: I79fdd1f0bd9176ae156d1c048cfe87a25aa143d0
CRs-Fixed: 3265334
Jianmin Zhu 2 anos atrás
pai
commit
7d579bf662
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7 0
      core/wma/src/wma_data.c

+ 7 - 0
core/wma/src/wma_data.c

@@ -2673,6 +2673,13 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
 	mgmt_param.use_6mbps = use_6mbps;
 	mgmt_param.tx_type = tx_frm_index;
 	mgmt_param.peer_rssi = peer_rssi;
+	if (wlan_vdev_mlme_get_opmode(iface->vdev) == QDF_STA_MODE &&
+	    wlan_vdev_mlme_is_mlo_vdev(iface->vdev) &&
+	    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)
+		mgmt_param.mlo_link_agnostic = true;
 
 	if (tx_flag & HAL_USE_INCORRECT_KEY_PMF)
 		mgmt_param.tx_flags |= MGMT_TX_USE_INCORRECT_KEY;