qcacmn: Add MLO support for roam_scan_stats_tlv

Modify roam_scan_stats_tlv and roam_scan_ap_stats_tlv
to introduce mlo specific elements for Roam scan start
and Roam candidate ap logging.

Change-Id: I8e72abc3b888614faf533fd8086cf73a29c26f85
CRs-Fixed: 3582433
This commit is contained in:
Vijay Raj
2023-08-07 23:26:08 -07:00
committed by Rahul Choudhary
parent 1d489d75e7
commit 489ba59cfe
2 changed files with 11 additions and 0 deletions

View File

@@ -19866,6 +19866,7 @@ extract_roam_scan_ap_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
dst->dl_source = src->bl_source;
dst->dl_timestamp = src->bl_timestamp;
dst->dl_original_timeout = src->bl_original_timeout;
dst->is_mlo = WMI_GET_AP_INFO_MLO_STATUS(src->flags);
src++;
dst++;
@@ -19912,6 +19913,10 @@ extract_roam_scan_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
if (dst->frame_info_count > WLAN_ROAM_MAX_FRAME_INFO)
dst->frame_info_count = WLAN_ROAM_MAX_FRAME_INFO;
dst->band = WMI_GET_MLO_BAND(src_data->flags);
if (dst->band != WMI_MLO_BAND_NO_MLO)
dst->is_mlo = true;
/* Read the channel data only for dst->type is 0 (partial scan) */
if (dst->num_chan && !dst->type && param_buf->num_roam_scan_chan_info &&
chan_idx < param_buf->num_roam_scan_chan_info) {