qcacld-3.0: Optimize CONNECTING connectivity log
In the api wlan_connectivity_sta_info_event(), the CONNECTING connectivity log is printed after STA_INFO connectivity logs. But this behaviour is not expected during STA INFO Log after roaming as CONNECTING log should be printed only when connect request is received from the userspace. Modify the api wlan_connectivity_sta_info_event() and logging CONNECTING event from the api lim_process_mlm_join_cnf() in order to prevent connecting log during roaming. Change-Id: I91d2c14b109fb8a828ba99a021fe6b6e462516c8 CRs-Fixed: 3680502
This commit is contained in:

committed by
Ravindra Konda

parent
2aee71d4ab
commit
5f0b270f4b
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -892,7 +892,6 @@ wlan_connectivity_sta_info_event(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
|
||||
}
|
||||
|
||||
WLAN_HOST_DIAG_EVENT_REPORT(&wlan_diag_event, EVENT_WLAN_STA_INFO);
|
||||
wlan_connectivity_connecting_event(vdev, NULL);
|
||||
out:
|
||||
wlan_objmgr_vdev_release_ref(vdev, WLAN_MLME_OBJMGR_ID);
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -309,6 +309,7 @@ void lim_process_mlm_join_cnf(struct mac_context *mac_ctx,
|
||||
|
||||
wlan_connectivity_sta_info_event(mac_ctx->psoc, session_entry->vdev_id,
|
||||
false);
|
||||
wlan_connectivity_connecting_event(session_entry->vdev, NULL);
|
||||
|
||||
session_entry->join_probe_cnt = 0;
|
||||
if (session_entry->limSmeState != eLIM_SME_WT_JOIN_STATE) {
|
||||
|
Reference in New Issue
Block a user