aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-09-29 11:15:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-10-05 13:35:22 -0400
commit17e5a8082894a4b66cb69e7ec16074f0f01281e1 (patch)
tree604746f9c4aa8d77c41f1e22e9f553b5cdcfa823 /include/net
parent0bda652300dff8136c9d889f1133462c7c7d332c (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/net')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index a0613ff62c9..ecc0403b918 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -293,12 +293,14 @@ struct key_params {
293 * enum survey_info_flags - survey information flags 293 * enum survey_info_flags - survey information flags
294 * 294 *
295 * @SURVEY_INFO_NOISE_DBM: noise (in dBm) was filled in 295 * @SURVEY_INFO_NOISE_DBM: noise (in dBm) was filled in
296 * @SURVEY_INFO_IN_USE: channel is currently being used
296 * 297 *
297 * Used by the driver to indicate which info in &struct survey_info 298 * Used by the driver to indicate which info in &struct survey_info
298 * it has filled in during the get_survey(). 299 * it has filled in during the get_survey().
299 */ 300 */
300enum survey_info_flags { 301enum survey_info_flags {
301 SURVEY_INFO_NOISE_DBM = 1<<0, 302 SURVEY_INFO_NOISE_DBM = 1<<0,
303 SURVEY_INFO_IN_USE = 1<<1,
302}; 304};
303 305
304/** 306/**