diff options
| author | nakul kachhwaha <nkachhwa@codeaurora.org> | 2018-01-30 19:36:48 +0530 |
|---|---|---|
| committer | nakul kachhwaha <nkachhwa@codeaurora.org> | 2018-02-16 16:02:59 +0530 |
| commit | c0ba53124be51867d6bf2f71a8a4ed5dc60f7913 (patch) | |
| tree | 4c22b626a28299cbd87b38007823df78ea65c3f3 | |
| parent | 45329ae47ec81bf1a25f8a0ed5d27ae7ce79a12f (diff) | |
qcacld-2.0: CL 3972524 - update fw commmon interface files
WMI: vdev_[get/set]_connectivity_check_stats defs
Change-Id: I5489c38e787698e20137d4e0dc513646d7e55c07
CRs-Fixed: 865207
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_tlv_defs.h | 8 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_unified.h | 15 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_version.h | 2 |
3 files changed, 22 insertions, 3 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_tlv_defs.h b/CORE/SERVICES/COMMON/wmi_tlv_defs.h index 10d994aff9ba..4727341af93e 100644 --- a/CORE/SERVICES/COMMON/wmi_tlv_defs.h +++ b/CORE/SERVICES/COMMON/wmi_tlv_defs.h @@ -879,6 +879,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; /* @@ -3492,7 +3494,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 */ @@ -4705,7 +4708,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 */ diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h index 35e7f8ffa2ee..2697e8252662 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -12834,6 +12834,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; + #define IPSEC_NATKEEPALIVE_FILTER_DISABLE 0 #define IPSEC_NATKEEPALIVE_FILTER_ENABLE 1 diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index 4ade2bab1981..0e7957932d63 100644 --- a/CORE/SERVICES/COMMON/wmi_version.h +++ b/CORE/SERVICES/COMMON/wmi_version.h @@ -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 |
