From 69d2b04d6be2211faad2b9cf940a960584e4339f Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 9 Aug 2019 06:00:41 -0700 Subject: [PATCH] fw-api: CL 7827930 - update fw common interface files Change-Id: I092fbfddd10031bf3729d26507cd4e500495b606 WMI: add reduced_txrx_chainmask to AP_PS_EGAP_PARAM_CMD msg CRs-Fixed: 2262693 --- fw/wmi_unified.h | 19 ++++++++++++++++++- fw/wmi_version.h | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index eb6a37eb543f..bf5f241a1b97 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -10901,8 +10901,18 @@ typedef enum { WMI_AP_PS_EGAP_FLAG_MAX = 0x8000 } wmi_ap_ps_egap_flag_type; +#define WMI_EGAP_GET_REDUCED_2G_TX_CHM(txrx_chm) WMI_GET_BITS(txrx_chm, 0, 8) +#define WMI_EGAP_GET_REDUCED_2G_RX_CHM(txrx_chm) WMI_GET_BITS(txrx_chm, 8, 8) +#define WMI_EGAP_GET_REDUCED_5G_TX_CHM(txrx_chm) WMI_GET_BITS(txrx_chm, 16, 8) +#define WMI_EGAP_GET_REDUCED_5G_RX_CHM(txrx_chm) WMI_GET_BITS(txrx_chm, 24, 8) + +#define WMI_EGAP_SET_REDUCED_2G_TX_CHM(txrx_chm, val) WMI_SET_BITS(txrx_chm, 0, 8, val) +#define WMI_EGAP_SET_REDUCED_2G_RX_CHM(txrx_chm, val) WMI_SET_BITS(txrx_chm, 8, 8, val) +#define WMI_EGAP_SET_REDUCED_5G_TX_CHM(txrx_chm, val) WMI_SET_BITS(txrx_chm, 16, 8, val) +#define WMI_EGAP_SET_REDUCED_5G_RX_CHM(txrx_chm, val) WMI_SET_BITS(txrx_chm, 24, 8, val) + /** - * configure ehanced green ap parameters + * configure enhanced green ap parameters */ typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals wmi_ap_powersave_egap_param_cmd_fixed_param */ @@ -10922,6 +10932,13 @@ typedef struct { /** The param is used to turn on/off some functions within E-GAP. */ A_UINT32 flags; /* wmi_ap_ps_egap_flag_type bitmap */ + /** Reduced_txrx_chainmask + * [7:0] - 2G band tx chain mask + * [15:8] - 2G band rx chain mask + * [23:16] - 5G band tx chain mask + * [31:24] - 5G band rx chain mask + */ + A_UINT32 reduced_txrx_chainmask; } wmi_ap_ps_egap_param_cmd_fixed_param; typedef enum { diff --git a/fw/wmi_version.h b/fw/wmi_version.h index b8dd12c20d33..9fcdcaff297a 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_ 707 +#define __WMI_REVISION_ 708 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work