fw-api: CL 25618622 - update fw common interface files
WMI: add mlo_link_info TLV array in ROAM_STATS_EVENT msg Change-Id: Ic15545d592b64d94cd2e4dcaeb6c77e0b50a7a4e CRs-Fixed: 2262693
This commit is contained in:
@@ -1424,6 +1424,7 @@ typedef enum {
|
|||||||
WMITLV_TAG_STRUC_wmi_vdev_get_twt_session_stats_info_cmd_fixed_param,
|
WMITLV_TAG_STRUC_wmi_vdev_get_twt_session_stats_info_cmd_fixed_param,
|
||||||
WMITLV_TAG_STRUC_wmi_pdev_enable_wifi_radar_cmd_fixed_param,
|
WMITLV_TAG_STRUC_wmi_pdev_enable_wifi_radar_cmd_fixed_param,
|
||||||
WMITLV_TAG_STRUC_wmi_dma_buf_release_wifi_radar_meta_data,
|
WMITLV_TAG_STRUC_wmi_dma_buf_release_wifi_radar_meta_data,
|
||||||
|
WMITLV_TAG_STRUC_wmi_mlo_link_info,
|
||||||
} WMITLV_TAG_ID;
|
} WMITLV_TAG_ID;
|
||||||
/*
|
/*
|
||||||
* IMPORTANT: Please add _ALL_ WMI Commands Here.
|
* IMPORTANT: Please add _ALL_ WMI Commands Here.
|
||||||
@@ -4836,7 +4837,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_WLM_CONFIG_CMDID);
|
|||||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_kickout, roam_trigger_kickout, WMITLV_SIZE_VAR) \
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_kickout, roam_trigger_kickout, WMITLV_SIZE_VAR) \
|
||||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_per, roam_trigger_per, WMITLV_SIZE_VAR) \
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_per, roam_trigger_per, WMITLV_SIZE_VAR) \
|
||||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_periodic, roam_trigger_periodic, WMITLV_SIZE_VAR) \
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_periodic, roam_trigger_periodic, WMITLV_SIZE_VAR) \
|
||||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_hi_rssi, roam_trigger_hi_rssi, WMITLV_SIZE_VAR)
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_hi_rssi, roam_trigger_hi_rssi, WMITLV_SIZE_VAR) \
|
||||||
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_link_info, mlo_link_info, WMITLV_SIZE_VAR)
|
||||||
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_STATS_EVENTID);
|
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_STATS_EVENTID);
|
||||||
|
|
||||||
/* Motion detection cmd */
|
/* Motion detection cmd */
|
||||||
|
@@ -29042,6 +29042,7 @@ typedef struct {
|
|||||||
A_UINT32 reassoc_rsp_len;
|
A_UINT32 reassoc_rsp_len;
|
||||||
/** the length of reassoc req */
|
/** the length of reassoc req */
|
||||||
A_UINT32 reassoc_req_len;
|
A_UINT32 reassoc_req_len;
|
||||||
|
A_INT32 bcn_probe_resp_rssi; /* RSSI units dBm */
|
||||||
/**
|
/**
|
||||||
* TLV (tag length value) parameters follows roam_synch_event
|
* TLV (tag length value) parameters follows roam_synch_event
|
||||||
* The TLV's are:
|
* The TLV's are:
|
||||||
@@ -40016,6 +40017,7 @@ typedef struct {
|
|||||||
* bit 1-31: reserved.
|
* bit 1-31: reserved.
|
||||||
*/
|
*/
|
||||||
A_UINT32 flags;
|
A_UINT32 flags;
|
||||||
|
wmi_mac_addr mld_addr;
|
||||||
} wmi_roam_ap_info;
|
} wmi_roam_ap_info;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
@@ -40204,6 +40206,9 @@ typedef struct {
|
|||||||
#define WMI_GET_TX_FAILED_REASON(frame_info_ext) WMI_GET_BITS(frame_info_ext, 22, 4)
|
#define WMI_GET_TX_FAILED_REASON(frame_info_ext) WMI_GET_BITS(frame_info_ext, 22, 4)
|
||||||
#define WMI_SET_TX_FAILED_REASON(frame_info_ext, val) WMI_SET_BITS(frame_info_ext, 22, 4, val)
|
#define WMI_SET_TX_FAILED_REASON(frame_info_ext, val) WMI_SET_BITS(frame_info_ext, 22, 4, val)
|
||||||
|
|
||||||
|
#define WMI_GET_MAP_ID(frame_info_ext) WMI_GET_BITS(frame_info_ext, 26, 6)
|
||||||
|
#define WMI_SET_MAP_ID(frame_info_ext, val) WMI_SET_BITS(frame_info_ext, 26, 6, val)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_frame_info_tlv_param */
|
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_frame_info_tlv_param */
|
||||||
/* timestamp is the absolute time w.r.t host timer which is synchronized between the host and target */
|
/* timestamp is the absolute time w.r.t host timer which is synchronized between the host and target */
|
||||||
@@ -40258,7 +40263,8 @@ typedef struct {
|
|||||||
* Refer to WMI_[GET,SET]_RX_INDICATE macros.
|
* Refer to WMI_[GET,SET]_RX_INDICATE macros.
|
||||||
* Bit 22-25 : opaque tx failure reason
|
* Bit 22-25 : opaque tx failure reason
|
||||||
* Refer to WMI_[GET,SET]_TX_FAILED_REASON macros.
|
* Refer to WMI_[GET,SET]_TX_FAILED_REASON macros.
|
||||||
* Bit 26-31 : reserved for future use.
|
* Bit 26-31 : Indicate the map id, used to identify the all the
|
||||||
|
* ML link info corresponding to current roaming candidate.
|
||||||
*/
|
*/
|
||||||
A_UINT32 frame_info_ext;
|
A_UINT32 frame_info_ext;
|
||||||
} wmi_roam_frame_info;
|
} wmi_roam_frame_info;
|
||||||
@@ -40463,6 +40469,33 @@ typedef struct {
|
|||||||
A_UINT32 hi_rssi_threshold;
|
A_UINT32 hi_rssi_threshold;
|
||||||
} wmi_roam_trigger_hi_rssi;
|
} wmi_roam_trigger_hi_rssi;
|
||||||
|
|
||||||
|
#define WMI_MLO_LINK_INFO_GET_MAP_ID(link_info) WMI_GET_BITS(link_info, 0, 6)
|
||||||
|
#define WMI_MLO_LINK_INFO_SET_MAP_ID(link_info, val) WMI_SET_BITS(link_info, 0, 6, val)
|
||||||
|
|
||||||
|
#define WMI_MLO_LINK_INFO_GET_STATUS(link_info) WMI_GET_BITS(link_info, 6, 1)
|
||||||
|
#define WMI_MLO_LINK_INFO_SET_STATUS(link_info, val) WMI_SET_BITS(link_info, 6, 1, val)
|
||||||
|
|
||||||
|
#define WMI_MLO_LINK_INFO_GET_BAND(link_info) WMI_GET_BITS(link_info, 7, 3)
|
||||||
|
#define WMI_MLO_LINK_INFO_SET_BAND(link_info, val) WMI_SET_BITS(link_info, 7, 3, val)
|
||||||
|
|
||||||
|
#define WMI_MLO_LINK_INFO_GET_IEEE_LINK_ID(link_info) WMI_GET_BITS(link_info, 10, 4)
|
||||||
|
#define WMI_MLO_LINK_INFO_SET_IEEE_LINK_ID(link_info, val) WMI_SET_BITS(link_info, 10, 4, val)
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_mlo_link_info_tlv_param */
|
||||||
|
wmi_mac_addr link_addr;
|
||||||
|
A_UINT32 link_info;
|
||||||
|
/*
|
||||||
|
* b[0-5] : Map Id - maps the corresponding candidate AP for which
|
||||||
|
* re-assoc resp received.
|
||||||
|
* b[6] : Status - link status, AP accepted/rejected this link
|
||||||
|
* 0 - accepted
|
||||||
|
* 1 - rejected
|
||||||
|
* b[7-9] : Band - link band info (band value is from wmi_mlo_band_info)
|
||||||
|
* b[10-13] : IEEE link id - Link id associated with AP
|
||||||
|
*/
|
||||||
|
} wmi_mlo_link_info;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_get_scan_channel_list_cmd_fixed_param */
|
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_get_scan_channel_list_cmd_fixed_param */
|
||||||
A_UINT32 vdev_id;
|
A_UINT32 vdev_id;
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
#define __WMI_VER_MINOR_ 0
|
#define __WMI_VER_MINOR_ 0
|
||||||
/** WMI revision number has to be incremented when there is a
|
/** WMI revision number has to be incremented when there is a
|
||||||
* change that may or may not break compatibility. */
|
* change that may or may not break compatibility. */
|
||||||
#define __WMI_REVISION_ 1427
|
#define __WMI_REVISION_ 1428
|
||||||
|
|
||||||
/** The Version Namespace should not be normally changed. Only
|
/** The Version Namespace should not be normally changed. Only
|
||||||
* host and firmware of the same WMI namespace will work
|
* host and firmware of the same WMI namespace will work
|
||||||
|
Reference in New Issue
Block a user