From 0108c7d03215677493fcf9f1d1978bdbd8723d0e Mon Sep 17 00:00:00 2001 From: Yu Tian Date: Wed, 19 Feb 2020 17:02:49 +0800 Subject: [PATCH] qcacmn: update REO SSN when TX compl of ADDBA resp There is possibility that DUT receives non-aggr frames with non-aggr SN during BA setup during BA session setup. SSN updates when ADDBA req is processed, should also update REO SSN one more time when ADDBA resp sends This will let REO to be able to receive frames in BA session with new SN. Change-Id: I4791bcd6f1ede90615c883d31426fcdecd50a631 CRs-Fixed: 2623505 --- dp/wifi3.0/dp_peer.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dp/wifi3.0/dp_peer.c b/dp/wifi3.0/dp_peer.c index 15f86f7ba627..2c975b06e0c8 100644 --- a/dp/wifi3.0/dp_peer.c +++ b/dp/wifi3.0/dp_peer.c @@ -2641,6 +2641,16 @@ int dp_addba_resp_tx_completion_wifi3(struct cdp_soc_t *cdp_soc, goto fail; } + if (dp_rx_tid_update_wifi3(peer, tid, + rx_tid->ba_win_size, + rx_tid->startseqnum)) { + dp_err("%s: failed update REO SSN", __func__); + } + + dp_info("%s: tid %u window_size %u start_seq_num %u", + __func__, tid, rx_tid->ba_win_size, + rx_tid->startseqnum); + /* First Session */ if (peer->active_ba_session_cnt == 0) { if (rx_tid->ba_win_size > 64 && rx_tid->ba_win_size <= 256)