1STRUCT CFG80211_INFO(9) Scanning and BSS list handling STRUCT CFG80211_INFO(9)
2
3
4
6 struct_cfg80211_inform_bss - BSS inform data
7
9 struct cfg80211_inform_bss {
10 struct ieee80211_channel * chan;
11 enum nl80211_bss_scan_width scan_width;
12 s32 signal;
13 u64 boottime_ns;
14 u64 parent_tsf;
15 u8 parent_bssid[ETH_ALEN];
16 };
17
19 chan
20 channel the frame was received on
21
22 scan_width
23 scan width that was used
24
25 signal
26 signal strength value, according to the wiphy's signal type
27
28 boottime_ns
29 timestamp (CLOCK_BOOTTIME) when the information was received;
30 should match the time when the frame was actually received by the
31 device (not just by the host, in case it was buffered on the
32 device) and be accurate to about 10ms. If the frame isn't buffered,
33 just passing the return value of ktime_get_boot_ns is likely
34 appropriate.
35
36 parent_tsf
37 the time at the start of reception of the first octet of the
38 timestamp field of the frame. The time is the TSF of the BSS
39 specified by parent_bssid.
40
41 parent_bssid[ETH_ALEN]
42 the BSS according to which parent_tsf is set. This is set to the
43 BSS that requested the scan in which the beacon/probe was received.
44
46 Johannes Berg <johannes@sipsolutions.net>
47 Author.
48
50Kernel Hackers Manual 3.10 June 2019 STRUCT CFG80211_INFO(9)