Explorar o código

qcacld-3.0: Fix to reset HT oper mode after legacy AP goes away

qcacld-2.0 to qcacld-3.0 propagation

HT oper mode is set to overlap legacy mode when a legacy
AP (11a only) comes in vicinity of SAP. HT oper mode should
be reset when legacy AP moves out of vicinity of SAP.
Reset function was not resetting HT oper mode in mac context
which was leading to issue.

Fix resets the operating mode to pure HT operating mode after
legacy AP moves out of vicinity of SAP.

Change-Id: Ie5af79341c60cd42c7030699cd1c165ef323e011
CRs-Fixed: 943414
Masti, Narayanraddi %!s(int64=8) %!d(string=hai) anos
pai
achega
4d8860cc10
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      core/mac/src/pe/lim/lim_session.c

+ 1 - 0
core/mac/src/pe/lim/lim_session.c

@@ -181,6 +181,7 @@ void pe_reset_protection_callback(void *ptr)
 
 	old_op_mode = pe_session_entry->htOperMode;
 	pe_session_entry->htOperMode = eSIR_HT_OP_MODE_PURE;
+	mac_ctx->lim.gHTOperMode = eSIR_HT_OP_MODE_PURE;
 
 	qdf_mem_zero(&beacon_params, sizeof(tUpdateBeaconParams));
 	/* index 0, is self node, peers start from 1 */