Merge "qcacmn: Extract band info from wmi_roam_neighbor_report_info"

This commit is contained in:
Linux Build Service Account
2023-10-17 14:40:27 -07:00
committad av Gerrit - the friendly Code Review server
förälder 34c894f480 da8873f2bd
incheckning 2faf139b73
4 ändrade filer med 8 tillägg och 10 borttagningar

Visa fil

@@ -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

Visa fil

@@ -2573,7 +2573,7 @@ QDF_STATUS
(*extract_roam_11kv_stats)(wmi_unified_t wmi_handle,
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);
void (*wmi_pdev_id_conversion_enable)(wmi_unified_t wmi_handle,
uint32_t *pdev_map,

Visa fil

@@ -3712,11 +3712,11 @@ wmi_unified_extract_roam_result_stats(wmi_unified_t wmi, void *buf,
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)
{
if (wmi->ops->extract_roam_11kv_stats)
return wmi->ops->extract_roam_11kv_stats(wmi, evt_buf, dst, idx,
rpt_idx, band);
rpt_idx);
return QDF_STATUS_E_FAILURE;
}

Visa fil

@@ -20027,12 +20027,11 @@ extract_roam_result_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
* @dst: Pointer to destination structure to fill data
* @idx: TLV id
* @rpt_idx: Neighbor report Channel index
* @band: Band of the link on which packet is transmitted or received
*/
static QDF_STATUS
extract_roam_11kv_stats_tlv(wmi_unified_t wmi_handle, 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_ROAM_STATS_EVENTID_param_tlvs *param_buf;
wmi_roam_neighbor_report_info *src_data = NULL;
@@ -20063,7 +20062,8 @@ extract_roam_11kv_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
dst->num_rpt =
WMI_ROAM_NEIGHBOR_REPORT_INFO_NUM_OF_NRIE_GET(src_data->neighbor_report_detail);
dst->band = band;
dst->band =
WMI_ROAM_NEIGHBOR_REPORT_INFO_MLO_BAND_INFO_GET(src_data->neighbor_report_detail);
if (dst->band != WMI_MLO_BAND_NO_MLO)
dst->is_mlo = true;
@@ -20162,7 +20162,7 @@ extract_roam_result_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
static QDF_STATUS
extract_roam_11kv_stats_tlv(wmi_unified_t wmi_handle, 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)
{
return QDF_STATUS_E_NOSUPPORT;
}