WLAN_ASSOCIATION_ATTRIBUTES structure (wlanapi.h)

The WLAN_ASSOCIATION_ATTRIBUTES structure contains association attributes for a connection.

Syntax

typedef struct _WLAN_ASSOCIATION_ATTRIBUTES {
  DOT11_SSID          dot11Ssid;
  DOT11_BSS_TYPE      dot11BssType;
  DOT11_MAC_ADDRESS   dot11Bssid;
  DOT11_PHY_TYPE      dot11PhyType;
  ULONG               uDot11PhyIndex;
  WLAN_SIGNAL_QUALITY wlanSignalQuality;
  ULONG               ulRxRate;
  ULONG               ulTxRate;
} WLAN_ASSOCIATION_ATTRIBUTES, *PWLAN_ASSOCIATION_ATTRIBUTES;

Members

dot11Ssid

A DOT11_SSID structure that contains the SSID of the association.

dot11BssType

A DOT11_BSS_TYPE value that specifies whether the network is infrastructure or ad hoc.

dot11Bssid

A DOT11_MAC_ADDRESS that contains the BSSID of the association.

dot11PhyType

A DOT11_PHY_TYPE value that indicates the physical type of the association.

uDot11PhyIndex

The position of the DOT11_PHY_TYPE value in the structure containing the list of PHY types.

wlanSignalQuality

A percentage value that represents the signal quality of the network. WLAN_SIGNAL_QUALITY is of type ULONG. This member contains a value between 0 and 100. A value of 0 implies an actual RSSI signal strength of -100 dbm. A value of 100 implies an actual RSSI signal strength of -50 dbm. You can calculate the RSSI signal strength value for wlanSignalQuality values between 1 and 99 using linear interpolation.

ulRxRate

Contains the receiving rate of the association.

ulTxRate

Contains the transmission rate of the association.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP3 [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wlanapi.h
Redistributable Wireless LAN API for Windows XP with SP2

See also

WLAN_CONNECTION_ATTRIBUTES