qcacld-3.0: Fix ROAM/NO_ROAM print conditions
As part of the Roam candidate result logging, the driver prints ROAM if reassociation is successful and NO_ROAM if candidate is found and roaming is successful. But the expectation is to print ROAM even if candidate is found and roaming has failed. Change the logic to print ROAM/NO_ROAM based on below condition: 1. Roam result successful -> ROAM 2. Roam result failure && candidate is found -> ROAM 3. ROam result failure && candidate is not found -> NO_ROAM Fix the authentication/association missing frame print in the roam logging, also cleanup the unused API's. Change-Id: I43e0cea007890f4796b421b0a42cc71b8ca1a600 CRs-Fixed: 3146630
This commit is contained in:

committed by
Madan Koyyalamudi

parent
1cc0eda0cf
commit
4648e9fece
@@ -382,6 +382,22 @@ wmi_extract_roam_stats_event(wmi_unified_t wmi_handle,
|
||||
uint8_t *event, uint32_t data_len,
|
||||
struct roam_stats_event **stats_info);
|
||||
|
||||
/**
|
||||
* wmi_unified_extract_roam_extract_frame_info() - Extract the roam frame
|
||||
* info TLV from roam stats event
|
||||
* @wmi: wmi handle
|
||||
* @evt_buf: Pointer to the event buffer
|
||||
* @dst: Pointer to destination structure to fill data
|
||||
* @idx: Index of the TLV to read
|
||||
* @num_frames: Number of TLV to read
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_extract_roam_extract_frame_info(wmi_unified_t wmi, void *evt_buf,
|
||||
struct roam_frame_stats *dst,
|
||||
uint8_t idx, uint8_t num_frames);
|
||||
|
||||
/**
|
||||
* wmi_extract_auth_offload_event - Extract auth offload event
|
||||
* @wmi_handle: WMI handle
|
||||
|
Reference in New Issue
Block a user