Przeglądaj źródła

qcacmn: Set BA status to active when receiving ADDBA event

Usually, ADDBA frame exchange is handled by HOST. But when this
is offloaded to FW, an HTT event is reported and HOST only needs
to update RX tid parameters, no need to send addba resp frame again.
BA status update is in addba resp TX completion, so there is no chance
to update this field in ADDBA offload case. This change is used to
set ba status to active to make ba session in correct status.

Change-Id: Iae4a1974cf4b8c55b20862df51b14d5011aefd73
CRs-Fixed: 3201455
Yu Tian 3 lat temu
rodzic
commit
7c157e8716
1 zmienionych plików z 8 dodań i 2 usunięć
  1. 8 2
      dp/wifi3.0/dp_htt.c

+ 8 - 2
dp/wifi3.0/dp_htt.c

@@ -3154,10 +3154,16 @@ dp_htt_rx_addba_handler(struct dp_soc *soc, uint16_t peer_id,
 					       peer->vdev->vdev_id, 0,
 					       tid, 0, win_sz, 0xffff);
 
-	dp_info("PeerID %d BAW %d TID %d stat %d",
-		peer_id, win_sz, tid, status);
+	dp_addba_resp_tx_completion_wifi3(
+		(struct cdp_soc_t *)soc,
+		peer->mac_addr.raw, peer->vdev->vdev_id,
+		tid,
+		status);
 
 	dp_peer_unref_delete(peer, DP_MOD_ID_HTT);
+
+	dp_info("PeerID %d BAW %d TID %d stat %d",
+		peer_id, win_sz, tid, status);
 }
 
 /*