1
0

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

Change-Id: I9e25c491e407437f7d9889d38753eaf25c2465cb
WMI: vdev_[get/set]_connectivity_check_stats defs
CRs-Fixed: 1107600
Este cometimento está contido em:
spuligil
2018-01-04 09:01:56 -08:00
cometido por snandini
ascendente 93c28ce941
cometimento 499158d305
3 ficheiros modificados com 22 adições e 3 eliminações

Ver ficheiro

@@ -886,6 +886,8 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_offload_11k_report_fixed_param,
WMITLV_TAG_STRUC_wmi_invoke_neighbor_report_fixed_param,
WMITLV_TAG_STRUC_wmi_neighbor_report_offload_tlv_param,
WMITLV_TAG_STRUC_wmi_vdev_set_connectivity_check_stats,
WMITLV_TAG_STRUC_wmi_vdev_get_connectivity_check_stats,
} WMITLV_TAG_ID;
/*
@@ -3513,7 +3515,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID);
/* set arp stats cmd */
#define WMITLV_TABLE_WMI_VDEV_SET_ARP_STAT_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_arp_stats_cmd_fixed_param, wmi_vdev_set_arp_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_arp_stats_cmd_fixed_param, wmi_vdev_set_arp_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_set_connectivity_check_stats, connectivity_check_stats, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_ARP_STAT_CMDID);
/* get arp stats cmd */
@@ -4742,7 +4745,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHECK_CAL_VERSION_EVENTID);
/* ARP stats response event */
#define WMITLV_TABLE_WMI_VDEV_GET_ARP_STAT_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_event_fixed_param, wmi_vdev_get_arp_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_event_fixed_param, wmi_vdev_get_arp_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_get_connectivity_check_stats, connectivity_check_stats, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_ARP_STAT_EVENTID);
/* Coex BT activity response event */

Ver ficheiro

@@ -12756,6 +12756,21 @@ typedef struct {
A_UINT32 ba_session_establishment_status; /* WMI_ARP_STATS_BA_SESSION_ESTABLISH_STATUS */
} wmi_vdev_get_arp_stats_event_fixed_param;
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_set_connectivity_check_stats */
A_UINT32 pkt_type_bitmap; /* WMI_IP_CONNECTIVITY_STATS_RX_PKT_TYPE_BITMAP - only for DNS, TCP and ICMP */
A_UINT32 tcp_src_port; /* target will maintain TCP stats (only) for frames with this src port */
A_UINT32 tcp_dst_port; /* target will maintain TCP stats (only) for frames with this dst port */
A_UINT32 icmp_ipv4; /* target will maintain ICMPv4 stats (only) for frames containing this IP address */
} wmi_vdev_set_connectivity_check_stats;
/* per vdev dns/icmp/tcp based stats*/
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_get_connectivity_check_stats */
A_UINT32 tcp_ack_recvd; /* number of tcp syn ack's received by FW */
A_UINT32 icmpv4_rsp_recvd; /* number of icmpv4 responses received by FW */
} wmi_vdev_get_connectivity_check_stats;
typedef struct {
A_UINT32 tlv_header;
A_UINT32 vdev_id;

Ver ficheiro

@@ -36,7 +36,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_ 486
#define __WMI_REVISION_ 487
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work