mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
fw-api: CL 17628058 - update fw common interface files
Change-Id: I9c8638409403e7a53bf9834beac3b52ba827c9bd WMI: add AFC indoor / outdoor support flags CRs-Fixed: 2262693
This commit is contained in:
parent
1446f9d8ae
commit
d71da2bb56
2 changed files with 36 additions and 2 deletions
|
|
@ -3133,6 +3133,12 @@ typedef struct {
|
|||
A_UINT32 index_and_type;
|
||||
} wmi_htt_msdu_idx_to_htt_msdu_qtype;
|
||||
|
||||
typedef enum {
|
||||
WMI_AFC_FEATURE_6G_DEPLOYMENT_UNSPECIFIED = 0,
|
||||
WMI_AFC_FEATURE_6G_DEPLOYMENT_INDOOR_ONLY = 1,
|
||||
WMI_AFC_FEATURE_6G_DEPLOYMENT_OUTDOOR_ONLY = 2,
|
||||
} WMI_AFC_FEATURE_6G_DEPLOYMENT_TYPE;
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param.*/
|
||||
|
||||
|
|
@ -3240,6 +3246,12 @@ typedef struct {
|
|||
*/
|
||||
A_UINT32 default_num_msduq_supported_per_tid;
|
||||
|
||||
/*
|
||||
* Indoor/Outdoor specification for AFC support -
|
||||
* refer to WMI_AFC_FEATURE_6G_DEPLOYMENT_TYPE enum
|
||||
*/
|
||||
A_UINT32 afc_deployment_type;
|
||||
|
||||
/* Followed by next TLVs:
|
||||
* WMI_DMA_RING_CAPABILITIES dma_ring_caps[];
|
||||
* wmi_spectral_bin_scaling_params wmi_bin_scaling_params[];
|
||||
|
|
@ -4203,7 +4215,19 @@ typedef struct {
|
|||
* Refer to the below definitions of the
|
||||
* WMI_RSRC_CFG_HOST_SERVICE_FLAG_REG_DISCARD_REQ_ID_CHECK_GET
|
||||
* and _SET macros.
|
||||
* Bits 31:10 - Reserved
|
||||
* Bit 10
|
||||
* This bit will be set when host wants to enable indoor for AFC
|
||||
* when this bit is set to 0 indoor mode not enabled
|
||||
* when this bit is set to 1 indoor mode is enabled
|
||||
* WMI_RSRC_CFG_HOST_SERVICE_FLAG_AFC_INDOOR_SUPPORT_CHECK_GET
|
||||
* and SET macros
|
||||
* Bit 11
|
||||
* This bit will be set when host wants to enable outdoor for AFC
|
||||
* when this bit is set to 0 outdoor mode not enabled
|
||||
* when this bit is set to 1 outdoor mode is enabled
|
||||
* WMI_RSRC_CFG_HOST_SERVICE_FLAG_AFC_OUTDOOR_SUPPORT_CHECK_GET
|
||||
* and SET macros.
|
||||
* Bits 31:12 - Reserved
|
||||
*/
|
||||
A_UINT32 host_service_flags;
|
||||
|
||||
|
|
@ -4582,6 +4606,16 @@ typedef struct {
|
|||
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_REG_DISCARD_AFC_REQ_ID_CHECK_SET(host_service_flags, val) \
|
||||
WMI_SET_BITS(host_service_flags, 9, 1, val)
|
||||
|
||||
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_AFC_INDOOR_SUPPORT_CHECK_GET(host_service_flags) \
|
||||
WMI_GET_BITS(host_service_flags, 10, 1)
|
||||
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_AFC_INDOOR_SUPPORT_CHECK_SET(host_service_flags, val) \
|
||||
WMI_SET_BITS(host_service_flags, 10, 1, val)
|
||||
|
||||
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_AFC_OUTDOOR_SUPPORT_CHECK_GET(host_service_flags) \
|
||||
WMI_GET_BITS(host_service_flags, 11, 1)
|
||||
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_AFC_OUTDOOR_SUPPORT_CHECK_SET(host_service_flags, val) \
|
||||
WMI_SET_BITS(host_service_flags, 11, 1, val)
|
||||
|
||||
#define WMI_RSRC_CFG_CARRIER_CFG_CHARTER_ENABLE_GET(carrier_config) \
|
||||
WMI_GET_BITS(carrier_config, 0, 1)
|
||||
#define WMI_RSRC_CFG_CARRIER_CFG_CHARTER_ENABLE_SET(carrier_config, val) \
|
||||
|
|
|
|||
|
|
@ -37,7 +37,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_ 1134
|
||||
#define __WMI_REVISION_ 1135
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue