WLAN_STATISTICS structure (wlanapi.h)
The WLAN_STATISTICS structure contains assorted statistics about an interface.
Syntax
typedef struct WLAN_STATISTICS {
ULONGLONG ullFourWayHandshakeFailures;
ULONGLONG ullTKIPCounterMeasuresInvoked;
ULONGLONG ullReserved;
WLAN_MAC_FRAME_STATISTICS MacUcastCounters;
WLAN_MAC_FRAME_STATISTICS MacMcastCounters;
DWORD dwNumberOfPhys;
#if ...
WLAN_PHY_FRAME_STATISTICS *PhyCounters[];
#else
WLAN_PHY_FRAME_STATISTICS PhyCounters[1];
#endif
} WLAN_STATISTICS, *PWLAN_STATISTICS;
Members
ullFourWayHandshakeFailures
Indicates the number of 4-way handshake failures. This member is only valid if IHV Service is being used as the authentication service for the current network.
ullTKIPCounterMeasuresInvoked
Indicates the number of TKIP countermeasures performed by an IHV Miniport driver. This count does not include TKIP countermeasures invoked by the operating system.
ullReserved
Reserved for use by Microsoft.
MacUcastCounters
A WLAN_MAC_FRAME_STATISTICS structure that contains MAC layer counters for unicast packets directed to the receiver of the NIC.
MacMcastCounters
A WLAN_MAC_FRAME_STATISTICS structure that contains MAC layer counters for multicast packets directed to the current multicast address.
dwNumberOfPhys
Contains the number of WLAN_PHY_FRAME_STATISTICS structures in the PhyCounters member.
PhyCounters[*]
An array of WLAN_PHY_FRAME_STATISTICS structures that contain PHY layer counters.
PhyCounters[1]
An array of WLAN_PHY_FRAME_STATISTICS structures that contain PHY layer counters.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | wlanapi.h |