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

Commit d3464209 authored by spuligil's avatar spuligil Committed by Madan Koyyalamudi
Browse files

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

Change-Id: I41150e2b71cd620a82dfa14652544c7c749403b6
WMI: add vendor_control_param TLV to ROAM_GET_VENDOR_CONTROL_PARAM_EVENT
CRs-Fixed: 2262693
parent f496c91e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1284,6 +1284,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_coap_tuple,
    WMITLV_TAG_STRUC_wmi_iface_powersave_stats,
    WMITLV_TAG_STRUC_wmi_roam_bss_info_param,
    WMITLV_TAG_STRUC_wmi_vendor_control_param,
} WMITLV_TAG_ID;

/*
@@ -5462,7 +5463,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_FRAME_EVENTID);

/* Get Roam Vendor Control Param Event */
#define WMITLV_TABLE_WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_get_vendor_control_param_event_fixed_param, wmi_roam_get_vendor_control_param_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_get_vendor_control_param_event_fixed_param, wmi_roam_get_vendor_control_param_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_control_param, vendor_control_param, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID);

/* WOW Wakeup Host Event */
+18 −3
Original line number Diff line number Diff line
@@ -851,7 +851,7 @@ typedef enum {
    WMI_ROAM_SET_PARAM_CMDID,
    /** Enable or Disable roam vendor control */
    WMI_ROAM_ENABLE_VENDOR_CONTROL_CMDID,
    /** Get roam vendor control params */
    /** Get firmware ini value */
    WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID,
    /** offload scan specific commands */
@@ -1888,7 +1888,7 @@ typedef enum {
    WMI_ROAM_CAPABILITY_REPORT_EVENTID,
    /** Send AP frame content like beacon/probe resp etc.. */
    WMI_ROAM_FRAME_EVENTID,
    /** GET Roam Vendor Control Param event */
    /** Send firmware ini value corresponding to param_id */
    WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID,
    /** P2P disc found */
@@ -34541,6 +34541,8 @@ typedef enum {
    ROAM_VENDOR_CONTROL_PARAM_PASSIVE_CH_DWELLTIME,
    ROAM_VENDOR_CONTROL_PARAM_HOME_CH_TIME,
    ROAM_VENDOR_CONTROL_PARAM_AWAY_TIME,
    /* Sending query for all roam_vendor_control_param */
    ROAM_VENDOR_CONTROL_PARAM_ALL = 0xFFFFFFFF,
} WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID;
typedef struct {
@@ -34557,12 +34559,25 @@ typedef struct {
    A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_get_vendor_control_param_event_fixed_param */
    /** unique id identifying the VDEV, generated by the caller */
    A_UINT32 vdev_id;
    /** Vendor Control Param ID from enum WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID */
    /**
     * Vendor Control Param ID from enum WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID
     * If param_id is ROAM_VENDOR_CONTROL_PARAM_ALL, send all vendor control
     * param value defined in enum WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID
     * using wmi_vendor_control_param tlv
     */
    A_UINT32 param_id;
    /** Vendor control param value */
    A_UINT32 param_value;
} wmi_roam_get_vendor_control_param_event_fixed_param;
typedef struct {
    A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vendor_control_param */
    /** Vendor Control Param ID from enum WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID */
    A_UINT32 param_id;
    /** Vendor control param value */
    A_UINT32 param_value;
} wmi_vendor_control_param;
/** the definition of different ROAM parameters */
typedef enum {
    /*  roam param to configure below roam events
+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_ 1164
#define __WMI_REVISION_ 1165

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