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

Commit 7ca26eff authored by spuligil's avatar spuligil
Browse files

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

Change-Id: Icebe186517337487a0ff61497580dab8e280f262
WMI: add VDEV_PAUSE_CMD msg def
CRs-Fixed: 2262693
parent 8f611afc
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -1360,6 +1360,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_cca_busy_subband_info,
    WMITLV_TAG_STRUC_wmi_cca_busy_subband_info,
    WMITLV_TAG_STRUC_wmi_mlo_link_disable_request_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_mlo_link_disable_request_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_ctrl_path_peer_stats_struct,
    WMITLV_TAG_STRUC_wmi_ctrl_path_peer_stats_struct,
    WMITLV_TAG_STRUC_wmi_vdev_pause_cmd_fixed_param,
} WMITLV_TAG_ID;
} WMITLV_TAG_ID;


/*
/*
@@ -1885,6 +1886,7 @@ typedef enum {
    OP(WMI_VDEV_SET_ULOFDMA_MANUAL_MU_TRIG_CMDID) \
    OP(WMI_VDEV_SET_ULOFDMA_MANUAL_MU_TRIG_CMDID) \
    OP(WMI_VDEV_STANDALONE_SOUND_CMDID) \
    OP(WMI_VDEV_STANDALONE_SOUND_CMDID) \
    OP(WMI_PDEV_SET_RF_PATH_CMDID) \
    OP(WMI_PDEV_SET_RF_PATH_CMDID) \
    OP(WMI_VDEV_PAUSE_CMDID) \
    /* add new CMD_LIST elements above this line */
    /* add new CMD_LIST elements above this line */




@@ -5350,6 +5352,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STANDALONE_SOUND_CMDID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_cmd_fixed_param, wmi_pdev_set_rf_path_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_cmd_fixed_param, wmi_pdev_set_rf_path_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RF_PATH_CMDID);
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RF_PATH_CMDID);


/* VDEV PAUSE cmd */
#define WMITLV_TABLE_WMI_VDEV_PAUSE_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_pause_cmd_fixed_param, wmi_vdev_pause_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PAUSE_CMDID);





/************************** TLV definitions of WMI events *******************************/
/************************** TLV definitions of WMI events *******************************/
+23 −0
Original line number Original line Diff line number Diff line
@@ -628,6 +628,9 @@ typedef enum {
    /** Enable SR prohibit feature for TIDs of vdev */
    /** Enable SR prohibit feature for TIDs of vdev */
    WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID,
    WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID,
    /** pause vdev's Tx, Rx, or both for a specific duration */
    WMI_VDEV_PAUSE_CMDID,
    /* peer specific commands */
    /* peer specific commands */
    /** create a peer */
    /** create a peer */
@@ -36132,6 +36135,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
        WMI_RETURN_STRING(WMI_VDEV_SET_ULOFDMA_MANUAL_MU_TRIG_CMDID);
        WMI_RETURN_STRING(WMI_VDEV_SET_ULOFDMA_MANUAL_MU_TRIG_CMDID);
        WMI_RETURN_STRING(WMI_VDEV_STANDALONE_SOUND_CMDID);
        WMI_RETURN_STRING(WMI_VDEV_STANDALONE_SOUND_CMDID);
        WMI_RETURN_STRING(WMI_PDEV_SET_RF_PATH_CMDID); /* set RF path of PHY */
        WMI_RETURN_STRING(WMI_PDEV_SET_RF_PATH_CMDID); /* set RF path of PHY */
        WMI_RETURN_STRING(WMI_VDEV_PAUSE_CMDID);
    }
    }
    return (A_UINT8 *) "Invalid WMI cmd";
    return (A_UINT8 *) "Invalid WMI cmd";
@@ -45106,6 +45110,25 @@ typedef struct {
     */
     */
} wmi_manual_ul_ofdma_trig_rx_peer_userinfo_evt_fixed_param;
} wmi_manual_ul_ofdma_trig_rx_peer_userinfo_evt_fixed_param;
typedef enum _WMI_VDEV_PAUSE_TYPE
{
    WMI_VDEV_PAUSE_TYPE_UNKNOWN = 0,
    WMI_VDEV_PAUSE_TYPE_MLO_LINK = 1,
    WMI_VDEV_PAUSE_TYPE_TX = 2,
} WMI_VDEV_PAUSE_TYPE;
typedef struct {
    /** TLV tag and len; tag equals
     * WMITLV_TAG_STRUC_wmi_vdev_pause_cmd_fixed_param */
    A_UINT32 tlv_header;
    /* VDEV identifier */
    A_UINT32 vdev_id;
    /** type of pause, refer to WMI_VDEV_PAUSE_TYPE */
    A_UINT32 pause_type;
    /** duration of pause, in unit of ms */
    A_UINT32 pause_dur_ms;
} wmi_vdev_pause_cmd_fixed_param;
/* ADD NEW DEFS HERE */
/* ADD NEW DEFS HERE */
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@
#define __WMI_VER_MINOR_    0
#define __WMI_VER_MINOR_    0
/** WMI revision number has to be incremented when there is a
/** WMI revision number has to be incremented when there is a
 *  change that may or may not break compatibility. */
 *  change that may or may not break compatibility. */
#define __WMI_REVISION_ 1310
#define __WMI_REVISION_ 1311


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