qcacmn: Extract band info from wmi_roam_neighbor_report_info

In API extract_roam_11kv_stats_tlv(), band info value is
fetched from wmi_roam_scan_info. This results in failure
during active mode when single tlv is sent for each event
as wmi_roam_scan_info tlv is not populated for event
expect for roam specific events.

Extract band info from wmi_roam_neighbor_report_info
tlv for neighbor report and BTM events in order
to overcome the above mentioned issue.

Change-Id: Ie53ec36ea1b788219b33f0956b489d5bbe0bb9b0
CRs-Fixed: 3631719
This commit is contained in:
Vijay Raj
2023-10-04 02:06:57 -07:00
parent d6ee46a496
commit da8873f2bd
4 changed files with 8 additions and 10 deletions

View File

@@ -910,15 +910,13 @@ wmi_unified_extract_roam_result_stats(wmi_unified_t wmi, void *evt_buf,
* @dst: Pointer to destination structure to fill data
* @idx: TLV id
* @rpt_idx: index of the current channel
* @band: Band of the link on which packet was transmitted/received.
*
* Return: QDF_STATUS
*/
QDF_STATUS
wmi_unified_extract_roam_11kv_stats(wmi_unified_t wmi, void *evt_buf,
struct wmi_neighbor_report_data *dst,
uint8_t idx, uint8_t rpt_idx,
uint8_t band);
uint8_t idx, uint8_t rpt_idx);
/**
* wmi_unified_vdev_create_send() - send VDEV create command to fw