Parcourir la source

qcacld-3.0: Handle fast reassoc with mac address set to zero

When fast reassoc command is received with bssid
and channel frequency set to zero, if no candidate
found, STA DUT should disconnect.
Currently STA DUT stays on the same AP.

Fix is to add bssid zero check and disconnect from
current AP.

Change-Id: Id6a26703929f7783e852bb42eebd57f5d5ba8b13
CRs-Fixed: 3433308
Amruta Kulkarni il y a 2 ans
Parent
commit
095e152d33

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

@@ -1258,7 +1258,8 @@ cm_disconnect_roam_abort_fail(struct wlan_objmgr_vdev *vdev,
 
 	if (source == CM_ROAMING_HOST ||
 	    (source == CM_ROAMING_NUD_FAILURE && nud_disconnect) ||
-	     source == CM_ROAMING_LINK_REMOVAL)
+	     source == CM_ROAMING_LINK_REMOVAL ||
+	     qdf_is_macaddr_zero(bssid))
 		status = mlo_disconnect(vdev, CM_ROAM_DISCONNECT,
 					REASON_USER_TRIGGERED_ROAM_FAILURE,
 					NULL);