From a2719edf93aa6fa769e3ec2021ab796e5ed13d23 Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 1 May 2020 06:00:44 -0700 Subject: [PATCH] fw-api: CL 10334178 - update fw common interface files Change-Id: I7bd60aa1adaaaecca306fcfbcf2e28104f1f28b9 WMI: add mid_5mhz_bins field to pdev_sscan_fft_bin_index struct CRs-Fixed: 2262693 --- fw/wmi_unified.h | 38 ++++++++++++++++++++++++++------------ fw/wmi_version.h | 2 +- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index b239c0d5f8b6..2cdbf571f38e 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -5765,6 +5765,12 @@ typedef struct { #define WMI_SSCAN_SEC80_END_BIN_GET(sec80_bins) WMI_GET_BITS(sec80_bins, 16, 16) #define WMI_SSCAN_SEC80_END_BIN_SET(sec80_bins, value) WMI_SET_BITS(sec80_bins, 16, 16, value) +/* 5MHz bin values */ +#define WMI_SSCAN_MID_5MHZ_START_BIN_GET(mid_5mhz_bins) WMI_GET_BITS(mid_5mhz_bins, 0, 16) +#define WMI_SSCAN_MID_5MHZ_START_BIN_SET(mid_5mhz_bins, value) WMI_SET_BITS(mid_5mhz_bins, 0, 16, value) +#define WMI_SSCAN_MID_5MHZ_END_BIN_GET(mid_5mhz_bins) WMI_GET_BITS(mid_5mhz_bins, 16, 16) +#define WMI_SSCAN_MID_5MHZ_END_BIN_SET(mid_5mhz_bins, value) WMI_SET_BITS(mid_5mhz_bins, 16, 16, value) + typedef struct { A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_sscan_fw_cmd_fixed_param */ A_UINT32 pdev_id; @@ -5790,22 +5796,30 @@ typedef struct { A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_sscan_fft_bin_index */ /** - * Bit 15 - 0 : primary 80 start bin number - * Bit 31 - 16 : primary 80 end bin number - * Refer to WMI_SSCAN_PRI80_[START,END]_BIN_[GET,SET] macros. - * Only for True 160 and Restricted 160(80+80 or 165) MHz this - * will be filled. - */ + * Bit 15 - 0 : primary 80 start bin number + * Bit 31 - 16 : primary 80 end bin number + * Refer to WMI_SSCAN_PRI80_[START,END]_BIN_[GET,SET] macros. + * Only for True 160 and Restricted 160(80+80 or 165) MHz this + * will be filled. + */ A_UINT32 pri80_bins; /** - * Bit 15 - 0 : secondary 80 start bin number - * Bit 31 - 16 : secondary 80 end bin number - * Refer to WMI_SSCAN_SEC80_[START,END]_BIN_[GET,SET] macros. - * Only for True 160 and Restricted 160(80+80 or 165) MHz this - * will be filled. - */ + * Bit 15 - 0 : secondary 80 start bin number + * Bit 31 - 16 : secondary 80 end bin number + * Refer to WMI_SSCAN_SEC80_[START,END]_BIN_[GET,SET] macros. + * Only for True 160 and Restricted 160(80+80 or 165) MHz this + * will be filled. + */ A_UINT32 sec80_bins; + + /** + * Bit 15 - 0 : 5Mhz start bin number + * Bit 31 - 16 : 5Mhz end bin number + * Refer to WMI_SSCAN_MID_5MHZ_[START,END]_BIN_[GET,SET] macros. + * Only for Restricted 160(80+80 or 165), otherwise 0. + */ + A_UINT32 mid_5mhz_bins; } wmi_pdev_sscan_fft_bin_index; #define WMI_BEACON_CTRL_TX_DISABLE 0 diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 7a9276dd3772..e790c6de57ba 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_ 828 +#define __WMI_REVISION_ 829 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work