fw-api: CL 21693223 - update fw common interface files
Change-Id: I60c735c052d21acf95bfb48f65102e04b9859216 WMI: add MLO_VDEV_GET_LINK_INFO CMD, MLO_VDEV_LINK_INFO EVENT msg defs CRs-Fixed: 2262693
This commit is contained in:
@@ -1343,6 +1343,9 @@ typedef enum {
|
||||
WMITLV_TAG_STRUC_wmi_scan_blanking_params_info,
|
||||
WMITLV_TAG_STRUC_wmi_peer_list,
|
||||
WMITLV_TAG_STRUC_wmi_ctrl_path_t2lm_stats_struct,
|
||||
WMITLV_TAG_STRUC_wmi_mlo_vdev_get_link_info_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_mlo_vdev_link_info_event_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_mlo_vdev_link_info,
|
||||
} WMITLV_TAG_ID;
|
||||
|
||||
/*
|
||||
@@ -1863,6 +1866,7 @@ typedef enum {
|
||||
OP(WMI_HPA_CMDID) \
|
||||
OP(WMI_PDEV_SET_TGTR2P_TABLE_CMDID) \
|
||||
OP(WMI_PEER_BULK_SET_CMDID) \
|
||||
OP(WMI_MLO_VDEV_GET_LINK_INFO_CMDID) \
|
||||
/* add new CMD_LIST elements above this line */
|
||||
|
||||
|
||||
@@ -2164,6 +2168,7 @@ typedef enum {
|
||||
OP(WMI_HPA_EVENTID) \
|
||||
OP(WMI_PDEV_SET_TGTR2P_TABLE_EVENTID) \
|
||||
OP(WMI_CSA_IE_RECEIVED_EVENTID) \
|
||||
OP(WMI_MLO_VDEV_LINK_INFO_EVENTID) \
|
||||
/* add new EVT_LIST elements above this line */
|
||||
|
||||
|
||||
@@ -5295,6 +5300,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_HPA_CMDID);
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, r2p_array, WMITLV_SIZE_VAR)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_TGTR2P_TABLE_CMDID);
|
||||
|
||||
#define WMITLV_TABLE_WMI_MLO_VDEV_GET_LINK_INFO_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_vdev_get_link_info_cmd_fixed_param, wmi_mlo_vdev_get_link_info_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_MLO_VDEV_GET_LINK_INFO_CMDID);
|
||||
|
||||
|
||||
|
||||
/************************** TLV definitions of WMI events *******************************/
|
||||
@@ -7184,6 +7193,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_TGTR2P_TABLE_EVENTID);
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_event_fixed_param, wmi_csa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_CSA_IE_RECEIVED_EVENTID);
|
||||
|
||||
#define WMITLV_TABLE_WMI_MLO_VDEV_LINK_INFO_EVENTID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_vdev_link_info_event_fixed_param, wmi_mlo_vdev_link_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_vdev_link_info, mlo_vdev_link_info, WMITLV_SIZE_VAR)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_MLO_VDEV_LINK_INFO_EVENTID);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@@ -1549,6 +1549,8 @@ typedef enum {
|
||||
WMI_MLO_LINK_REMOVAL_CMDID,
|
||||
/** WMI cmd used to setup Tid to Link Mapping for a MLO VAP */
|
||||
WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_CMDID,
|
||||
/** WMI cmd used to get mlo link information */
|
||||
WMI_MLO_VDEV_GET_LINK_INFO_CMDID,
|
||||
|
||||
/** WMI commands specific to Service Aware WiFi (SAWF) */
|
||||
/** configure or reconfigure the parameters for a service class */
|
||||
@@ -2365,6 +2367,8 @@ typedef enum {
|
||||
WMI_MLO_LINK_REMOVAL_EVENTID,
|
||||
/* Response event for WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_CMDID */
|
||||
WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_EVENTID,
|
||||
/* Response event for WMI_MLO_VDEV_GET_LINK_INFO_CMDID */
|
||||
WMI_MLO_VDEV_LINK_INFO_EVENTID,
|
||||
|
||||
/* WMI event specific to Quiet handling */
|
||||
WMI_QUIET_HANDLING_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_QUIET_OFL),
|
||||
@@ -33401,6 +33405,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
||||
WMI_RETURN_STRING(WMI_TDMA_SCHEDULE_REQUEST_CMDID);
|
||||
WMI_RETURN_STRING(WMI_HPA_CMDID);
|
||||
WMI_RETURN_STRING(WMI_PDEV_SET_TGTR2P_TABLE_CMDID); /* To set target rate to power table */
|
||||
WMI_RETURN_STRING(WMI_MLO_VDEV_GET_LINK_INFO_CMDID);
|
||||
}
|
||||
|
||||
return (A_UINT8 *) "Invalid WMI cmd";
|
||||
@@ -41912,6 +41917,69 @@ typedef struct {
|
||||
A_UINT32 pdev_id; /* to identify for which pdev the response is received */
|
||||
} wmi_pdev_set_tgtr2p_table_event_fixed_param;
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_mlo_vdev_get_link_info_cmd_fixed_param */
|
||||
A_UINT32 vdev_id;
|
||||
wmi_mac_addr mld_macaddr; /* MLD MAC address */
|
||||
} wmi_mlo_vdev_get_link_info_cmd_fixed_param;
|
||||
|
||||
typedef enum {
|
||||
WMI_LINK_INFO_EVENT_SUCCESS = 0,
|
||||
|
||||
/* reject due to common failure reason */
|
||||
WMI_LINK_INFO_EVENT_REJECT_FAILURE,
|
||||
|
||||
/* reject as vdev is not up */
|
||||
WMI_LINK_INFO_EVENT_REJECT_VDEV_NOT_UP,
|
||||
|
||||
/* reject as roaming is in progress */
|
||||
WMI_LINK_INFO_EVENT_REJECT_ROAMING_IN_PROGRESS,
|
||||
|
||||
/* reject as it's not MLO connection */
|
||||
WMI_LINK_INFO_EVENT_REJECT_NON_MLO_CONNECTION,
|
||||
} wmi_mlo_vdev_link_info_event_status_type;
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_mlo_vdev_link_info_event_fixed_param */
|
||||
|
||||
/* status:
|
||||
* enum wmi_mlo_vdev_link_info_event_status_type to indicate the status
|
||||
*/
|
||||
A_UINT32 status;
|
||||
|
||||
/* vdev_id:
|
||||
* unique id identifying the VDEV, generated by the caller
|
||||
*/
|
||||
A_UINT32 vdev_id;
|
||||
|
||||
wmi_mac_addr mld_macaddr; /* MLD MAC address */
|
||||
|
||||
/* hw_mode_index:
|
||||
* current hardware mode index, see soc_hw_mode_t for values
|
||||
*/
|
||||
A_UINT32 hw_mode_index;
|
||||
} wmi_mlo_vdev_link_info_event_fixed_param;
|
||||
|
||||
#define WMI_MLO_VDEV_LINK_INFO_GET_VDEVID(link_info) WMI_GET_BITS(link_info, 0, 8)
|
||||
#define WMI_MLO_VDEV_LINK_INFO_SET_VDEVID(link_info, value) WMI_SET_BITS(link_info, 0, 8, value)
|
||||
#define WMI_MLO_VDEV_LINK_INFO_GET_LINKID(link_info) WMI_GET_BITS(link_info, 8, 8)
|
||||
#define WMI_MLO_VDEV_LINK_INFO_SET_LINKID(link_info, value) WMI_SET_BITS(link_info, 8, 8, value)
|
||||
#define WMI_MLO_VDEV_LINK_INFO_GET_LINK_STATUS(link_info) WMI_GET_BITS(link_info, 16, 2)
|
||||
#define WMI_MLO_VDEV_LINK_INFO_SET_LINK_STATUS(link_info, value) WMI_SET_BITS(link_info, 16, 2, value)
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_mlo_vdev_link_info */
|
||||
union {
|
||||
struct {
|
||||
A_UINT32 vdev_id:8, /* vdev id for this link */
|
||||
link_id:8, /* link id defined as in 802.11 BE spec. */
|
||||
link_status:2, /* link_status - 0: active, 1: inactive */
|
||||
reserved:14;
|
||||
};
|
||||
A_UINT32 link_info;
|
||||
};
|
||||
A_UINT32 chan_freq; /* Channel frequency in MHz */
|
||||
} wmi_mlo_vdev_link_info;
|
||||
|
||||
|
||||
|
||||
|
@@ -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_ 1288
|
||||
#define __WMI_REVISION_ 1289
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
Reference in New Issue
Block a user