fw-api: CL 9926709 - update fw common interface files

Change-Id: Iaebae5cf381a1efa1c296b983cbb5c9436847450
WMI: add hw_min_max_tx_power fields for 2g,5g in SERVICE_READY_EXT2 msg
CRs-Fixed: 2262693
This commit is contained in:
spuligil
2020-03-17 18:00:50 -07:00
parent 72f69c437b
commit f0caf49f6a
2 changed files with 33 additions and 1 deletions

View File

@@ -2709,6 +2709,18 @@ typedef struct {
WMI_BDF_REG_DB_VERSION_MINOR_SET(dword, bdf_reg_db_ver_minor); \
} while (0)
#define WMI_HW_MIN_TX_POWER_BITPOS 0
#define WMI_HW_MAX_TX_POWER_BITPOS 16
#define WMI_HW_MIN_TX_POWER_GET(dword) \
((A_INT16) WMI_GET_BITS(dword, WMI_HW_MIN_TX_POWER_BITPOS, 16))
#define WMI_HW_MIN_TX_POWER_SET(dword, value) \
WMI_SET_BITS(dword, WMI_HW_MIN_TX_POWER_BITPOS, 16, value)
#define WMI_HW_MAX_TX_POWER_GET(dword) \
((A_INT16) WMI_GET_BITS(dword, WMI_HW_MAX_TX_POWER_BITPOS, 16))
#define WMI_HW_MAX_TX_POWER_SET(dword, value) \
WMI_SET_BITS(dword, WMI_HW_MAX_TX_POWER_BITPOS, 16, value)
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param.*/
@@ -2722,6 +2734,26 @@ typedef struct {
* access these bitfields.
*/
A_UINT32 reg_db_version;
/* Min & Max Tx power (in dBm) supported in 2.4 GHz band
* [15:0] - Min Tx Power in 2.4 GHz band
* [31:16] - Max Tx Power in 2.4 GHz band
* WMI_HW_[MIN,MAX]_TX_POWER_[GET,SET] macros are used to access
* these bitfields.
* If Min Tx Power = Max Tx Power = 0 means Min Tx Power & Max Tx Power
* are not specified.
*/
A_UINT32 hw_min_max_tx_power_2g;
/* Min & Max Tx power (in dBm) supported in 5 GHz band
* [15:0] - Min Tx Power in 5 GHz band
* [31:16] - Max Tx Power in 5 GHz band
* WMI_HW_[MIN,MAX]_TX_POWER_[GET,SET] macros are used to access
* these bitfields.
* If Min Tx Power = Max Tx Power = 0 means Min Tx Power & Max Tx Power
* are not specified.
*/
A_UINT32 hw_min_max_tx_power_5g;
} wmi_service_ready_ext2_event_fixed_param;
typedef struct {

View File

@@ -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_ 795
#define __WMI_REVISION_ 796
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work