diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-09-29 11:15:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-05 13:35:22 -0400 |
commit | 17e5a8082894a4b66cb69e7ec16074f0f01281e1 (patch) | |
tree | 604746f9c4aa8d77c41f1e22e9f553b5cdcfa823 /include/linux/nl80211.h | |
parent | 0bda652300dff8136c9d889f1133462c7c7d332c (diff) |
nl80211: allow drivers to indicate whether the survey data channel is in use
Some user space applications only want to display survey data for
the operating channel, however there is no API to get that yet.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index f0518b0278a9..edd21ae6acf7 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -1400,6 +1400,7 @@ enum nl80211_reg_rule_flags { | |||
1400 | * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved | 1400 | * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved |
1401 | * @NL80211_SURVEY_INFO_FREQUENCY: center frequency of channel | 1401 | * @NL80211_SURVEY_INFO_FREQUENCY: center frequency of channel |
1402 | * @NL80211_SURVEY_INFO_NOISE: noise level of channel (u8, dBm) | 1402 | * @NL80211_SURVEY_INFO_NOISE: noise level of channel (u8, dBm) |
1403 | * @NL80211_SURVEY_INFO_IN_USE: channel is currently being used | ||
1403 | * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number | 1404 | * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number |
1404 | * currently defined | 1405 | * currently defined |
1405 | * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use | 1406 | * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use |
@@ -1408,6 +1409,7 @@ enum nl80211_survey_info { | |||
1408 | __NL80211_SURVEY_INFO_INVALID, | 1409 | __NL80211_SURVEY_INFO_INVALID, |
1409 | NL80211_SURVEY_INFO_FREQUENCY, | 1410 | NL80211_SURVEY_INFO_FREQUENCY, |
1410 | NL80211_SURVEY_INFO_NOISE, | 1411 | NL80211_SURVEY_INFO_NOISE, |
1412 | NL80211_SURVEY_INFO_IN_USE, | ||
1411 | 1413 | ||
1412 | /* keep last */ | 1414 | /* keep last */ |
1413 | __NL80211_SURVEY_INFO_AFTER_LAST, | 1415 | __NL80211_SURVEY_INFO_AFTER_LAST, |