qcacmn: Initiate disconnect for MLO SAE clients

When SAE station is trying to associate to MLO AP.
If this station was connected to other link vap of same MLD,
then if same station is trying to connecting with link VAP,
ML peer entry is found with MLD MAC address.

For SAE stations, initial understanding to handle disconnect
from hostapd, but as hostapd initiates SA query for the connected
link peers only, in this case, hostapd can't initiate SA query
as it was connected to other link VAP.

The fix is to allow initiating deauth of the current ML peer entry.

Change-Id: Iddb53f0156b460a2ede2197a74acf254c83b7b37
CRs-Fixed: 3313785
This commit is contained in:
Srinivas Pitla
2022-10-21 15:38:24 -07:00
کامیت شده توسط Madan Koyyalamudi
والد 3765f7b63c
کامیت 40aac77ac2

مشاهده پرونده

@@ -339,13 +339,6 @@ wlan_mlo_peer_deauth_init(struct wlan_mlo_peer_context *ml_peer)
continue;
link_peer = peer_entry->link_peer;
/* Skip Deauth if PMF is enabled for the station */
if ((i == 0) &&
(wlan_crypto_is_pmf_enabled(wlan_peer_get_vdev(link_peer),
link_peer))) {
mlo_peer_lock_release(ml_peer);
return;
}
if (wlan_objmgr_peer_try_get_ref(link_peer, WLAN_MLO_MGR_ID) !=
QDF_STATUS_SUCCESS)