qcacmn: Increase priority for the 6 GHz + 2 GHz combination
Increase priority for the 6 GHz + 2 GHz combination, even when 5 GHz + 6 GHz MLSR is enabled. This modification aims to emphasize frequency prioritization for frequency not on same mac. Change-Id: I159c673b8f1d772e2f557df9e9811292a65a4bb6 CRs-Fixed: 3672983
This commit is contained in:

committed by
Ravindra Konda

parent
9dc8b77e85
commit
3327d001de
@@ -2177,9 +2177,9 @@ cm_sort_vendor_algo_mlo_bss_entry(struct wlan_objmgr_psoc *psoc,
|
|||||||
freq[i] = link[i].freq;
|
freq[i] = link[i].freq;
|
||||||
|
|
||||||
if (policy_mgr_2_freq_always_on_same_mac(psoc, freq[i],
|
if (policy_mgr_2_freq_always_on_same_mac(psoc, freq[i],
|
||||||
freq_entry) &&
|
freq_entry)) {
|
||||||
!wlan_mlme_is_5gl_5gh_mlsr_supported(psoc)) {
|
|
||||||
total_score[i] = 0;
|
total_score[i] = 0;
|
||||||
|
if (!wlan_mlme_is_5gl_5gh_mlsr_supported(psoc)) {
|
||||||
mlme_nofl_debug("Partner(" QDF_MAC_ADDR_FMT " freq %d): assoc freq %d can't be MLMR",
|
mlme_nofl_debug("Partner(" QDF_MAC_ADDR_FMT " freq %d): assoc freq %d can't be MLMR",
|
||||||
QDF_MAC_ADDR_REF(link[i].link_addr.bytes),
|
QDF_MAC_ADDR_REF(link[i].link_addr.bytes),
|
||||||
freq[i], freq_entry);
|
freq[i], freq_entry);
|
||||||
@@ -2187,7 +2187,7 @@ cm_sort_vendor_algo_mlo_bss_entry(struct wlan_objmgr_psoc *psoc,
|
|||||||
entry->ml_info.num_links <
|
entry->ml_info.num_links <
|
||||||
WLAN_MAX_ML_DEFAULT_LINK)
|
WLAN_MAX_ML_DEFAULT_LINK)
|
||||||
link[i].is_valid_link = false;
|
link[i].is_valid_link = false;
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user