hostapd
Public Attributes | List of all members
wpa_scan_res Struct Reference

struct wpa_scan_res - Scan result for an BSS/IBSS : information flags about the BSS/IBSS (WPA_SCAN_*) : BSSID : frequency of the channel in MHz (e.g., 2412 = channel 1) : beacon interval in TUs (host byte order) : capability information field in host byte order : signal quality : noise level : signal level : Timestamp : Age of the information in milliseconds (i.e., how many milliseconds ago the last Beacon or Probe Response frame was received) : Estimated throughput in kbps (this is calculated during scan result processing if left zero by the driver wrapper) : Signal-to-noise ratio in dB (calculated during scan result processing) : Time when the Beacon/Probe Response frame was received in terms of TSF of the BSS specified by tsf_bssid. More...

#include <driver.h>

Public Attributes

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
 
unsigned int est_throughput
 
int snr
 
u64 parent_tsf
 
u8 tsf_bssid [ETH_ALEN]
 
size_t ie_len
 
size_t beacon_ie_len
 

Detailed Description

struct wpa_scan_res - Scan result for an BSS/IBSS : information flags about the BSS/IBSS (WPA_SCAN_*) : BSSID : frequency of the channel in MHz (e.g., 2412 = channel 1) : beacon interval in TUs (host byte order) : capability information field in host byte order : signal quality : noise level : signal level : Timestamp : Age of the information in milliseconds (i.e., how many milliseconds ago the last Beacon or Probe Response frame was received) : Estimated throughput in kbps (this is calculated during scan result processing if left zero by the driver wrapper) : Signal-to-noise ratio in dB (calculated during scan result processing) : Time when the Beacon/Probe Response frame was received in terms of TSF of the BSS specified by tsf_bssid.

: The BSS that parent_tsf TSF time refers to. : length of the following IE field in octets : length 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.

This structure data is followed by ie_len octets of IEs from Probe Response frame (or if the driver does not indicate source of IEs, these may also be from Beacon frame). After the first set of IEs, another set of IEs may follow (with beacon_ie_len octets of data) if the driver provides both IE sets.


The documentation for this struct was generated from the following file: