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

Commit 4a40495f authored by Sandeep Puligilla's avatar Sandeep Puligilla
Browse files

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

Change-Id: I4fd5aab78a6915374323bf4358771a705342cabf
WMI: add SOC_TQM_RESET_ENABLE_DISABLE_CMD msg def
CRs-Fixed: 2262693
parent 56bf2d67
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1223,6 +1223,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_changed_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_tlv,
    WMITLV_TAG_STRUC_wmi_sw_cal_ver_cap,
    WMITLV_TAG_STRUC_wmi_soc_tqm_reset_enable_disable_cmd_fixed_param,
} WMITLV_TAG_ID;

/*
@@ -1706,6 +1707,7 @@ typedef enum {
    OP(WMI_VDEV_UPDATE_MAC_ADDR_CMDID) \
    OP(WMI_SAWF_SVC_CLASS_CFG_CMDID) \
    OP(WMI_SAWF_SVC_CLASS_DISABLE_CMDID) \
    OP(WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID) \
    /* add new CMD_LIST elements above this line */


@@ -4883,6 +4885,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_SAWF_SVC_CLASS_CFG_CMDID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sawf_svc_class_disable_cmd_fixed_param, wmi_sawf_svc_class_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_SAWF_SVC_CLASS_DISABLE_CMDID);

/* WMI CMD used to Enable/Disable Cmd for TQM reset feature */
#define WMITLV_TABLE_WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_tqm_reset_enable_disable_cmd_fixed_param, wmi_soc_tqm_reset_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID);



/************************** TLV definitions of WMI events *******************************/
+12 −0
Original line number Diff line number Diff line
@@ -1311,6 +1311,8 @@ typedef enum {
    WMI_SOC_SET_HW_MODE_CMDID,
    WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID,
    WMI_SOC_SET_ANTENNA_MODE_CMDID,
    /** enable/disable TQM reset (SOC level) feature */
    WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID,
    /* packet filter commands */
    WMI_PACKET_FILTER_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_PKT_FILTER),
@@ -30232,6 +30234,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
        WMI_RETURN_STRING(WMI_SAWF_SVC_CLASS_CFG_CMDID);
        WMI_RETURN_STRING(WMI_SAWF_SVC_CLASS_DISABLE_CMDID);
        WMI_RETURN_STRING(WMI_VDEV_UPDATE_MAC_ADDR_CMDID);
        WMI_RETURN_STRING(WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID);
    }
    return (A_UINT8 *) "Invalid WMI cmd";
@@ -36935,6 +36938,15 @@ typedef struct {
    A_UINT32 status;      /* Return status. 0 for success, non-zero otherwise */
} wmi_sw_cal_ver_cap;
typedef struct {
    /** TLV tag and len; tag equals
      * WMITLV_TAG_STRUC_wmi_soc_tqm_reset_enable_disable_cmd_fixed_param
      */
    A_UINT32 tlv_header;
    /** 0 - disable TQM-reset feature, 1 - enable TQM-reset feature */
    A_UINT32 enable;
} wmi_soc_tqm_reset_enable_disable_cmd_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_ 1090
#define __WMI_REVISION_ 1091

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