qcacmn: WMI support to obtain NAC RSSI

Added a WMI command to add and del peer from the list
of non associated clients for which the RSSI stats
need to be populated

Also added event handler to extract the rssi stats
from the WMI event

Change-Id: I9880c74798c13a52e1498b81735ad78f86fa41b8
CRs-Fixed: 2148773
This commit is contained in:
Chaithanya Garrepalli
2018-01-18 14:19:41 +05:30
committed by snandini
parent efb43392c4
commit 140a053ade
3 changed files with 57 additions and 0 deletions

View File

@@ -212,6 +212,9 @@ QDF_STATUS (*send_vdev_down_cmd)(wmi_unified_t wmi,
QDF_STATUS (*send_vdev_start_cmd)(wmi_unified_t wmi,
struct vdev_start_params *req);
QDF_STATUS (*send_vdev_set_nac_rssi_cmd)(wmi_unified_t wmi,
struct vdev_scan_nac_rssi_params *req);
QDF_STATUS (*send_hidden_ssid_vdev_restart_cmd)(wmi_unified_t wmi_handle,
struct hidden_ssid_vdev_restart_params *restart_params);
@@ -1320,6 +1323,9 @@ QDF_STATUS (*extract_atf_token_info_ev)(wmi_unified_t wmi_handle,
QDF_STATUS (*extract_vdev_extd_stats)(wmi_unified_t wmi_handle, void *evt_buf,
uint32_t index, wmi_host_vdev_extd_stats *vdev_extd_stats);
QDF_STATUS (*extract_vdev_nac_rssi_stats)(wmi_unified_t wmi_handle, void *evt_buf,
struct wmi_host_vdev_nac_rssi_event *vdev_nac_rssi_stats);
QDF_STATUS (*extract_bcn_stats)(wmi_unified_t wmi_handle, void *evt_buf,
uint32_t index, wmi_host_bcn_stats *bcn_stats);