From 9bb66a7d99bf80a877a18135d6c7b5040e1a8a5a Mon Sep 17 00:00:00 2001 From: Yu Tian Date: Wed, 25 May 2022 14:38:41 +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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dp/wifi3.0/dp_htt.c b/dp/wifi3.0/dp_htt.c index 3dc1b76ff8d0..3f92e71ee28e 100644 --- a/dp/wifi3.0/dp_htt.c +++ b/dp/wifi3.0/dp_htt.c @@ -4709,6 +4709,12 @@ static void dp_htt_t2h_msg_handler(void *context, HTC_PACKET *pkt) peer->mac_addr.raw, peer->vdev->vdev_id, 0, tid, 0, win_sz + 1, 0xffff); + dp_addba_resp_tx_completion_wifi3( + (struct cdp_soc_t *)soc->dp_soc, + peer->mac_addr.raw, peer->vdev->vdev_id, + tid, + status); + /* * If PEER_LOCK_REF_PROTECT enbled dec ref * which is inc by dp_peer_get_ref_by_id