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

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

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

WMI: add VDEV_GET_TWT_SESSION_STATS_INFO_CMD msg def, TSFs
Change-Id: I9c38a945360ee3fb427e117487cf04eb205ff697
CRs-Fixed: 2262693
parent 862868c6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -649,6 +649,7 @@ typedef enum {
    WMI_SERVICE_MULTIPLE_REORDER_QUEUE_SETUP_SUPPORT = 396, /* Indicate FW supports multiple TID reorder queues setup in one cmd */
    WMI_SERVICE_MULTIPLE_COEX_CONFIG_SUPPORT = 397, /* FW supports mutiple coex configs in one cmd */
    WMI_SERVICE_PCIE_DATA_RATE_LED_BLINK_SUPPORT = 398, /* FW supports Data Rate based LED blinking for PCI chips */
    WMI_SERVICE_VDEV_DCS_STATS_SUPPORT = 399, /* FW supports VDEV level DCS stats reporting */

    WMI_MAX_EXT2_SERVICE

+7 −0
Original line number Diff line number Diff line
@@ -1421,6 +1421,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_disallowed_mlo_mode_bitmap_param,
    WMITLV_TAG_STRUC_wmi_led_blink_rate_table,
    WMITLV_TAG_STRUC_wmi_enable_led_blink_download_rate_table_fixed_param,
    WMITLV_TAG_STRUC_wmi_vdev_get_twt_session_stats_info_cmd_fixed_param,
} WMITLV_TAG_ID;
/*
 * IMPORTANT: Please add _ALL_ WMI Commands Here.
@@ -1963,6 +1964,7 @@ typedef enum {
    OP(WMI_PEER_MULTIPLE_REORDER_QUEUE_SETUP_CMDID) \
    OP(WMI_COEX_MULTIPLE_CONFIG_CMDID) \
    OP(WMI_PDEV_ENABLE_LED_BLINK_DOWNLOAD_TABLE_CMDID) \
    OP(WMI_VDEV_GET_TWT_SESSION_STATS_INFO_CMDID) \
    /* add new CMD_LIST elements above this line */


@@ -3627,6 +3629,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_WMM_PARAMS_CMDID);

WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_TWT_EDCA_PARAMS_CMDID);

#define WMITLV_TABLE_WMI_VDEV_GET_TWT_SESSION_STATS_INFO_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_twt_session_stats_info_cmd_fixed_param, wmi_vdev_get_twt_session_stats_info_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)

WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_TWT_SESSION_STATS_INFO_CMDID);

#define WMITLV_TABLE_WMI_VDEV_SET_GTX_PARAMS_CMDID(id,op,buf,len)                                           \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_gtx_params_cmd_fixed_param, wmi_vdev_set_gtx_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)

+23 −0
Original line number Diff line number Diff line
@@ -1514,6 +1514,7 @@ typedef enum {
    WMI_TWT_BTWT_REMOVE_STA_CMDID,
    WMI_TWT_NUDGE_DIALOG_CMDID,
    WMI_VDEV_SET_TWT_EDCA_PARAMS_CMDID, /* XPAN TWT */
    WMI_VDEV_GET_TWT_SESSION_STATS_INFO_CMDID,
    /** WMI commands related to motion detection **/
    WMI_MOTION_DET_CONFIG_PARAM_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MOTION_DET),
@@ -10498,6 +10499,12 @@ typedef struct {
     */
} wmi_vdev_set_twt_edca_params_cmd_fixed_param;
typedef struct {
    /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_get_twt_session_stats_info_cmd_fixed_param */
    A_UINT32 tlv_header;
    A_UINT32 vdev_id;
} wmi_vdev_get_twt_session_stats_info_cmd_fixed_param;
typedef enum {
    WMI_REQUEST_PEER_STAT            = 0x00001,
    WMI_REQUEST_AP_STAT              = 0x00002,
@@ -17064,6 +17071,9 @@ typedef struct {
    A_UINT32 mbssid_multi_group_flag; /* Flag to identify whether multi group mbssid is supported */
    A_UINT32 mbssid_multi_group_id; /* Group id of current vdev only valid when multi group mbssid is supported */
    /* Target TSF value by which VDEV restart procedure should be completed in FW */
    A_UINT32 target_tsf_us_lo; /* bits 31:0 */
    A_UINT32 target_tsf_us_hi; /* bits 63:32 */
/* The TLVs follows this structure:
 *     wmi_channel chan; <-- WMI channel
@@ -18339,6 +18349,9 @@ typedef enum {
     */
    WMI_VDEV_PARAM_MLO_MAX_RECOM_ACTIVE_LINKS,            /* 0xC1 */
    /* DCS stats enable configuration at VDEV level */
    WMI_VDEV_PARAM_DCS,                                   /* 0xC2 */
    /*=== ADD NEW VDEV PARAM TYPES ABOVE THIS LINE ===
     * The below vdev param types are used for prototyping, and are
@@ -21289,6 +21302,12 @@ typedef struct {
     * See macros starting with WMI_PDEV_ID_ for values.
     */
    A_UINT32 pdev_id;
    /** VDEV ID for identifying DCS stats reported at VDEV level.
     * Should be interpreted only when WMI_SERVICE_VDEV_DCS_STATS_SUPPORT
     * service cap is advertized by target.
     * And value would be 0xFF if DCS stats is still configured at PDEV level.
     */
    A_UINT32 vdev_id;
/*
 * Following this struct are these TLVs. Note that they are both array of structures
 * but can have at most one element. Which TLV is empty or has one element depends
@@ -44657,12 +44676,16 @@ typedef struct {
    /* service period start TSF */
    A_UINT32     sp_tsf_us_lo; /* bits 31:0 */
    A_UINT32     sp_tsf_us_hi; /* bits 63:32 */
    /* Current TSF */
    A_UINT32     curr_tsf_us_lo; /* bits 31:0 */
    A_UINT32     curr_tsf_us_hi; /* bits 63:32 */
} wmi_twt_session_stats_info;
enum wmi_twt_session_stats_type {
    WMI_TWT_SESSION_SETUP     = 1,
    WMI_TWT_SESSION_TEARDOWN  = 2,
    WMI_TWT_SESSION_UPDATE    = 3,
    WMI_TWT_SESSION_QUERY_RSP = 4,
};
typedef struct {