mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
1ea85d4671
commit
207dcdbcfe
2 changed files with 20 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue