1STRUCT CFG80211_BSS(9) Scanning and BSS list handling STRUCT CFG80211_BSS(9)
2
3
4
6 struct_cfg80211_bss - BSS description
7
9 struct cfg80211_bss {
10 struct ieee80211_channel * channel;
11 enum nl80211_bss_scan_width scan_width;
12 const struct cfg80211_bss_ies __rcu * ies;
13 const struct cfg80211_bss_ies __rcu * beacon_ies;
14 const struct cfg80211_bss_ies __rcu * proberesp_ies;
15 struct cfg80211_bss * hidden_beacon_bss;
16 s32 signal;
17 u16 beacon_interval;
18 u16 capability;
19 u8 bssid[ETH_ALEN];
20 u8 priv[0];
21 };
22
24 channel
25 channel this BSS is on
26
27 scan_width
28 width of the control channel
29
30 ies
31 the information elements (Note that there is no guarantee that
32 these are well-formed!); this is a pointer to either the beacon_ies
33 or proberesp_ies depending on whether Probe Response frame has been
34 received. It is always non-NULL.
35
36 beacon_ies
37 the information elements from the last Beacon frame (implementation
38 note: if hidden_beacon_bss is set this struct doesn't own the
39 beacon_ies, but they're just pointers to the ones from the
40 hidden_beacon_bss struct)
41
42 proberesp_ies
43 the information elements from the last Probe Response frame
44
45 hidden_beacon_bss
46 in case this BSS struct represents a probe response from a BSS that
47 hides the SSID in its beacon, this points to the BSS struct that
48 holds the beacon data. beacon_ies is still valid, of course, and
49 points to the same data as hidden_beacon_bss->beacon_ies in that
50 case.
51
52 signal
53 signal strength value (type depends on the wiphy's signal_type)
54
55 beacon_interval
56 the beacon interval as from the frame
57
58 capability
59 the capability field in host byte order
60
61 bssid[ETH_ALEN]
62 BSSID of the BSS
63
64 priv[0]
65 private area for driver use, has at least wiphy->bss_priv_size
66 bytes
67
69 This structure describes a BSS (which may also be a mesh network) for
70 use in scan results and similar.
71
73 Johannes Berg <johannes@sipsolutions.net>
74 Author.
75
77Kernel Hackers Manual 3.10 June 2019 STRUCT CFG80211_BSS(9)