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

Commit bffe0111 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 30541cf2 on remote branch

Change-Id: I7c4c4d627148512b6c6dd83b69fc0059f999050f
parents eed55bc3 30541cf2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -530,6 +530,9 @@ typedef enum {
    WMI_SERVICE_FORCED_DTIM_SUPP = 285, /* Indicates FW supports forced DTIM configuration */
    WMI_SERVICE_DCS_AWGN_INT_SUPPORT = 286, /* Indicates FW supports AWGN Int */
    WMI_SERVICE_IGMP_OFFLOAD_SUPPORT = 287, /* FW supports igmp offload during APPS suspend */
    WMI_SERVICE_11AX_TDLS_SUPPORT = 288, /* Indicates FW supports 11ax TDLS. Host should enable 11ax on TDLS only when FW indicates the support. */
    WMI_SERVICE_11BE = 289, /* Indicates FW supports 11be */
    WMI_SERVICE_BIG_DATA_SUPPORT = 290, /* Indicates FW supports Big Data feature */


    WMI_MAX_EXT2_SERVICE
+11 −1
Original line number Diff line number Diff line
@@ -1150,6 +1150,9 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_mlo_teardown_fixed_param,
    WMITLV_TAG_STRUC_wmi_mlo_teardown_complete_fixed_param,
    WMITLV_TAG_STRUC_wmi_igmp_offload_fixed_param,
    WMITLV_TAG_STRUC_wmi_pdev_extd_stats,
    WMITLV_TAG_STRUC_wmi_peer_assoc_mlo_params,
    WMITLV_TAG_STRUC_wmi_vdev_smart_monitor_event_fixed_param,
} WMITLV_TAG_ID;

/*
@@ -1877,6 +1880,7 @@ typedef enum {
    OP(WMI_PDEV_GET_DPD_STATUS_EVENTID) \
    OP(WMI_MLO_SETUP_COMPLETE_EVENTID) \
    OP(WMI_MLO_TEARDOWN_COMPLETE_EVENTID) \
    OP(WMI_VDEV_SMART_MONITOR_EVENTID) \
    /* add new EVT_LIST elements above this line */


@@ -5168,7 +5172,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWFDA_EVENTID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_congestion_stats, congestion_stats, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_extd2_stats, peer_extd2_stats, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmf_bcn_protect_stats, pmf_bcn_protect_stats, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_extd_stats, vdev_extd_stats, WMITLV_SIZE_VAR)
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_extd_stats, vdev_extd_stats, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_extd_stats, pdev_extd_stats, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_STATS_EVENTID);

/* Update PN response Event */
@@ -6274,6 +6279,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_MLO_SETUP_COMPLETE_EVENTID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_teardown_complete_fixed_param, wmi_mlo_teardown_complete_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_MLO_TEARDOWN_COMPLETE_EVENTID);

/* Send Smart Monitor related params to host */
#define WMITLV_TABLE_WMI_VDEV_SMART_MONITOR_EVENTID(id,op,buf,len) \
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_smart_monitor_event_fixed_param, wmi_vdev_smart_monitor_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SMART_MONITOR_EVENTID);


