From 7b6bcca842d6ed1de1a83b1dde25b27278f740c0 Mon Sep 17 00:00:00 2001 From: Jarkko Paso Date: Mon, 27 Jan 2020 15:56:09 +0200 Subject: [PATCH] Added TX/RX bytes in PHY statistics (#2281) --- nanostack/platform/arm_hal_phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nanostack/platform/arm_hal_phy.h b/nanostack/platform/arm_hal_phy.h index 96ea55016f84..ab53b5942cb0 100644 --- a/nanostack/platform/arm_hal_phy.h +++ b/nanostack/platform/arm_hal_phy.h @@ -195,6 +195,8 @@ typedef struct phy_rf_statistics_s { uint32_t rx_timeouts; ///< reception timeouts uint64_t tx_active_time; ///< transmission active time uint64_t rx_active_time; ///< reception active time + uint32_t tx_bytes; ///< transmitted bytes + uint32_t rx_bytes; ///< received bytes } phy_rf_statistics_s; /** Virtual data request */