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/regdb.h | |
parent | 59d9cb071d6209f2e8df2d16228cfdc7bab1f2d1 (diff) | |
download | linux-rpi3-3b377ea9d4efc94dc52fe41b4dfdb463635ab298.tar.gz linux-rpi3-3b377ea9d4efc94dc52fe41b4dfdb463635ab298.tar.bz2 linux-rpi3-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.h | 7 |
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__ */ |