diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 6f039bbe041a..195de6685245 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -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) \ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 19f938ac6a5c..7aeca4a64171 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -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