structure for radioTrafficStats More...
#include <wifi_common_hal.h>
structure for radioTrafficStats
| INT radio_ActivityFactor |
Percentage of time that the radio was transmitting or receiving Wi-Fi packets to/from associated clients. Activity factor MUST include all traffic that deals with communication between the radio and clients associated to the radio as well as management overhead for the radio, including NAV timers, beacons, probe responses,time for receiving devices to send an ACK, SIFC intervals, etc. The metric is calculated and updated in this parameter at the end of the interval defined by "Radio Statistics Measuring Interval". The calculation of this metric MUST only use the data collected from the just completed interval. If this metric is queried before it has been updated with an initial calculation, it MUST return -1. Units in Percentage. Range is [0, 100]
| ULONG radio_BytesReceived |
The total number of bytes received on the interface, including framing characters. Range is [0, 2^64 - 1]
| ULONG radio_BytesSent |
The total number of bytes transmitted out of the interface, including framing characters. Range is [0, 2^64 - 1]
| INT radio_CarrierSenseThreshold_Exceeded |
Percentage of time that the radio was unable to transmit or receive Wi-Fi packets to/from associated clients due to energy detection (ED) on the channel or clear channel assessment (CCA). The metric is calculated and updated in this Parameter at the end of the interval defined by "Radio Statistics Measuring Interval". The calculation of this metric MUST only use the data collected from the just completed interval. If this metric is queried before it has been updated with an initial calculation, it MUST return -1. Units in Percentage. Range is [0, 100]
| ULONG radio_ChannelUtilization |
Percentage of time the channel was occupied by the radio’s own activity (Activity Factor) or the activity of other radios. Channel utilization MUST cover all user traffic, management traffic, and time the radio was unavailable for CSMA activities, including DIFS intervals, etc. The metric is calculated and updated in this parameter at the end of the interval defined by "Radio Statistics Measuring Interval". The calculation of this metric MUST only use the data collected from the just completed interval. If this metric is queried before it has been updated with an initial calculation, it MUST return -1. Units in Percentage. Range is [0, 100]
| ULONG radio_DiscardPacketsReceived |
The total number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being delivered. One possible reason for discarding such a packet could be to free up buffer space. Range is [0, 2^32 - 1]
| ULONG radio_DiscardPacketsSent |
The total number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space. Range is [0, 2^32 - 1]
| ULONG radio_ErrorsReceived |
The total number of inbound packets that contained errors preventing them from being delivered to a higher-layer protocol. Range is [0, 2^32 - 1]
| ULONG radio_ErrorsSent |
The total number of outbound packets that could not be transmitted because of errors. Range is [0, 2^32 - 1]
| ULONG radio_FCSErrorCount |
The number of packets that were received with a detected FCS error. This parameter is based on dot11FCSErrorCount from [Annex C/802.11-2012]. Range is [0, 2^32 - 1]
| ULONG radio_InvalidMACCount |
The number of packets that were received with a detected invalid MAC header error. Range is [0, 2^32 - 1]
| INT radio_MaximumNoiseFloorOnChannel |
Maximum Noise on the channel during the measuring interval. The metric is updated in this parameter at the end of the interval defined by "Radio Statistics Measuring Interval". The calculation of this metric MUST only use the data collected in the just completed interval. If this metric is queried before it has been updated with an initial calculation, it MUST return -1. Units in dBm. Range is [-200, 0]
| INT radio_MedianNoiseFloorOnChannel |
Median Noise on the channel during the measuring interval. The metric is updated in this parameter at the end of the interval defined by "Radio Statistics Measuring Interval". The calculation of this metric MUST only use the data collected in the just completed interval. If this metric is queried before it has been updated with an initial calculation, it MUST return -1. Units in dBm. Range is [-200, 0]
| INT radio_MinimumNoiseFloorOnChannel |
Minimum Noise on the channel. The metric is updated in this Parameter at the end of the interval defined by "Radio Statistics Measuring Interval". The calculation of this metric MUST only use the data collected in the just completed interval. If this metric is queried before it has been updated with an initial calculation, it MUST return -1. Units in dBm. Range is [-200, 0]
| INT radio_NoiseFloor |
The noise floor for this radio channel where a recoverable signal can be obtained. Measurement should capture all energy (in dBm) from sources other than Wi-Fi devices as well as interference from Wi-Fi devices too weak to be decoded. Measured in dBm. Range is [-110, 0]
| ULONG radio_PacketsOtherReceived |
The number of packets that were received, but which were destined for a MAC address that is not associated with this interface. Range is [0, 2^32 - 1]
| ULONG radio_PacketsReceived |
The total number of packets received on the interface. Range is [0, 2^64 - 1]
| ULONG radio_PacketsSent |
The total number of packets transmitted out of the interface. Range is [0, 2^64 - 1]
| ULONG radio_PLCPErrorCount |
The number of packets that were received with a detected Physical Layer Convergence Protocol (PLCP) header error. Range is [0, 2^32 - 1]
| INT radio_RetransmissionMetirc |
Percentage of packets that had to be re-transmitted. Multiple re-transmissions of the same packet count as one. The metric is calculated and updated in this parameter at the end of the interval defined by "Radio Statistics Measuring Interval". The calculation of this metric MUST only use the data collected from the just completed interval. If this metric is queried before it has been updated with an initial calculation, it MUST return -1. Units in percentage. Range is [0, 100]
| ULONG radio_StatisticsStartTime |
The date and time at which the collection of the current set of statistics started. This time must be updated whenever the radio statistics are reset. Range is [0, 2^64 - 1]