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

Commit bb559e2b authored by spuligil's avatar spuligil Committed by Ravindra Konda
Browse files

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

Change-Id: I271da1ba190ae095561e62c427201eaad1adeea4
CRs-Fixed: 3830439
parent 66c54657
Loading
Loading
Loading
Loading
+77 −0
Original line number Diff line number Diff line
@@ -3603,6 +3603,58 @@ typedef enum {
    WMI_BDF_VERSION_FW_TOO_NEW = 5,
} wmi_bdf_version_status_type;
/*
 * supported_wifi_generations GET/SET APIs
 */
#define WMI_SUPPORTED_WIFI_4_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(wifi_generations, 0, 1)
#define WMI_SUPPORTED_WIFI_5_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(supported_wifi_generations, 1, 1)
#define WMI_SUPPORTED_WIFI_6_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(supported_wifi_generations, 2, 1)
#define WMI_SUPPORTED_WIFI_7_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(supported_wifi_generations, 3, 1)
#define WMI_SUPPORTED_WIFI_8_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(supported_wifi_generations, 4, 1)
#define WMI_SUPPORTED_WIFI_4_GENERATION_SET(wifi_generations, value) \
        WMI_SET_BITS(supported_wifi_generations, 0, 1, value)
#define WMI_SUPPORTED_WIFI_5_GENERATION_SET(wifi_generations, value) \
        WMI_SET_BITS(supported_wifi_generations, 1, 1, value)
#define WMI_SUPPORTED_WIFI_6_GENERATION_SET(wifi_generations, value) \
        WMI_SET_BITS(supported_wifi_generations, 2, 1, value)
#define WMI_SUPPORTED_WIFI_7_GENERATION_SET(wifi_generations, value) \
        WMI_SET_BITS(supported_wifi_generations, 3, 1, value)
#define WMI_SUPPORTED_WIFI_8_GENERATION_SET(wifi_generations, value) \
        WMI_SET_BITS(supported_wifi_generations, 4, 1, value)
/*
 * supported_wifi_certified_generations GET/SET APIs
 */
#define WMI_SUPPORTED_WIFI_4_CERTIFIED_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(wifi_generations, 0, 1)
#define WMI_SUPPORTED_WIFI_5_CERTIFIED_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(wifi_generations, 1, 1)
#define WMI_SUPPORTED_WIFI_6_CERTIFIED_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(wifi_generations, 2, 1)
#define WMI_SUPPORTED_WIFI_7_CERTIFIED_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(wifi_generations, 3, 1)
#define WMI_SUPPORTED_WIFI_8_CERTIFIED_GENERATION_GET(wifi_generations) \
        WMI_GET_BITS(wifi_generations, 4, 1)
#define WMI_SUPPORTED_WIFI_4_CERTIFIED_GENERATION_SET(wifi_certified_generations, value) \
        WMI_SET_BITS(wifi_certified_generations, 0, 1, value)
#define WMI_SUPPORTED_WIFI_5_CERTIFIED_GENERATION_SET(wifi_certified_generations, value) \
        WMI_SET_BITS(wifi_certified_generations, 1, 1, value)
#define WMI_SUPPORTED_WIFI_6_CERTIFIED_GENERATION_SET(wifi_certified_generations, value) \
        WMI_SET_BITS(wifi_certified_generations, 2, 1, value)
#define WMI_SUPPORTED_WIFI_7_CERTIFIED_GENERATION_SET(wifi_certified_generations, value) \
        WMI_SET_BITS(wifi_certified_generations, 3, 1, value)
#define WMI_SUPPORTED_WIFI_8_CERTIFIED_GENERATION_SET(wifi_certified_generations, value) \
        WMI_SET_BITS(wifi_certified_generations, 4, 1, value)
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param.*/
@@ -3756,6 +3808,31 @@ typedef struct {
     */
    A_UINT32 num_max_mlo_link_per_ml_sap_supp;
    /* supported_wifi_generations:
     * Indicate the transmitting STA's MAC/PHY feature support includes all the
     * mandatory features of the particular Wi-Fi generation.
     * Refer to the WMI_SUPPORTED_WIFI_x_GENERATION_GET/SET macros
     * for interpreting which bit within this bitmap corresponds to which
     * WiFi generation.
     * The individual bits should only be checked if
     * supported_wifi_generations != 0x0.
     * This field is invalid and should be ignored unless it contains
     * at least 1 set bit.
     */
    A_UINT32 supported_wifi_generations;
    /* supported_wifi_certified_generations:
     * Indicate the transmitting STA's Wi-Fi Alliance certifications.
     * Refer to the WMI_SUPPORTED_WIFI_x_CERTIFIED_GENERATION_GET/SET macros
     * for interpreting which bit within this bitmap corresponds to which
     * WiFi generation.
     * The individual bits should only be checked if
     * supported_wifi_certified_generations != 0x0.
     * This field is invalid and should be ignored unless it contains
     * at least 1 set bit.
     */
    A_UINT32 supported_wifi_certified_generations;
    /* Followed by next TLVs:
     *     WMI_DMA_RING_CAPABILITIES          dma_ring_caps[];
     *     wmi_spectral_bin_scaling_params    wmi_bin_scaling_params[];
+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_ 1529
#define __WMI_REVISION_ 1530

/** The Version Namespace should not be normally changed. Only
 *  host and firmware of the same WMI namespace will work