diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-10-17 20:02:07 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-17 20:02:07 +0200 |
commit | 9f96da4dd2ccf685b506a21104cb13b1aadd907a (patch) | |
tree | 5d9eff61123f096e2434a9d36e6fdbd4cc5c6292 /net/wireless/genregdb.awk | |
parent | tcp: tcp_transmit_skb() optimizations (diff) | |
parent | rt2x00: rt2800lib: remove duplicate rf_vals for RF3053 (diff) | |
download | linux-9f96da4dd2ccf685b506a21104cb13b1aadd907a.tar.xz linux-9f96da4dd2ccf685b506a21104cb13b1aadd907a.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Diffstat (limited to 'net/wireless/genregdb.awk')
-rw-r--r-- | net/wireless/genregdb.awk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/wireless/genregdb.awk b/net/wireless/genregdb.awk index 9392f8cbb901..42ed274e81f4 100644 --- a/net/wireless/genregdb.awk +++ b/net/wireless/genregdb.awk @@ -46,6 +46,12 @@ BEGIN { sub(/:/, "", country) printf "static const struct ieee80211_regdomain regdom_%s = {\n", country printf "\t.alpha2 = \"%s\",\n", country + if ($NF ~ /DFS-ETSI/) + printf "\t.dfs_region = NL80211_DFS_ETSI,\n" + else if ($NF ~ /DFS-FCC/) + printf "\t.dfs_region = NL80211_DFS_FCC,\n" + else if ($NF ~ /DFS-JP/) + printf "\t.dfs_region = NL80211_DFS_JP,\n" printf "\t.reg_rules = {\n" active = 1 regdb = regdb "\t®dom_" country ",\n" |