summaryrefslogtreecommitdiffstats
path: root/net/wireless/regdb.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-12-18 23:59:01 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-12-22 00:56:10 +0100
commit3b377ea9d4efc94dc52fe41b4dfdb463635ab298 (patch)
tree76724e77913096c03f6b216573d4a24ce13fe7c3 /net/wireless/regdb.h
parentmac80211: remove payload alignment warning (diff)
downloadlinux-3b377ea9d4efc94dc52fe41b4dfdb463635ab298.tar.xz
linux-3b377ea9d4efc94dc52fe41b4dfdb463635ab298.zip
wireless: support internal statically compiled regulatory database
This patch provides infrastructure for machine translation of the regulatory rules database used by CRDA into a C data structure. It includes code for searching that database as an alternative to dynamic regulatory rules updates via CRDA. Most people should use CRDA instead of this infrastructure, but it provides a better alternative than the WIRELESS_OLD_REGULATORY infrastructure (which can now be removed). Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/regdb.h')
-rw-r--r--net/wireless/regdb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/wireless/regdb.h b/net/wireless/regdb.h
new file mode 100644
index 000000000000..818222c92513
--- /dev/null
+++ b/net/wireless/regdb.h
@@ -0,0 +1,7 @@
+#ifndef __REGDB_H__
+#define __REGDB_H__
+
+extern const struct ieee80211_regdomain *reg_regdb[];
+extern int reg_regdb_size;
+
+#endif /* __REGDB_H__ */