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

Commit 257be38e authored by spuligil's avatar spuligil Committed by Rahul Choudhary
Browse files

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

WMI: add CSA_EVENT_STATUS_INDICATION_CMD msg def
Change-Id: If28bf8093085cf7c264a8f573ac539b74880acd2
CRs-Fixed: 2262693
parent 2cc80b1e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1400,6 +1400,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_enhanced_aoa_per_band_caps_param,
    WMITLV_TAG_STRUC_WMI_RADAR_FLAGS,
    WMITLV_TAG_STRUC_wmi_dma_buf_release_cqi_upload_meta_data,
    WMITLV_TAG_STRUC_wmi_csa_event_status_ind_fixed_param,
} WMITLV_TAG_ID;
/*
 * IMPORTANT: Please add _ALL_ WMI Commands Here.
@@ -1935,6 +1936,7 @@ typedef enum {
    OP(WMI_MLO_LINK_SWITCH_CONF_CMDID) \
    OP(WMI_NAN_OEM_DATA_CMDID) \
    OP(WMI_PDEV_WSI_STATS_INFO_CMDID) \
    OP(WMI_CSA_EVENT_STATUS_INDICATION_CMDID) \
    /* add new CMD_LIST elements above this line */


@@ -5467,6 +5469,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_MLO_LINK_SWITCH_CONF_CMDID);
        WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_wsi_stats_info_cmd_fixed_param, wmi_pdev_wsi_stats_info_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_WSI_STATS_INFO_CMDID);

/* CSA status indication  command to inform FW about host accepting or rejecting csa event*/
#define WMITLV_TABLE_WMI_CSA_EVENT_STATUS_INDICATION_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_event_status_ind_fixed_param ,  wmi_csa_event_status_ind_fixed_param,fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_CSA_EVENT_STATUS_INDICATION_CMDID);



/************************** TLV definitions of WMI events *******************************/
+14 −0
Original line number Diff line number Diff line
@@ -627,6 +627,10 @@ typedef enum {
    /** pause vdev's Tx, Rx, or both for a specific duration */
    WMI_VDEV_PAUSE_CMDID,
    /** WMI Command to set status of CSA event from HOST */
    WMI_CSA_EVENT_STATUS_INDICATION_CMDID,
    /* peer specific commands */
    /** create a peer */
@@ -36887,6 +36891,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
        WMI_RETURN_STRING(WMI_MLO_LINK_RECOMMENDATION_CMDID);
        WMI_RETURN_STRING(WMI_NAN_OEM_DATA_CMDID);
        WMI_RETURN_STRING(WMI_PDEV_WSI_STATS_INFO_CMDID);
        WMI_RETURN_STRING(WMI_CSA_EVENT_STATUS_INDICATION_CMDID);
    }
    return (A_UINT8 *) "Invalid WMI cmd";
@@ -46685,6 +46690,15 @@ typedef struct {
    A_UINT32 wsi_egress_load_info;
} wmi_pdev_wsi_stats_info_cmd_fixed_param;
typedef struct {
    /** TLV tag and len; tag equals
     * WMITLV_TAG_STRUC_wmi_csa_event_status_ind_fixed_param
     */
    A_UINT32 tlv_header;
    A_UINT32 vdev_id;
    A_UINT32 status; /* accept: 1 reject : 0 */
} wmi_csa_event_status_ind_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_ 1382
#define __WMI_REVISION_ 1383

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