Ver código fonte

qcacld-3.0: Send RSO stop in STA + STA roaming

In STA+STA roaming case, when primary interface is changed
and roaming is enabled on other interface rso stop will be sent.
But the roam scan mode is not set to 0.
So add check for primary interface change to reset roam scan mode
before sending RSO stop to FW.

Change-Id: Ia880b58a57b3d9b74f3c4e100d4724aac46b67cd
CRs-Fixed: 3042416
Amruta Kulkarni 3 anos atrás
pai
commit
9285ff8c5d

+ 2 - 1
components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c

@@ -2361,7 +2361,8 @@ cm_roam_scan_offload_fill_rso_configs(struct wlan_objmgr_psoc *psoc,
 	if (command == ROAM_SCAN_OFFLOAD_STOP) {
 		if (reason == REASON_ROAM_STOP_ALL ||
 		    reason == REASON_DISCONNECTED ||
-		    reason == REASON_ROAM_SYNCH_FAILED) {
+		    reason == REASON_ROAM_SYNCH_FAILED ||
+		    reason == REASON_ROAM_SET_PRIMARY) {
 			mode = WMI_ROAM_SCAN_MODE_NONE;
 		} else {
 			if (wlan_is_roam_offload_enabled(mlme_obj->cfg.lfr))