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

Commit 85c018c1 authored by spuligil's avatar spuligil
Browse files

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

Change-Id: Ib7c9d49b9e6b9a46932d8347be337dc8edc95da5
WMI: provide new version of wmi_vdev_id_info
CRs-Fixed: 2262693
parent d824521a
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
@@ -10453,6 +10453,35 @@ typedef struct {
#define WMI_VDEV_ID_INFO_GET_VALIDATE(vdev_id_info)            WMI_GET_BITS(vdev_id_info, 31, 1)
#define WMI_VDEV_ID_INFO_SET_VALIDATE(vdev_id_info, value)     WMI_SET_BITS(vdev_id_info, 31, 1, value)
typedef struct {
    union {
        struct {
            A_UINT32
                id: 8, /* the vdev ID */
                /* validate:
                 * validate bit, the vdev ID (id and link_status) is only valid
                 * if this bit set as 1.
                 */
                validate: 1,
                /* link_status:
                 * 0 -> link inactive
                 * 1 -> link active
                 */
                link_status: 1,
                reserved:22;
        };
        A_UINT32 vdev_info_word0;
    };
} wmi_vdev_id_info_v2;
#define WMI_VDEV_ID_INFO_V2_GET_VDEV_ID(vdev_id_info_v2)             WMI_GET_BITS(vdev_id_info_v2, 0, 8)
#define WMI_VDEV_ID_INFO_V2_SET_VDEV_ID(vdev_id_info_v2, value)      WMI_SET_BITS(vdev_id_info_v2, 0, 8, value)
#define WMI_VDEV_ID_INFO_V2_GET_VALIDATE(vdev_id_info_v2)            WMI_GET_BITS(vdev_id_info_v2, 8, 1)
#define WMI_VDEV_ID_INFO_V2_SET_VALIDATE(vdev_id_info_v2, value)     WMI_SET_BITS(vdev_id_info_v2, 8, 1, value)
#define WMI_VDEV_ID_INFO_V2_GET_LINK_STATUS(vdev_id_info_v2)         WMI_GET_BITS(vdev_id_info_v2, 9, 1)
#define WMI_VDEV_ID_INFO_V2_SET_LINK_STATUS(vdev_id_info_v2, value)  WMI_SET_BITS(vdev_id_info_v2, 9, 1, value)
/*
 * Each step represents 0.5 dB.  The starting value is 0 dBm.
 * Thus the TPC levels cover 0 dBm to 31.5 dBm inclusive in 0.5 dB steps.
@@ -11016,6 +11045,8 @@ typedef struct {
    A_UINT32 num_mib_extd_stats;
    /** Indicates the vdev id of the stats for MLO stats query */
    wmi_vdev_id_info vdev_id_info;
    /** Indicates the vdev id of the stats for MLO stats query v2 */
    wmi_vdev_id_info_v2 vdev_id_info_v2;
/* This TLV is followed by another TLV of array of bytes
 *   A_UINT8 data[];
+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_ 1276
#define __WMI_REVISION_ 1277

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