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

Commit 47bd2242 authored by Sandeep Puligilla's avatar Sandeep Puligilla
Browse files

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

Change-Id: Ib5fff78d14dd4f7d1d7b2684fae7e00aff1fb25c
WMI: add RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENT msg def
CRs-Fixed: 2262693
parent 79605255
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1220,6 +1220,8 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_debug_mesg_fw_cal_failure_param,
    WMITLV_TAG_STRUC_wmi_quiet_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_ctrl_path_bmiss_stats_struct,
    WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_changed_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_tlv,
} WMITLV_TAG_ID;

/*
@@ -1979,6 +1981,7 @@ typedef enum {
    OP(WMI_VDEV_UPDATE_MAC_ADDR_CONF_EVENTID) \
    OP(WMI_ROAM_FRAME_EVENTID) \
    OP(WMI_QUIET_HANDLING_EVENTID) \
    OP(WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID) \
    /* add new EVT_LIST elements above this line */


@@ -6582,6 +6585,15 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_UPDATE_MAC_ADDR_CONF_EVENTID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_quiet_event_fixed_param, wmi_quiet_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_QUIET_HANDLING_EVENTID);

/* Resmgr Channel Time Quota changed event */
#define WMITLV_TABLE_WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, \
        WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_changed_event_fixed_param, \
        wmi_resmgr_chan_time_quota_changed_event_fixed_param, \
        fixed_param, WMITLV_SIZE_FIX) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_resmgr_chan_time_quota_tlv, chan_quota, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID);


#ifdef __cplusplus
}
+31 −0
Original line number Diff line number Diff line
@@ -2037,6 +2037,10 @@ typedef enum {
    /* TDLS Event */
    WMI_TDLS_PEER_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_TDLS),
    /* Resmgr Event */
    /* deliver the new channel time quota for home channels */
    WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_RESMGR),
    /** STA SMPS Event */
    /** force SMPS mode */
    WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_STA_SMPS),
@@ -20225,6 +20229,12 @@ typedef struct {
    A_UINT32 channel_time_quota;
} wmi_resmgr_chan_time_quota;
typedef struct {
    /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_tlv */
    A_UINT32 tlv_header;
    wmi_resmgr_chan_time_quota chan_time_quota;
} wmi_resmgr_chan_time_quota_tlv;
typedef struct {
    /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_resmgr_set_chan_time_quota_cmd_fixed_param */
    A_UINT32 tlv_header;
@@ -20239,6 +20249,27 @@ typedef struct {
 */
} wmi_resmgr_set_chan_time_quota_cmd_fixed_param;
typedef enum {
    WMI_RESMGR_QUOTA_TYPE_CLEAR   = 0,
    WMI_RESMGR_QUOTA_TYPE_FIXED   = 1,
    WMI_RESMGR_QUOTA_TYPE_DYNAMIC = 2,
} wmi_resmgr_quota_type;
typedef struct {
    /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_changed_event_fixed_param */
    A_UINT32 tlv_header;
    /** quota_type: refer to wmi_resmgr_quota_type
     *  0 :  clear  quota
     *  1 :  fixed  quota
     *  2 : dynamic quota
     */
    A_UINT32 quota_type;
/* This TLV is followed by another TLV of array of struct
 * wmi_resmgr_chan_time_quota_tlv chan_quota[num_chans];
 */
} wmi_resmgr_chan_time_quota_changed_event_fixed_param;
/* WMI_RESMGR_SET_CHAN_LATENCY_CMDID */
typedef struct {
    /* Frequency of the channel for which the latency is set */
+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_ 1087
#define __WMI_REVISION_ 1088

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