소스 검색

qcacmn: Use MLMR and MLSR bss type for vendor_roam_score_algo

Currently, Host driver is using only MLMR bss type for
vendor_roam_score_algorithm.

Due to recent change in host driver via
Change-Id: I01338dbbc0845e6f6284e4a374f5ad0a5cada334, Host driver
is using this api policy_mgr_2_freq_always_on_same_mac for
evaluating sbs or dbs frequency which in turn returns MLSR for
frequency 5 GHz and 6 GHz opposed to MLMR earlier.

This change is to use both the bss types MLMR and MLSR for
the evaluation vendor_roam_score_algorithm.

Change-Id: I72b0d5e5b2daf498a434c05b503ea8aebc65be74
CRs-Fixed: 3742619
Aasir Rasheed 1 년 전
부모
커밋
6e6bab3a81
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c

+ 1 - 1
umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c

@@ -2510,7 +2510,7 @@ static int cm_calculate_bss_score(struct wlan_objmgr_psoc *psoc,
 		score = cm_calculate_etp_score(psoc, entry, phy_config,
 					       bss_mlo_type, ml_flag);
 		entry->bss_score = score;
-		if (bss_mlo_type == MLMR)
+		if (bss_mlo_type == MLMR || bss_mlo_type == MLSR)
 			cm_sort_vendor_algo_mlo_bss_entry(psoc, entry,
 							  phy_config, scan_list,
 							  bss_mlo_type);