From 7c157e8716b0a4cb27c8ff0228e56ffa9abcd234 Mon Sep 17 00:00:00 2001 From: Yu Tian Date: Fri, 10 Jun 2022 09:21:09 +0800 Subject: [PATCH] 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 --- dp/wifi3.0/dp_htt.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dp/wifi3.0/dp_htt.c b/dp/wifi3.0/dp_htt.c index b3f1498bf8..48548ad5f1 100644 --- a/dp/wifi3.0/dp_htt.c +++ b/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); } /*