1STRUCT SURVEY_INFO(9)      Actions and configuration     STRUCT SURVEY_INFO(9)
2
3
4

NAME

6       struct_survey_info - channel survey response
7

SYNOPSIS

9       struct survey_info {
10         struct ieee80211_channel * channel;
11         u64 time;
12         u64 time_busy;
13         u64 time_ext_busy;
14         u64 time_rx;
15         u64 time_tx;
16         u64 time_scan;
17         u32 filled;
18         s8 noise;
19       };
20

MEMBERS

22       channel
23           the channel this survey record reports, may be NULL for a single
24           record to report global statistics
25
26       time
27           amount of time in ms the radio was turn on (on the channel)
28
29       time_busy
30           amount of time the primary channel was sensed busy
31
32       time_ext_busy
33           amount of time the extension channel was sensed busy
34
35       time_rx
36           amount of time the radio spent receiving data
37
38       time_tx
39           amount of time the radio spent transmitting data
40
41       time_scan
42           amount of time the radio spent for scanning
43
44       filled
45           bitflag of flags from enum survey_info_flags
46
47       noise
48           channel noise in dBm. This and all following fields are optional
49

DESCRIPTION

51       Used by dump_survey to report back per-channel survey information.
52
53       This structure can later be expanded with things like channel duty
54       cycle etc.
55

AUTHOR

57       Johannes Berg <johannes@sipsolutions.net>
58           Author.
59
61Kernel Hackers Manual 3.10         June 2019             STRUCT SURVEY_INFO(9)
Impressum