qcacld-3.0: Notify TDLS disable to FW only after deleting the peers

With the commit(Ic425cc065a29bbc444531f523eaccb14014ae47a) driver
enqueues the TDLS peer deletion as part of roam sync indication
and then enqueues the TDLS disable notify to firmware. But before
this driver is processing the TDLS enable notify which is part of
add_sta and then the TDLS disable is getting processed and
notified to firmware, which results in disabling the TDLS after
roam.
The correct sequence during roam should be delete the TDLS peers,
followed by TDLS disable notify to FW and then TDLS enable notify
to FW.
Driver already take care of deleting the TDLS peers as part roam
sync indication callback. This change calls the TDLS disable
notify API only after deleting the TDLS peers during roam.

Change-Id: I58ef78852290c95e6709e6aa1b0671916322625f
CRs-Fixed: 3486585
Tento commit je obsažen v:
Srikanth Marepalli
2023-05-09 12:49:26 +05:30
odevzdal Madan Koyyalamudi
rodič 2d2736400f
revize 59bf42fbdb
2 změnil soubory, kde provedl 8 přidání a 3 odebrání

Zobrazit soubor

@@ -166,9 +166,6 @@ cm_fw_roam_sync_start_ind(struct wlan_objmgr_vdev *vdev,
connected_bssid,
DLM_AP_DISCONNECTED);
/* Notify TDLS STA about disconnection due to roaming */
wlan_tdls_notify_sta_disconnect(vdev_id, true, true, vdev);
if (IS_ROAM_REASON_STA_KICKOUT(sync_ind->roam_reason)) {
struct reject_ap_info ap_info;