소스 검색

qcacld-3.0: Avoid keeping in DBS mode when STA connect 5G AP

If Connect candidate has two or more APs in different band,
switch to DBS firstly. After associated 5G AP, will check and
try to switch to single MAC mode.  But during DUT STA-AP key
negotiation, set hw mode cmd is refused to avoid EAPOL fail.

Fix: Delay N sec to check and set hw mode after associated, let
EAPOL handshake finish first.

Change-Id: I7d975fb56fedc30d66c21782607d148137e53e82
CRs-Fixed: 2372485
Jianmin Zhu 6 년 전
부모
커밋
5252e04745
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      core/hdd/src/wlan_hdd_assoc.c

+ 2 - 3
core/hdd/src/wlan_hdd_assoc.c

@@ -3285,9 +3285,8 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
 		policy_mgr_check_concurrent_intf_and_restart_sap(
 		policy_mgr_check_concurrent_intf_and_restart_sap(
 			hdd_ctx->psoc);
 			hdd_ctx->psoc);
 		if (roam_info->pBssDesc)
 		if (roam_info->pBssDesc)
-			policy_mgr_checkn_update_hw_mode_single_mac_mode
-				(hdd_ctx->psoc,
-				 roam_info->pBssDesc->channelId);
+			policy_mgr_check_n_start_opportunistic_timer(
+					hdd_ctx->psoc);
 	} else {
 	} else {
 		bool connect_timeout = false;
 		bool connect_timeout = false;
 		/* do we need to change the HW mode */
 		/* do we need to change the HW mode */