Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d71da2bb authored by spuligil's avatar spuligil Committed by Madan Koyyalamudi
Browse files

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

Change-Id: I9c8638409403e7a53bf9834beac3b52ba827c9bd
WMI: add AFC indoor / outdoor support flags
CRs-Fixed: 2262693
parent 1446f9d8
Loading
Loading
Loading
Loading
+35 −1
Original line number Diff line number Diff line
@@ -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) \
+1 −1
Original line number Diff line number Diff line
@@ -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