Ver código fonte

qcacld-3.0: Fix dual sta roaming failure

MLO sta + 2nd sta case, 2nd sta got pcl type: PM_NONE, total pcl
freq num 0, but dual sta follow pcl strictly, so PCL 0 is sent to F/W,
failed to roam to any freq.

To fix it, for PM_NONE and PCL freq num 0 case, don't follow pcl strictly,
send all valid freq as PCL to F/W.

Change-Id: Ie3529fd85dcfcfd3cc44ed6c25fc8fefe7a6c769
CRs-Fixed: 3534201
Jianmin Zhu 1 ano atrás
pai
commit
44d20ce3a6

+ 2 - 1
components/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c

@@ -3830,7 +3830,8 @@ QDF_STATUS policy_mgr_get_valid_chan_weights(struct wlan_objmgr_psoc *psoc,
 		 */
 		if (mode == PM_STA_MODE) {
 			if (policy_mgr_concurrent_sta_on_different_mac(psoc) &&
-			    !wlan_cm_same_band_sta_allowed(psoc)) {
+			    !wlan_cm_same_band_sta_allowed(psoc) &&
+			    weight->pcl_len) {
 				policy_mgr_debug("sta follow pcl strictly");
 				strict_follow_pcl = true;
 			}