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

Change-Id: If591c5f28207af88488872caa6e2e3e311a99cbb
WMI: add ROAM ENABLE,GET VENDOR CONTROL msg defs
CRs-Fixed: 2262693
这个提交包含在:
spuligil
2022-05-01 06:02:30 -07:00
父节点 763f557016
当前提交 0ad635d022
修改 4 个文件,包含 72 行新增1 行删除

查看文件

@@ -845,6 +845,10 @@ typedef enum {
WMI_ROAM_MLO_CONFIG_CMDID,
/** set roam params **/
WMI_ROAM_SET_PARAM_CMDID,
/** Enable or Disable roam vendor control */
WMI_ROAM_ENABLE_VENDOR_CONTROL_CMDID,
/** Get roam vendor control params */
WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID,
/** offload scan specific commands */
/** set offload scan AP profile */
@@ -1854,6 +1858,8 @@ 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 */
WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID,
/** P2P disc found */
WMI_P2P_DISC_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_P2P),
@@ -31381,6 +31387,8 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
WMI_RETURN_STRING(WMI_SET_MULTIPLE_PDEV_VDEV_PARAM_CMDID);
WMI_RETURN_STRING(WMI_PMM_SCRATCH_REG_ALLOCATION_CMDID);
WMI_RETURN_STRING(WMI_MLO_PEER_TID_TO_LINK_MAP_CMDID);
WMI_RETURN_STRING(WMI_ROAM_ENABLE_VENDOR_CONTROL_CMDID);
WMI_RETURN_STRING(WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID);
}
return (A_UINT8 *) "Invalid WMI cmd";
@@ -34231,6 +34239,47 @@ typedef struct {
A_UINT32 param_value;
} wmi_roam_set_param_cmd_fixed_param;
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_enable_vendor_cmd_fixed_param */
/** unique id identifying the VDEV, generated by the caller */
A_UINT32 vdev_id;
/** abstract mechanism for differentiating vendors */
A_UINT32 vendor_id;
/** 1 - Enable, 0 - Disable */
A_UINT32 enable;
} wmi_roam_enable_vendor_control_cmd_fixed_param;
typedef enum {
ROAM_VENDOR_CONTROL_PARAM_TRIGGER = 1,
ROAM_VENDOR_CONTROL_PARAM_DELTA,
ROAM_VENDOR_CONTROL_PARAM_FULL_SCANPERIOD,
ROAM_VENDOR_CONTROL_PARAM_PARTIAL_SCANPERIOD,
ROAM_VENDOR_CONTROL_PARAM_ACTIVE_CH_DWELLTIME,
ROAM_VENDOR_CONTROL_PARAM_PASSIVE_CH_DWELLTIME,
ROAM_VENDOR_CONTROL_PARAM_HOME_CH_TIME,
ROAM_VENDOR_CONTROL_PARAM_AWAY_TIME,
} WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID;
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_get_vendor_param_cmd_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 */
A_UINT32 param_id;
} wmi_roam_get_vendor_control_param_cmd_fixed_param;
/* WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID - No need to make this event as wakeable event
* Host ensures to take wakelock after sending WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID command */
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 */
A_UINT32 param_id;
/** Vendor control param value */
A_UINT32 param_value;
} wmi_roam_get_vendor_control_param_event_fixed_param;
/** the definition of different ROAM parameters */
typedef enum {
/* roam param to configure below roam events