summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJohannes Berg2014-11-14 16:43:50 +0100
committerJohannes Berg2015-01-08 15:27:54 +0100
commit11f78ac32b06648c1dde9371b70323168b51a83e (patch)
tree2cea75cf1a053308f980dc69ebc9e7e7cd7a59e6 /include/net/cfg80211.h
parentcfg80211: remove "channel" from survey names (diff)
downloadkernel-qcow2-linux-11f78ac32b06648c1dde9371b70323168b51a83e.tar.gz
kernel-qcow2-linux-11f78ac32b06648c1dde9371b70323168b51a83e.tar.xz
kernel-qcow2-linux-11f78ac32b06648c1dde9371b70323168b51a83e.zip
cfg80211: allow survey data to return global data
Not all devices are able to report survey data (particularly time spent for various operations) per channel. As all these statistics already exist in survey data, allow such devices to report them (if userspace requested it) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 3b489f8fc4cd..5a861440c122 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -542,7 +542,8 @@ enum survey_info_flags {
/**
* struct survey_info - channel survey response
*
- * @channel: the channel this survey record reports, mandatory
+ * @channel: the channel this survey record reports, may be %NULL for a single
+ * record to report global statistics
* @filled: bitflag of flags from &enum survey_info_flags
* @noise: channel noise in dBm. This and all following fields are
* optional