qcacmn: API to extract quiet info from SWBA

Added APIs to extract quiet information from swba, which
is supposed to be filled in Probe response.

Change-Id: I3289fc2a9d12294ec841461997db4239d0158398
CRs-Fixed: 2376067
This commit is contained in:
Abhiram Jogadenu 2019-01-25 16:30:22 +05:30 • committed by nshrivas
commit 207dcdbcfe
2 changed files with 20 additions and 0 deletions

View file

@ -5754,6 +5754,22 @@ typedef struct {
uint32_t vdev_id;
} wmi_host_tim_info;
/**
* struct wmi_host_quiet_info - Quiet info in SWBA event
* @vdev_id: vdev_id for quiet info structure
* @tbttcount: quiet start tbtt count
* @period: Beacon interval between quiets
* @duration: TUs of each quiet
* @offset: TUs from TBTT to quiet start
*/
typedef struct {
uint32_t vdev_id;
uint32_t tbttcount;
uint32_t period;
uint32_t duration;
uint32_t offset;
} wmi_host_quiet_info;
/**
* struct wmi_host_p2p_noa_descriptor - NoA desc in SWBA event
* @type_count: Absence count

View file

@ -1460,6 +1460,10 @@ QDF_STATUS (*extract_swba_tim_info)(wmi_unified_t wmi_handle, void *evt_buf,
QDF_STATUS (*extract_swba_noa_info)(wmi_unified_t wmi_handle, void *evt_buf,
uint32_t idx, wmi_host_p2p_noa_info *p2p_desc);
QDF_STATUS (*extract_swba_quiet_info)(wmi_unified_t wmi_handle, void *evt_buf,
uint32_t idx,
wmi_host_quiet_info *quiet_info);
#ifdef CONVERGED_P2P_ENABLE
#ifdef FEATURE_P2P_LISTEN_OFFLOAD
QDF_STATUS (*extract_p2p_lo_stop_ev_param)(wmi_unified_t wmi_handle,