From 202e18c78d16dc46c9d0f2a9f3cf2fc3e726b935 Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 20 Apr 2018 09:00:41 -0700 Subject: [PATCH] fw-api: CL 4487087 - update fw common interface files Change-Id: I26dd1d9dd9fffeb62b00378241ba1dea367fedce WMI: add pulse index diff field to DFS radar event msg CRs-Fixed: 1107600 --- fw/wmi_unified.h | 14 ++++++++++++++ fw/wmi_version.h | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 2e41a2361094..4c615a39bd58 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -15153,6 +15153,10 @@ typedef struct { wmi_mac_addr next_hop_mac_addr; } wmi_mhf_offload_routing_table_entry; +enum { + WMI_DFS_RADAR_PULSE_FLAG_MASK_PSIDX_DIFF_VALID = 0x00000001, +}; + typedef struct { /** tlv tag and len, tag equals * WMITLV_TAG_STRUC_wmi_dfs_radar_event */ @@ -15214,6 +15218,16 @@ typedef struct { /** Max pulse chirp velocity variance in delta bins */ A_INT32 pulse_delta_diff; + /** the difference in the FFT peak index between short FFT and the first long FFT + * psidx_diff = (first_long_fft_psidx - 4*first_short_fft_psidx), + */ + A_INT32 psidx_diff; + + /** pulse_flags: see WMI_DFS_RADAR_PULSE_FLAG_MASK enum values + * 0x0001 - set if psidx_diff is valid + */ + A_UINT32 pulse_flags; + } wmi_dfs_radar_event_fixed_param; enum { diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 86f3365e8290..c2ca8c8465a8 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -36,7 +36,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 532 +#define __WMI_REVISION_ 533 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work