[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

nic_wifi_stats_t

Get WiFi-specific statistics

Synopsis:

typedef struct _nic_wifi_stats {
    uint32t     valid_stats; 
    uint32t     tx_gragment;
    uint32t     tx_multicast;
    uint32t     tx_failed;
    uint32t     tx_retry;
    uint32t     tx_multi_retry;
    uint32t     rts_success;
    uint32t     rts_failure;
    uint32t     ack_failure;
    uint32t     duplicate;
    uint32t     rx_fragment;
    uint32t     rx_multicast;
    uint32t     fcs_errors;
} nic_wifi_stats_t;

Description:

This structure holds WiFi-specific statistics.

Your driver must fill in the following members:

valid_stats
A set of flags that indicate what WiFi-specific statistics the driver keeps track of. The following flags are defined:
tx_fragment
The number of data or management fragments that were transmitted successfully. This number corresponds to the TransmittedFragmentCount attribute defined by the IEEE 802.11 specification.
tx_multicast
The number of multicast frames that were transmitted sucessfully. This number corresponds to the MulticastTransmittedFrameCount attribute defined by the IEEE 802.11 specification.
tx_failed
The number of frame transmissions that were aborted because they exceeded the retry limits. This number corresponds to the FailedCount attribute defined by the IEEE 802.11 specification.
tx_retry
The number of frames that were successfully transmitted, after one or more retries. This number corresponds to the RetryCount attribute defined by the IEEE 802.11 specification.
tx_multi_retry
The number of frames that were successfully transmitted, after more than one retry. This number corresponds to the MultipleRetryCount attribute defined by the IEEE 802.11 specification.
rts_success
The number of times a clear to send (CTS) was received in response to a request to send (RTS). This number corresponds to the RTSSuccessCount attribute defined by the IEEE 802.11 specification.
rts_failure
The number of times a CTS was not received in response to an RTS. This number corresponds to the RTSFailureCount attribute defined by the IEEE 802.11 specification.
ack_failure
The number of times an unexpected ACK was received. This number corresponds to the AckFailureCount attribute defined by the IEEE 802.11 specification.
duplicate
The number of times a duplicate frame was received. This number corresponds to the FrameDuplicateCount attribute defined by the IEEE 802.11 specification.
rx_fragment
The number of data or management fragments that were successfully received. This number corresponds to the ReceivedFragmentCount attribute defined by the IEEE 802.11 specification.
rx_multicast
The number of multicast frames that were successfully received. This number corresponds to the MulticastReceivedFrameCount attribute defined by the IEEE 802.11 specification.
fcs_errors
The number of received frames that had frame check-sequence errors. This number corresponds to the FCSErrorCount attribute defined by the IEEE 802.11 specification.

Classification:

QNX Neutrino


[Previous] [Contents] [Index] [Next]