소스 검색

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 8 년 전
부모
커밋
4d8860cc10
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 */