other versions
STRUCT CFG80211_SCAN(9) | Scanning and BSS list handling | STRUCT CFG80211_SCAN(9) |
NAME¶
struct_cfg80211_scan_request - scan request descriptionSYNOPSIS¶
struct cfg80211_scan_request { struct cfg80211_ssid * ssids; int n_ssids; u32 n_channels; enum nl80211_bss_scan_width scan_width; const u8 * ie; size_t ie_len; u16 duration; bool duration_mandatory; u32 flags; u32 rates[NUM_NL80211_BANDS]; struct wireless_dev * wdev; u8 mac_addr[ETH_ALEN]; u8 mac_addr_mask[ETH_ALEN]; u8 bssid[ETH_ALEN]; struct wiphy * wiphy; unsigned long scan_start; struct cfg80211_scan_info info; bool notified; bool no_cck; struct ieee80211_channel * channels[0]; };
MEMBERS¶
ssidsSSIDs to scan for (active scan only)
n_ssids
number of SSIDs
n_channels
total number of channels to scan
scan_width
channel width for scanning
ie
optional information element(s) to add into Probe Request
or NULL
ie_len
length of ie in octets
duration
how long to listen on each channel, in TUs. If
duration_mandatory is not set, this is the maximum dwell time and the
actual dwell time may be shorter.
duration_mandatory
if set, the scan duration must be as specified by the
duration field.
flags
bit field of flags controlling operation
rates[NUM_NL80211_BANDS]
bitmap of rates to advertise for each band
wdev
the wireless device to scan for
mac_addr[ETH_ALEN]
MAC address used with randomisation
mac_addr_mask[ETH_ALEN]
MAC address mask used with randomisation, bits that are 0
in the mask should be randomised, bits that are 1 should be taken from the
mac_addr
bssid[ETH_ALEN]
BSSID to scan for (most commonly, the wildcard
BSSID)
wiphy
the wiphy this was for
scan_start
time (in jiffies) when the scan started
info
(internal) information about completed scan
notified
(internal) scan request was notified as done or
aborted
no_cck
used to send probe requests at non CCK rate in 2GHz
band
channels[0]
channels to scan on.
AUTHOR¶
Johannes Berg <johannes@sipsolutions.net>Author.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |