qcacmn: Add support for chan RF info from service_ready_ext event

Channel RF info contains metrics that signify the throughput
availability of all the supported channels. This information
is sent in as discrete TLVs (per channel) as part of the WMI
extended service ready event.

Each TLV contains the frequency, bandwidth represented and
the actual channel metric.

Add support to read the above-mentioned TLVs from the extended
service ready event

Change-Id: If947e179c1ca41466997cc48840a8d36b6236780
CRs-Fixed: 2441921
This commit is contained in:
Aditya Sathish
2019-05-09 11:18:43 +05:30
committed by nshrivas
parent 85de96c698
commit ce928dcd67
9 changed files with 219 additions and 0 deletions

View File

@@ -1361,6 +1361,21 @@ QDF_STATUS wmi_extract_pdev_qvit_event(void *wmi_hdl,
uint8_t *evt_buf,
struct wmi_host_pdev_qvit_event *param);
#ifdef WLAN_SUPPORT_RF_CHARACTERIZATION
/**
* wmi_extract_rf_characterziation_entries - Extract RF characterization metrics
* received through extended service ready event.
* @wmi_hdl: WMI handle
* @evt_buf: Event buffer
* @rf_characterization_entries: Pointer to RF characterization metrics
*
* Return: QDF status of operation
*/
QDF_STATUS wmi_extract_rf_characterization_entries(wmi_unified_t wmi_hdl,
uint8_t *evt_buf,
struct wlan_psoc_host_rf_characterization_entry *rf_characterization_entries);
#endif
QDF_STATUS wmi_extract_chainmask_tables(void *wmi_hdl, uint8_t *evt_buf,
struct wlan_psoc_host_chainmask_table *chainmask_table);
/**