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

Commit 718b127e authored by spuligil's avatar spuligil Committed by Ravindra Konda
Browse files

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

Change-Id: I9702a8ea7c84468105509fc3b23dbbe8776bb885
CRs-Fixed: 2262693
parent 7ab5e214
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -665,6 +665,7 @@ typedef enum {
    WMI_SERVICE_E2E_SDWF_SUPPORT = 411, /* FW supports end-to-end SDWF features like SDWF scheduler */
    WMI_SERVICE_EPM = 412, /* FW supports enhanced power management */
    WMI_SERVICE_CHIPSET_LOGGING_SUPPORT = 413, /* FW supports chipset logging feature */
    WMI_SERVICE_SUPPORT_AP_SUSPEND_RESUME = 414, /* FW supports SAP suspend feature */


    WMI_MAX_EXT2_SERVICE
+7 −0
Original line number Diff line number Diff line
@@ -1437,6 +1437,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_ctrl_path_vdev_bcn_tx_stats_struct,
    WMITLV_TAG_STRUC_wmi_ctrl_path_pdev_bcn_tx_stats_struct,
    WMITLV_TAG_STRUC_wmi_soc_tx_packet_custom_classify_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param,
} WMITLV_TAG_ID;
/*
 * IMPORTANT: Please add _ALL_ WMI Commands Here.
@@ -1986,6 +1987,7 @@ typedef enum {
    OP(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID) \
    OP(WMI_REQUEST_OPM_STATS_CMDID) \
    OP(WMI_SOC_TX_PACKET_CUSTOM_CLASSIFY_CMDID) \
    OP(WMI_SET_AP_SUSPEND_RESUME_CMDID) \
    /* add new CMD_LIST elements above this line */


@@ -5613,6 +5615,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_opm_stats_cmd_fixed_param, wmi_request_opm_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_OPM_STATS_CMDID);

/* SAP suspend/resume command */
#define WMITLV_TABLE_WMI_SET_AP_SUSPEND_RESUME_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param, wmi_set_ap_suspend_resume_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_SET_AP_SUSPEND_RESUME_CMDID);



/************************** TLV definitions of WMI events *******************************/
+15 −0
Original line number Diff line number Diff line
@@ -1308,6 +1308,9 @@ typedef enum {
    /** WMI command to Request Opportunistic Power Mgmt (OPM) stats */
    WMI_REQUEST_OPM_STATS_CMDID,
    /** WMI command to Request SAP suspend/resume */
    WMI_SET_AP_SUSPEND_RESUME_CMDID,
    /*  Offload 11k related requests */
    WMI_11K_OFFLOAD_REPORT_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_11K_OFFLOAD),
@@ -37805,6 +37808,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
        WMI_RETURN_STRING(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID);
        WMI_RETURN_STRING(WMI_REQUEST_OPM_STATS_CMDID);
        WMI_RETURN_STRING(WMI_SOC_TX_PACKET_CUSTOM_CLASSIFY_CMDID);
        WMI_RETURN_STRING(WMI_SET_AP_SUSPEND_RESUME_CMDID);
    }
    return (A_UINT8 *) "Invalid WMI cmd";
@@ -48511,6 +48515,17 @@ typedef struct {
    A_UINT32 pdev_id; /** pdev_id for identifying the MAC */
} wmi_request_opm_stats_cmd_fixed_param;
/* wmi command to suspend SAP vdev */
typedef struct {
    /** TLV tag and len; tag equals
     * WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param */
    A_UINT32 tlv_header;
    /* VDEV identifier */
    A_UINT32 vdev_id; /* If 0xFF, find vdevs corresponding to MLD MAC address */
    wmi_mac_addr mld_mac_address; /* MLD MAC address */
    A_UINT32 is_ap_suspend; /* 1 = suspend, 0 = resume */
} wmi_set_ap_suspend_resume_fixed_param;
/* ADD NEW DEFS HERE */
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,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_ 1480
#define __WMI_REVISION_ 1481

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