qcacld-3.0: Extract VSIE before logging MGMT frames

In the api wlan_connectivity_mgmt_event(), the VSIE is
extracted after logging the Deauth/Disassoc frames
due to which VSIE is not logged as part of
Deauth/Disassoc frame logging.

Modify the api wlan_connectivity_mgmt_event() to extract
VSIE before logging the Deauth/Disassoc frames

Change-Id: Ia5ac504f6e17d0464a6ce0d442ae7eec658b2445
CRs-Fixed: 3761695
This commit is contained in:
Vijay Raj
2024-03-18 03:10:08 -07:00
committed by Ravindra Konda
parent b28724a744
commit 0ebb4a5afa
3 changed files with 18 additions and 12 deletions

View File

@@ -988,8 +988,8 @@ wlan_connectivity_mgmt_event(struct wlan_objmgr_psoc *psoc,
wlan_diag_event.auth_seq_num = auth_seq;
wlan_diag_event.assoc_id = aid;
if (tag == WLAN_DEAUTH_TX || tag == WLAN_DISASSOC_TX)
wlan_populate_vsie(vdev, &wlan_diag_event, true);
if (tag == WLAN_DEAUTH_RX || tag == WLAN_DISASSOC_RX)
wlan_populate_vsie(vdev, &wlan_diag_event, false);
if (wlan_diag_event.subtype > WLAN_CONN_DIAG_REASSOC_RESP_EVENT &&
wlan_diag_event.subtype < WLAN_CONN_DIAG_BMISS_EVENT)