#ifdef __cplusplus
}
+132 −4
Original line number Diff line number Diff line
@@ -1575,7 +1575,8 @@ typedef enum {
    WMI_VDEV_BCN_LATENCY_EVENTID,
    /** Disconnect request from FW */
    WMI_VDEV_DISCONNECT_EVENTID,
    /** Send Smart Monitor related params to host */
    WMI_VDEV_SMART_MONITOR_EVENTID,
    /* peer specific events */
    /** FW reauet to kick out the station for reasons like inactivity,lack of response ..etc */
@@ -8242,6 +8243,7 @@ typedef enum {
    WMI_REQUEST_MIB_EXTD_STAT        = 0x04000,
    WMI_REQUEST_PMF_BCN_PROTECT_STAT = 0x08000,
    WMI_REQUEST_VDEV_EXTD_STAT       = 0x10000,
    WMI_REQUEST_PDEV_EXTD_STAT       = 0x20000,
} wmi_stats_id;
/*
@@ -9040,6 +9042,10 @@ typedef struct {
 * wmi_vdev_extd_stats wmi_vdev_extd_stats[]
 * follows the other TLVs
 */
/* If WMI_REQUEST_PDEV_EXTD_STAT is set in stats_id, then TLV
 * wmi_pdev_extd_stats wmi_pdev_extd_stats[]
 * follows the other TLVs
 */
} wmi_stats_event_fixed_param;
/* WLAN channel CCA stats bitmap  */
@@ -10053,6 +10059,30 @@ typedef struct {
#define wmi_pdev_stats wmi_pdev_stats_v1
#endif
/**
 *  pdev extension statistics
 */
typedef struct {
    A_UINT32 tlv_header;
    /* pdev id */
    A_UINT32 pdev_id;
    /** my_rx_count
     * What portion of time, as measured by the MAC HW clock was occupied
     * by receiving PPDUs addressed to one of the vdevs within this pdev.
     */
    A_UINT32 my_rx_count;
    /** rx_matched_11ax_msdu_cnt
     * number of Rx 11ax MSDUs with matching BSS color counter
     * updated at EOP (end of packet)
     */
    A_UINT32 rx_matched_11ax_msdu_cnt;
    /** rx_other_11ax_msdu_cnt
     * number of Rx 11ax MSDUs with other BSS color counter updated at EOP
     * (end of packet)
     */
    A_UINT32 rx_other_11ax_msdu_cnt;
} wmi_pdev_extd_stats;
/**
 *  VDEV statistics
 *  @todo
@@ -10446,13 +10476,16 @@ typedef struct {
/*
 * Param values to be sent for WMI_VDEV_PARAM_SGI command
 * which are used in 11ax systems
 * which are used in 11ax, 11be systems
 */
#define WMI_SGI_LEGACY         0x1 /* for HT and VHT   */
#define WMI_SGI_HE_400_NS      0x2 /* for HE 400 nsec  */
#define WMI_SGI_HE_800_NS      0x4 /* for HE 800 nsec  */
#define WMI_SGI_HE_1600_NS     0x8 /* for HE 1600 nsec */
#define WMI_SGI_HE_3200_NS    0x10 /* for HE 3200 nsec */
#define WMI_SGI_EHT_800_NS    0x20 /* for EHT 800 nsec  */
#define WMI_SGI_EHT_1600_NS   0x40 /* for EHT 1600 nsec */
#define WMI_SGI_EHT_3200_NS   0x80 /* for EHT 3200 nsec */
/*
 * Param values to be sent for WMI_VDEV_PARAM_HE_LTF command
@@ -10462,6 +10495,14 @@ typedef struct {
#define WMI_HE_LTF_1X      0x1
#define WMI_HE_LTF_2X      0x2
#define WMI_HE_LTF_4X      0x3
/*
 * Param values to be sent for WMI_VDEV_EHT_PARAM_LTF command
 * which are used in 11be systems
 */
#define WMI_EHT_LTF_DEFAULT 0x4
#define WMI_EHT_LTF_1X      0x5
#define WMI_EHT_LTF_2X      0x6
#define WMI_EHT_LTF_4X      0x7
/** values for vdev_subtype */
#define WMI_UNIFIED_VDEV_SUBTYPE_P2P_DEVICE 0x1
@@ -11176,6 +11217,7 @@ typedef struct {
    /** vdevid of transmitting VAP (mbssid case). Ignored for non mbssid case */
    A_UINT32 vdevid_trans;
    A_UINT32 eht_ops;
/* The TLVs follows this structure:
 *     wmi_channel chan; <-- WMI channel
@@ -11321,6 +11363,7 @@ typedef enum {
    WMI_RATE_PREAMBLE_HT,
    WMI_RATE_PREAMBLE_VHT,
    WMI_RATE_PREAMBLE_HE,
    WMI_RATE_PREAMBLE_EHT,
} WMI_RATE_PREAMBLE;
/** Value to disable fixed rate setting */
@@ -11895,7 +11938,10 @@ typedef enum {
     *     BIT0   = 1 (WMI_HE_LTF_1X)
     *     BIT1   = 1 (WMI_HE_LTF_2X)
     *     BIT2   = 1 (WMI_HE_LTF_4X)
     *     BIT3-7 = Reserved bits.
     *     BIT3   = 1 (WMI_EHT_LTF_1X)
     *     BIT4   = 1 (WMI_EHT_LTF_2X)
     *     BIT5   = 1 (WMI_EHT_LTF_4X)
     *     BIT6-7 = Reserved bits.
     * bits 15:8 (SGI): When bitmask is set, then corresponding SGI value is
     *                 used for auto rate.
     *     BIT8     = 1 (400 NS)
@@ -12259,6 +12305,13 @@ typedef enum {
     */
    WMI_VDEV_PARAM_FORCE_DTIM_CNT,           /* 0xA8 */
    /* vdev param to configure the Smart Monitor features
     *  Bit : 0     - enable/disable Trigger frames
     *  Bit : 1     - enable/disable QOS frames
     *  Bit : 2-31  - reserved
     */
    WMI_VDEV_PARAM_SMART_MONITOR_CONFIG,     /* 0xA9  */
    /*=== ADD NEW VDEV PARAM TYPES ABOVE THIS LINE ===
     * The below vdev param types are used for prototyping, and are
@@ -12310,6 +12363,48 @@ typedef enum {
         *  9  | EHT UL OFDMA + MU-MIMO
         */
        WMI_VDEV_PARAM_SET_EHT_MU_MODE,                       /* 0x8005 */
        /**
         * Specify the EHT LTF setting that should be used for fixed rate
         * transmissions.
         *
         * Expects values of WMI_EHT_LTF_DEFAULT, WMI_EHT_LTF_1X,
         * WMI_EHT_LTF_2X, or WMI_EHT_LTF_4X.
         */
         WMI_VDEV_PARAM_EHT_LTF,                               /* 0x8006 */
        /**
         * Expects values of WMI_EHT_LTF_DEFAULT, WMI_EHT_LTF_1X,
         * WMI_EHT_LTF_2X, or WMI_EHT_LTF_4X.
         */
        WMI_VDEV_PARAM_UL_EHT_LTF,                             /* 0x8007 */
        /**
         * Enable or disable Dual Carrier Modulation
         * valid values: 0-Disable EHT DCM, 1-Enable EHT DCM.
         */
        WMI_VDEV_PARAM_EHT_DCM,                                /* 0x8008 */
        /**
         * Enable or disable Extended range
         * valid values: 0-Disable ER, 1-Enable ER.
         */
        WMI_VDEV_PARAM_EHT_RANGE_EXT,                          /* 0x8009 */
        /**
         * Enable or disable Non-data EHT Extended range
         *  valid values: 0-Disable ER, 1-Enable ER.
         */
        WMI_VDEV_PARAM_NON_DATA_EHT_RANGE_EXT,                 /* 0x800A */
        /*
         * 0 - fixed pattern disable,
         * 1 - Fixed pattern enable and value pointed by
         *     WMI_VDEV_PARAM_FIXED_PUNCTURE_PATTERN
         *     punctured mode for 11be systems
         */
        WMI_VDEV_PARAM_FIXED_PUNCTURE_PATTERN,                /* 0x800B */
    /*=== END VDEV_PARAM_PROTOTYPE SECTION ===*/
} WMI_VDEV_PARAM;
@@ -26557,6 +26652,12 @@ typedef enum wmi_coex_config_type {
     * arg1: select fixed coex algorithm
     */
    WMI_COEX_CONFIG_FORCED_ALGO = 47,
    /* WMI_COEX_CONFIG_LE_SCAN_POLICY
     * BLE scan Coex policy hint
     * 0 to place more emphasis on BLE Scan results
     * 1 to place more emphasis on WLAN performance
     */
    WMI_COEX_CONFIG_LE_SCAN_POLICY = 48,
} WMI_COEX_CONFIG_TYPE;
typedef struct {
@@ -29366,9 +29467,18 @@ typedef struct {
typedef struct {
    A_UINT32 tlv_header;    /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_twt_disable_complete_event_fixed_param */
    A_UINT32 reserved0;     /* unused right now */
    A_UINT32 pdev_id;
    A_UINT32 status; /* refer to WMI_DISABLE_TWT_STATUS_T enum */
} wmi_twt_disable_complete_event_fixed_param;
/* status code of TWT Disable */
typedef enum _WMI_DISABLE_TWT_STATUS_T {
    WMI_DISABLE_TWT_STATUS_OK,                  /*  Disabling TWT successfully completed */
    WMI_DISABLE_TWT_STATUS_ROAM_IN_PROGRESS,    /* Roaming in progress */
    WMI_DISABLE_TWT_STATUS_CHAN_SW_IN_PROGRESS, /* Channel switch in progress */
    WMI_DISABLE_TWT_STATUS_SCAN_IN_PROGRESS,    /* Scan in progress */
} WMI_DISABLE_TWT_STATUS_T;
typedef struct {
    A_UINT32 tlv_header;    /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_twt_notify_event_fixed_param */
    A_UINT32 vdev_id;      /* vdev id of TWT notify event */
@@ -29484,6 +29594,7 @@ typedef enum _WMI_ADD_TWT_STATUS_T {
    WMI_ADD_TWT_STATUS_AP_IE_VALIDATION_FAILED, /* peer AP IE Validation Failed */
    WMI_ADD_TWT_STATUS_ROAM_IN_PROGRESS,    /* Roaming in progress */
    WMI_ADD_TWT_STATUS_CHAN_SW_IN_PROGRESS, /* Channel switch in progress */
    WMI_ADD_TWT_STATUS_SCAN_IN_PROGRESS,    /* Scan in progress */
} WMI_ADD_TWT_STATUS_T;
typedef struct {
@@ -29536,6 +29647,7 @@ typedef enum _WMI_DEL_TWT_STATUS_T {
    WMI_DEL_TWT_STATUS_ROAMING,             /* Reason Roaming Start*/
    WMI_DEL_TWT_STATUS_CONCURRENCY,         /* Teardown due to concurrency */
    WMI_DEL_TWT_STATUS_CHAN_SW_IN_PROGRESS, /* Channel switch in progress */
    WMI_DEL_TWT_STATUS_SCAN_IN_PROGRESS,    /* Reason Scan in progress */
} WMI_DEL_TWT_STATUS_T;
typedef struct {
@@ -29565,6 +29677,8 @@ typedef enum _WMI_PAUSE_TWT_STATUS_T {
    WMI_PAUSE_TWT_STATUS_ALREADY_PAUSED,      /* The TWT dialog is already paused */
    WMI_PAUSE_TWT_STATUS_TWT_INFO_FRM_NOT_SUPPORTED, /* TWT information frame is not supported by AP */
    WMI_PAUSE_TWT_STATUS_CHAN_SW_IN_PROGRESS, /* Channel switch in progress */
    WMI_PAUSE_TWT_STATUS_ROAM_IN_PROGRESS,    /* Roam in progress */
    WMI_PAUSE_TWT_STATUS_SCAN_IN_PROGRESS,    /* Scan in progress */
} WMI_PAUSE_TWT_STATUS_T;
typedef struct {
@@ -29596,6 +29710,8 @@ typedef enum _WMI_RESUME_TWT_STATUS_T {
    WMI_RESUME_TWT_STATUS_UNKNOWN_ERROR,       /* resuming TWT dialog failed with an unknown reason */
    WMI_RESUME_TWT_STATUS_TWT_INFO_FRM_NOT_SUPPORTED, /* TWT information frame is not supported by AP */
    WMI_RESUME_TWT_STATUS_CHAN_SW_IN_PROGRESS, /* Channel switch in progress */
    WMI_RESUME_TWT_STATUS_ROAM_IN_PROGRESS,    /* Roam in progress */
    WMI_RESUME_TWT_STATUS_SCAN_IN_PROGRESS,    /* Scan in progress */
} WMI_RESUME_TWT_STATUS_T;
typedef struct {
@@ -29627,6 +29743,8 @@ typedef enum _WMI_TWT_NUDGE_STATUS_T {
    WMI_NUDGE_TWT_STATUS_ALREADY_PAUSED,      /* The TWT dialog is already paused */
    WMI_NUDGE_TWT_STATUS_TWT_INFO_FRM_NOT_SUPPORTED, /* TWT information frame is not supported by AP */
    WMI_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS, /* Channel switch in progress */
    WMI_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS,    /* Roam in progress */
    WMI_NUDGE_TWT_STATUS_SCAN_IN_PROGRESS,    /* Scan in progress */
} WMI_TWT_NUDGE_STATUS_T;
typedef struct {
@@ -33988,6 +34106,16 @@ typedef struct {
 */
} wmi_igmp_offload_fixed_param;
typedef struct {
    /** TLV tag and len; tag equals
    * WMITLV_TAG_STRUC_wmi_vdev_smart_monitor_event_fixed_param */
    A_UINT32 tlv_header;
    /* VDEV identifier */
    A_UINT32 vdev_id;
    /** Average RSSI value of Data Frames */
    A_INT32 avg_rssi_data_dbm;
} wmi_vdev_smart_monitor_event_fixed_param;
/* ADD NEW DEFS HERE */
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,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_ 980
#define __WMI_REVISION_ 988

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