qcacmn: Changes for BA window update
Window size needs to be incremented by 1 since fw needs to represent a value of 256 using just 8 bits. Change-Id: I18cdb6fb928f28893dc0e1fd2fb574a12ca53972 CRs-Fixed: 2025197
This commit is contained in:

committed by
Sandeep Puligilla

parent
da0e2f41b7
commit
30e8135859
@@ -994,9 +994,14 @@ static void dp_htt_t2h_msg_handler(void *context, HTC_PACKET *pkt)
|
|||||||
win_sz = HTT_RX_ADDBA_WIN_SIZE_GET(*msg_word);
|
win_sz = HTT_RX_ADDBA_WIN_SIZE_GET(*msg_word);
|
||||||
peer = dp_peer_find_by_id(soc->dp_soc, peer_id);
|
peer = dp_peer_find_by_id(soc->dp_soc, peer_id);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Window size needs to be incremented by 1
|
||||||
|
* since fw needs to represent a value of 256
|
||||||
|
* using just 8 bits
|
||||||
|
*/
|
||||||
if (peer) {
|
if (peer) {
|
||||||
status = dp_addba_requestprocess_wifi3(peer,
|
status = dp_addba_requestprocess_wifi3(peer,
|
||||||
0, tid, 0, win_sz, 0xffff);
|
0, tid, 0, win_sz + 1, 0xffff);
|
||||||
QDF_TRACE(QDF_MODULE_ID_TXRX,
|
QDF_TRACE(QDF_MODULE_ID_TXRX,
|
||||||
QDF_TRACE_LEVEL_INFO,
|
QDF_TRACE_LEVEL_INFO,
|
||||||
FL("PeerID %d BAW %d TID %d stat %d\n"),
|
FL("PeerID %d BAW %d TID %d stat %d\n"),
|
||||||
|
Reference in New Issue
Block a user