aboutsummaryrefslogtreecommitdiff
path: root/net/wireless/reg.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-30 09:26:42 -0800
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 15:03:45 -0500
commitf130347c2dd8e7ce0757cd3cf80bedbc6ed63c4c (patch)
tree868f78203b5f529d80a014ed2169e7eab0a260ed /net/wireless/reg.h
parent47f4d8872ffc57ad92d0fb344e677d12acc34acd (diff)
cfg80211: add get reg command
This lets userspace request to get the currently set regulatory domain. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/reg.h')
-rw-r--r--net/wireless/reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/reg.h b/net/wireless/reg.h
index eb1dd5bc9b2..fe8c83f34fb 100644
--- a/net/wireless/reg.h
+++ b/net/wireless/reg.h
@@ -1,6 +1,8 @@
#ifndef __NET_WIRELESS_REG_H
#define __NET_WIRELESS_REG_H
+extern const struct ieee80211_regdomain *cfg80211_regdomain;
+
bool is_world_regdom(const char *alpha2);
bool reg_is_valid_request(const char *alpha2);