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

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

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

WMI: add pdev_id fields in ani_[cck,ofdm]_event TLV structs
Change-Id: Id5d3e66eb0d74d6109057062a7a29ead817ceb3e
CRs-Fixed: 2262693
parent 0d7cce84
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
@@ -34186,9 +34186,37 @@ typedef struct {
    A_UINT32 freqNum;
} wmi_pdev_nfcal_power_all_channels_freqNum;
/* Bit set/unset definitions for valid_bitmap field in ani_cck_event */
#define WMI_ANI_CCK_EVENT_PDEV_ID_SET(bitmap, val) \
    WMI_SET_BITS(bitmap, 0, 8, val)
#define WMI_ANI_CCK_EVENT_PDEV_ID_GET(bitmap) \
    WMI_GET_BITS(bitmap, 0, 8)
#define WMI_ANI_CCK_EVENT_PDEV_ID_VALID_BIT_SET(bitmap, val) \
    WMI_SET_BITS(bitmap, 31, 1, val)
#define WMI_ANI_CCK_EVENT_PDEV_ID_VALID_BIT_GET(bitmap) \
    WMI_GET_BITS(bitmap, 31, 1)
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_ani_cck_event_fixed_param */
    A_UINT32 cck_level;
    union {
        A_UINT32 pdev_id_valid__pdev_id__word;
        struct {
            /**
             * word containng the pdev_id for identifying the MAC
             * Contents:
             *     bits  7:0 - pdev ID
             *     bits 30:8 - reserved
             *     bit  31   - pdev ID valid flag
             * See macros starting with WMI_ANI_CCK_EVENT_PDEV_ID_ for values.
             * pdev_id is valid when pdev_id_valid is set.
             */
            A_UINT32 pdev_id: 8,
                     reserved: 23,
                     pdev_id_valid: 1;
        };
    };
} wmi_ani_cck_event_fixed_param;
typedef enum wmi_power_debug_reg_fmt_type {
@@ -34551,9 +34579,37 @@ typedef struct {
    A_UINT32 protocol_wake_lock_bitmap[4]; /* bitmap with bits set for modules (from WLAN_MODULE_ID enum) voting against sleep for prolonged duration */
} wmi_chip_power_save_failure_detected_fixed_param;
/* Bit set/unset definitions for valid_bitmap field in ani_ofdm_event */
#define WMI_ANI_OFDM_EVENT_PDEV_ID_BIT_SET(bitmap, val) \
    WMI_SET_BITS(bitmap, 0, 8, val)
#define WMI_ANI_OFDM_EVENT_PDEV_ID_BIT_GET(bitmap) \
    WMI_GET_BITS(bitmap, 0, 8)
#define WMI_ANI_OFDM_EVENT_PDEV_ID_VALID_BIT_SET(bitmap, val) \
    WMI_SET_BITS(bitmap, 31, 1, val)
#define WMI_ANI_OFDM_EVENT_PDEV_ID_VALID_BIT_GET(bitmap) \
    WMI_GET_BITS(bitmap, 31, 1)
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_ani_ofdm_event_fixed_param */
    A_UINT32 ofdm_level;
    union {
        A_UINT32 pdev_id_valid__pdev_id__word;
        struct {
            /**
             * word containng the pdev_id for identifying the MAC
             * Contents:
             *     bits  7:0 - pdev ID
             *     bits 30:8 - reserved
             *     bit  31   - pdev ID valid flag
             * See macros starting with WMI_ANI_OFDM_EVENT_PDEV_ID_ for values.
             * pdev_id is valid when pdev_id_valid is set.
             */
            A_UINT32 pdev_id: 8,
                     reserved: 23,
                     pdev_id_valid: 1;
        };
    };
} wmi_ani_ofdm_event_fixed_param;
/* When a bit is set it specifies the particular WLAN traffic type is high priority.
+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_ 1423
#define __WMI_REVISION_ 1424

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