1STRUCT CFG80211_SCAN(9) Scanning and BSS list handling STRUCT CFG80211_SCAN(9)
2
3
4

NAME

6       struct_cfg80211_scan_request - scan request description
7

SYNOPSIS

9       struct cfg80211_scan_request {
10         struct cfg80211_ssid * ssids;
11         int n_ssids;
12         u32 n_channels;
13         enum nl80211_bss_scan_width scan_width;
14         const u8 * ie;
15         size_t ie_len;
16         u16 duration;
17         bool duration_mandatory;
18         u32 flags;
19         u32 rates[NUM_NL80211_BANDS];
20         struct wireless_dev * wdev;
21         u8 mac_addr[ETH_ALEN];
22         struct wiphy * wiphy;
23         unsigned long scan_start;
24         struct cfg80211_scan_info info;
25         bool notified;
26         bool no_cck;
27         struct ieee80211_channel * channels[0];
28       };
29

MEMBERS

31       ssids
32           SSIDs to scan for (active scan only)
33
34       n_ssids
35           number of SSIDs
36
37       n_channels
38           total number of channels to scan
39
40       scan_width
41           channel width for scanning
42
43       ie
44           optional information element(s) to add into Probe Request or NULL
45
46       ie_len
47           length of ie in octets
48
49       duration
50           how long to listen on each channel, in TUs. If duration_mandatory
51           is not set, this is the maximum dwell time and the actual dwell
52           time may be shorter.
53
54       duration_mandatory
55           if set, the scan duration must be as specified by the duration
56           field.
57
58       flags
59           bit field of flags controlling operation
60
61       rates[NUM_NL80211_BANDS]
62           bitmap of rates to advertise for each band
63
64       wdev
65           the wireless device to scan for
66
67       mac_addr[ETH_ALEN]
68           MAC address used with randomisation
69
70       wiphy
71           the wiphy this was for
72
73       scan_start
74           time (in jiffies) when the scan started
75
76       info
77           (internal) information about completed scan
78
79       notified
80           (internal) scan request was notified as done or aborted
81
82       no_cck
83           used to send probe requests at non CCK rate in 2GHz band
84
85       channels[0]
86           channels to scan on.
87

AUTHOR

89       Johannes Berg <johannes@sipsolutions.net>
90           Author.
91
93Kernel Hackers Manual 3.10         June 2019           STRUCT CFG80211_SCAN(9)
Impressum