aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-11-14 10:44:11 -0500
committerJohannes Berg <johannes.berg@intel.com>2015-01-08 09:27:58 -0500
commit052536abfa9144566599a7fbe8cc89e1086fa9a7 (patch)
tree8a80459200cfd34ddfd8c33ec7b4ba6a3c06fc2e /include/uapi/linux
parent11f78ac32b06648c1dde9371b70323168b51a83e (diff)
cfg80211: add scan time to survey data
Add the time spent scanning to the survey data so it can be reported by drivers that collect such information. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nl80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 5e8b65f239a5..2f549a253138 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -2835,6 +2835,8 @@ enum nl80211_user_reg_hint_type {
2835 * receiving data (on channel or globally) 2835 * receiving data (on channel or globally)
2836 * @NL80211_SURVEY_INFO_TIME_TX: amount of time the radio spent 2836 * @NL80211_SURVEY_INFO_TIME_TX: amount of time the radio spent
2837 * transmitting data (on channel or globally) 2837 * transmitting data (on channel or globally)
2838 * @NL80211_SURVEY_INFO_TIME_SCAN: time the radio spent for scan
2839 * (on this channel or globally)
2838 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number 2840 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
2839 * currently defined 2841 * currently defined
2840 * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use 2842 * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use
@@ -2849,6 +2851,7 @@ enum nl80211_survey_info {
2849 NL80211_SURVEY_INFO_TIME_EXT_BUSY, 2851 NL80211_SURVEY_INFO_TIME_EXT_BUSY,
2850 NL80211_SURVEY_INFO_TIME_RX, 2852 NL80211_SURVEY_INFO_TIME_RX,
2851 NL80211_SURVEY_INFO_TIME_TX, 2853 NL80211_SURVEY_INFO_TIME_TX,
2854 NL80211_SURVEY_INFO_TIME_SCAN,
2852 2855
2853 /* keep last */ 2856 /* keep last */
2854 __NL80211_SURVEY_INFO_AFTER_LAST, 2857 __NL80211_SURVEY_INFO_AFTER_LAST,