diff options
author | John W. Linville <linville@tuxdriver.com> | 2009-12-18 17:59:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-21 18:56:10 -0500 |
commit | 3b377ea9d4efc94dc52fe41b4dfdb463635ab298 (patch) | |
tree | 76724e77913096c03f6b216573d4a24ce13fe7c3 /net/wireless/Kconfig | |
parent | 59d9cb071d6209f2e8df2d16228cfdc7bab1f2d1 (diff) |
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/Kconfig')
-rw-r--r-- | net/wireless/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index 90e93a5701aa..8419971f07c5 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig | |||
@@ -109,6 +109,22 @@ config WIRELESS_OLD_REGULATORY | |||
109 | 109 | ||
110 | Say N and if you say Y, please tell us why. The default is N. | 110 | Say N and if you say Y, please tell us why. The default is N. |
111 | 111 | ||
112 | config CFG80211_INTERNAL_REGDB | ||
113 | bool "use statically compiled regulatory rules database" if EMBEDDED | ||
114 | default n | ||
115 | depends on CFG80211 | ||
116 | ---help--- | ||
117 | This option generates an internal data structure representing | ||
118 | the wireless regulatory rules described in net/wireless/db.txt | ||
119 | and includes code to query that database. This is an alternative | ||
120 | to using CRDA for defining regulatory rules for the kernel. | ||
121 | |||
122 | For details see: | ||
123 | |||
124 | http://wireless.kernel.org/en/developers/Regulatory | ||
125 | |||
126 | Most distributions have a CRDA package. So if unsure, say N. | ||
127 | |||
112 | config CFG80211_WEXT | 128 | config CFG80211_WEXT |
113 | bool "cfg80211 wireless extensions compatibility" | 129 | bool "cfg80211 wireless extensions compatibility" |
114 | depends on CFG80211 | 130 | depends on CFG80211 |