wpa_supplicant / hostapd 2.0
Data Fields

wpa_scan_res Struct Reference

Scan result for an BSS/IBSS. More...

#include <driver.h>

Data Fields

unsigned int flags
u8 bssid [ETH_ALEN]
int freq
u16 beacon_int
u16 caps
int qual
int noise
int level
u64 tsf
unsigned int age
size_t ie_len
size_t beacon_ie_len

Detailed Description

Scan result for an BSS/IBSS.

Parameters:
flagsinformation flags about the BSS/IBSS (WPA_SCAN_*)
bssidBSSID
freqfrequency of the channel in MHz (e.g., 2412 = channel 1)
beacon_intbeacon interval in TUs (host byte order)
capscapability information field in host byte order
qualsignal quality
noisenoise level
levelsignal level
tsfTimestamp
ageAge of the information in milliseconds (i.e., how many milliseconds ago the last Beacon or Probe Response frame was received)
ie_lenlength of the following IE field in octets
beacon_ie_lenlength of the following Beacon IE field in octets

This structure is used as a generic format for scan results from the driver. Each driver interface implementation is responsible for converting the driver or OS specific scan results into this format.

If the driver does not support reporting all IEs, the IE data structure is constructed of the IEs that are available. This field will also need to include SSID in IE format. All drivers are encouraged to be extended to report all IEs to make it easier to support future additions.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines