mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
qcacld-3.0: Fix limiting BA window size 64 for NAN connection
For NAN connection, mlmStaContext.he_capable in sta_ds isn't filled in
lim_add_ndi_peer, can use lim_is_session_he_capable for BA window size.
Change-Id: I66a4611da164789bcbaadebf33ab3082bf6835b9
CRs-Fixed: 2829593
This commit is contained in:
parent
b8921ceebe
commit
25fab73212
1 changed files with 2 additions and 0 deletions
|
|
@ -1468,6 +1468,8 @@ static void lim_process_addba_req(struct mac_context *mac_ctx, uint8_t *rx_pkt_i
|
|||
&session->dph.dphHashTable);
|
||||
if (sta_ds && lim_is_session_he_capable(session))
|
||||
he_cap = lim_is_sta_he_capable(sta_ds);
|
||||
if (sta_ds && sta_ds->staType == STA_ENTRY_NDI_PEER)
|
||||
he_cap = lim_is_session_he_capable(session);
|
||||
|
||||
if (he_cap)
|
||||
buff_size = MAX_BA_BUFF_SIZE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue