fw-api: CL 2934524 - update fw common interface files
WMI GET/SET macros for SUPPORT CHAN_WIDTH and CHAIN_MASK Change-Id: Ia2592f71e64b1588c6c05f3e8ee16173368e1012 CRs-Fixed: 1107600
This commit is contained in:
@@ -17703,6 +17703,42 @@ typedef struct {
|
|||||||
A_UINT32 hw_mode_config_type;
|
A_UINT32 hw_mode_config_type;
|
||||||
} WMI_HW_MODE_CAPABILITIES;
|
} WMI_HW_MODE_CAPABILITIES;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The following macros are for the bitfields witihin the supported flags field
|
||||||
|
* of WMI_MAC_PHY_CHAINMASK_CAPABILITY:
|
||||||
|
* Capabilities for the chainmask
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_20_GET(flags) WMI_GET_BITS(flags, 0, 1)
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_20_SET(flags, value) WMI_SET_BITS(flags, 0, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_40_GET(flags) WMI_GET_BITS(flags, 1, 1)
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_40_SET(flags, value) WMI_SET_BITS(flags, 1, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_80_GET(flags) WMI_GET_BITS(flags, 2, 1)
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_80_SET(flags, value) WMI_SET_BITS(flags, 2, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_160_GET(flags) WMI_GET_BITS(flags, 3, 1)
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_160_SET(flags, value) WMI_SET_BITS(flags, 3, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_80P80_GET(flags) WMI_GET_BITS(flags, 4, 1)
|
||||||
|
#define WMI_SUPPORT_CHAN_WIDTH_80P80_SET(flags, value) WMI_SET_BITS(flags, 4, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_2G_GET(flags) WMI_GET_BITS(flags, 27, 1)
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_2G_SET(flags, value) WMI_SET_BITS(flags, 27, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_5G_GET(flags) WMI_GET_BITS(flags, 28, 1)
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_5G_SET(flags, value) WMI_SET_BITS(flags, 28, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_TX_GET(flags) WMI_GET_BITS(flags, 29, 1)
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_TX_SET(flags, value) WMI_SET_BITS(flags, 29, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_RX_GET(flags) WMI_GET_BITS(flags, 30, 1)
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_RX_SET(flags, value) WMI_SET_BITS(flags, 30, 1, value)
|
||||||
|
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_ADFS_GET(flags) WMI_GET_BITS(flags, 31, 1)
|
||||||
|
#define WMI_SUPPORT_CHAIN_MASK_ADFS_SET(flags, value) WMI_SET_BITS(flags, 31, 1, value)
|
||||||
|
|
||||||
/** Definition of valid chainmask and associated capabilities */
|
/** Definition of valid chainmask and associated capabilities */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
A_UINT32 tlv_header;/* TLV tag and len; tag equals WMITLV_TAG_STRUC_WMI_MAC_PHY_CHAINMASK_CAPABILITY */
|
A_UINT32 tlv_header;/* TLV tag and len; tag equals WMITLV_TAG_STRUC_WMI_MAC_PHY_CHAINMASK_CAPABILITY */
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
#define __WMI_VER_MINOR_ 0
|
#define __WMI_VER_MINOR_ 0
|
||||||
/** WMI revision number has to be incremented when there is a
|
/** WMI revision number has to be incremented when there is a
|
||||||
* change that may or may not break compatibility. */
|
* change that may or may not break compatibility. */
|
||||||
#define __WMI_REVISION_ 366
|
#define __WMI_REVISION_ 367
|
||||||
|
|
||||||
/** The Version Namespace should not be normally changed. Only
|
/** The Version Namespace should not be normally changed. Only
|
||||||
* host and firmware of the same WMI namespace will work
|
* host and firmware of the same WMI namespace will work
|
||||||
|
Reference in New Issue
Block a user