]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg:Add new traffic statistics definition for Wireless NIC.
authorZhang Lubo <lubo.zhang@intel.com>
Thu, 28 Jan 2016 02:40:01 +0000 (02:40 +0000)
committerluobozhang <luobozhang@Edk2>
Thu, 28 Jan 2016 02:40:01 +0000 (02:40 +0000)
Add New traffic statistics  which will be used by wireless NIC.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19759 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/SimpleNetwork.h
MdePkg/Include/Uefi/UefiPxe.h

index 18c09f3f4d59fd126fa9316ae8dcf467395d99bd..839f526beb3e729ae6049ec189ecacb4b86dc6d8 100644 (file)
@@ -9,7 +9,7 @@
   MCast - MultiCast\r
   ...\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -121,6 +121,25 @@ typedef struct {
   ///\r
   UINT64  UnsupportedProtocol;\r
 \r
+  ///\r
+  /// Number of valid frames received that were duplicated.\r
+  ///\r
+  UINT64  RxDuplicatedFrames;\r
+\r
+  ///\r
+  /// Number of encrypted frames received that failed to decrypt.\r
+  ///\r
+  UINT64  RxDecryptErrorFrames;\r
+\r
+  ///\r
+  /// Number of frames that failed to transmit after exceeding the retry limit.\r
+  ///\r
+  UINT64  TxErrorFrames;\r
+\r
+  ///\r
+  /// Number of frames transmitted successfully after more than one attempt.\r
+  ///\r
+  UINT64  TxRetryFrames;\r
 } EFI_NETWORK_STATISTICS;\r
 \r
 ///\r
index 2972ff7e31afed9c4a922f7d50e1a6eb0db588a6..0af9b90a6c9536416f4cf4a3d8ed231831232791 100644 (file)
@@ -3,7 +3,7 @@
   structure prototypes, global variables and constants that\r
   are needed for porting PXE to EFI.\r
 \r
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -1458,6 +1458,26 @@ typedef struct s_pxe_db_statistics {
 ///\r
 #define PXE_STATISTICS_UNSUPPORTED_PROTOCOL 0x15\r
 \r
+///\r
+/// Number of valid frames received that were duplicated.\r
+///\r
+#define PXE_STATISTICS_RX_DUPLICATED_FRAMES 0x16\r
+\r
+///\r
+/// Number of encrypted frames received that failed to decrypt.\r
+///\r
+#define PXE_STATISTICS_RX_DECRYPT_ERROR_FRAMES 0x17\r
+\r
+///\r
+/// Number of frames that failed to transmit after exceeding the retry limit.\r
+///\r
+#define PXE_STATISTICS_TX_ERROR_FRAMES 0x18\r
+\r
+///\r
+/// Number of frames transmitted successfully after more than one attempt.\r
+///\r
+#define PXE_STATISTICS_TX_RETRY_FRAMES 0x19\r
+\r
 typedef struct s_pxe_cpb_mcast_ip_to_mac {\r
   ///\r
   /// Multicast IP address to be converted to multicast MAC address.\r