diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-11-14 16:43:50 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-08 15:27:54 +0100 |
commit | 11f78ac32b06648c1dde9371b70323168b51a83e (patch) | |
tree | 2cea75cf1a053308f980dc69ebc9e7e7cd7a59e6 /include/net/cfg80211.h | |
parent | 4ed20bebf51578229a1986efcf46344075ec8447 (diff) | |
download | talos-op-linux-11f78ac32b06648c1dde9371b70323168b51a83e.tar.gz talos-op-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.h | 3 |
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 |