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:
Abhishek Singh 2016-08-08 17:59:31 +05:30 • committed by qcabuildsw
commit af7e7fa67c

View file

@ -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));