'\" t .\" Title: struct cfg80211_scan_request .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Scanning and BSS list handling .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT CFG80211_SCAN" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Scanning and BSS list handling" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_cfg80211_scan_request \- scan request description .SH "SYNOPSIS" .sp .nf 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]; }; .fi .SH "MEMBERS" .PP ssids .RS 4 SSIDs to scan for (active scan only) .RE .PP n_ssids .RS 4 number of SSIDs .RE .PP n_channels .RS 4 total number of channels to scan .RE .PP scan_width .RS 4 channel width for scanning .RE .PP ie .RS 4 optional information element(s) to add into Probe Request or \fBNULL\fR .RE .PP ie_len .RS 4 length of ie in octets .RE .PP duration .RS 4 how long to listen on each channel, in TUs\&. If \fBduration_mandatory\fR is not set, this is the maximum dwell time and the actual dwell time may be shorter\&. .RE .PP duration_mandatory .RS 4 if set, the scan duration must be as specified by the \fBduration\fR field\&. .RE .PP flags .RS 4 bit field of flags controlling operation .RE .PP rates[NUM_NL80211_BANDS] .RS 4 bitmap of rates to advertise for each band .RE .PP wdev .RS 4 the wireless device to scan for .RE .PP mac_addr[ETH_ALEN] .RS 4 MAC address used with randomisation .RE .PP mac_addr_mask[ETH_ALEN] .RS 4 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 \fImac_addr\fR .RE .PP bssid[ETH_ALEN] .RS 4 BSSID to scan for (most commonly, the wildcard BSSID) .RE .PP wiphy .RS 4 the wiphy this was for .RE .PP scan_start .RS 4 time (in jiffies) when the scan started .RE .PP info .RS 4 (internal) information about completed scan .RE .PP notified .RS 4 (internal) scan request was notified as done or aborted .RE .PP no_cck .RS 4 used to send probe requests at non CCK rate in 2GHz band .RE .PP channels[0] .RS 4 channels to scan on\&. .RE .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br