mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Do not reset short preamble support and beacon interval
qcacld-2.0 to qcacld-3.0 propagation In pe_reset_protection_callback psession's beaconParams struct is reset to 0 and thus short preamble support being part of this structure is set to 0. Due to this beacons always have barker preamble set to 1 even if no non short preamble enabled STA is connected. To avoid this do not reset the short preamble support and beacon interval in psession's beaconParams structure. Change-Id: I631fb202fba6bc129d03ff21cff2adef328abff2 CRs-Fixed: 1032578
This commit is contained in:
parent
e0676b5d59
commit
af7e7fa67c
1 changed files with 12 additions and 2 deletions
|
|
@ -157,8 +157,18 @@ void pe_reset_protection_callback(void *ptr)
|
|||
qdf_mem_zero(&pe_session_entry->gLimOlbcParams,
|
||||
sizeof(pe_session_entry->gLimOlbcParams));
|
||||
|
||||
qdf_mem_zero(&pe_session_entry->beaconParams,
|
||||
sizeof(pe_session_entry->beaconParams));
|
||||
/*
|
||||
* Do not reset fShortPreamble and beaconInterval, as they
|
||||
* are not updated.
|
||||
*/
|
||||
pe_session_entry->beaconParams.llaCoexist = 0;
|
||||
pe_session_entry->beaconParams.llbCoexist = 0;
|
||||
pe_session_entry->beaconParams.llgCoexist = 0;
|
||||
pe_session_entry->beaconParams.ht20Coexist = 0;
|
||||
pe_session_entry->beaconParams.llnNonGFCoexist = 0;
|
||||
pe_session_entry->beaconParams.fRIFSMode = 0;
|
||||
pe_session_entry->beaconParams.fLsigTXOPProtectionFullSupport = 0;
|
||||
pe_session_entry->beaconParams.gHTObssMode = 0;
|
||||
|
||||
qdf_mem_zero(&mac_ctx->lim.gLimOverlap11gParams,
|
||||
sizeof(mac_ctx->lim.gLimOverlap11gParams));
|
||||
|
|
|
|||
Loading…
Reference in a new issue