From 7a9a76167a8b31b5c8922637f608d1103836bad2 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Thu, 14 Jul 2011 05:19:28 +0000 Subject: [PATCH] Japan regulatory domain update #1 - sync with CRDA entries. Specifics: * add 4920MHz-4980MHz for 11a and 11n/HT20 * add 5040MHz-5080MHz for 11a and 11n/HT20 * add 5500MHz-5700MHz for 11a and 11n/HT20 (DFS needed) * add 5500MHz-5680MHz for 11n/HT40 (DFS needed) TODO: * add correct HT40 bands for 4920-4980 and 5040-5080 For the curious: There's been many revisions to the Japan regulatory rules. Apparently, the requirements require old cards certified on a previous version of the rules to obey the older rules, not the newer rules. The regdomain.xml outlines the -current- restrictions. The card driver (eg the ath_hal regulatory domain code) may include previous revisions of the Japan rules. The ath_hal regdomain code populates the initial channel list based on what the EEPROM indicates is possible. The regdomain.xml database imposes further restrictions on this. So regdomain.xml only needs to have the -current- rules. If the card was certified on an earlier set of JP rules, it may only support a subset of those channels - these are calculated at device attach and this restricted list is kicked to net80211. regdomain.xml operates on -this- list of channels. And thus, the correct regulatory behaviour for Japan is handled with only one regdomain.xml Japan database entry. (phew.) Obtained from: Linux wireless-regdb --- etc/regdomain.xml | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/etc/regdomain.xml b/etc/regdomain.xml index 9b406055f5a4..f47b91781403 100644 --- a/etc/regdomain.xml +++ b/etc/regdomain.xml @@ -323,6 +323,14 @@ + + + 23 + + + + 23 + 23 @@ -333,6 +341,12 @@ IEEE80211_CHAN_PASSIVE IEEE80211_CHAN_DFS + + + 23 + IEEE80211_CHAN_PASSIVE + IEEE80211_CHAN_DFS + @@ -349,6 +363,16 @@ + + + 23 + IEEE80211_CHAN_HT20 + + + + 23 + IEEE80211_CHAN_HT20 + 23 @@ -373,6 +397,20 @@ IEEE80211_CHAN_PASSIVE IEEE80211_CHAN_DFS + + + 23 + IEEE80211_CHAN_HT20 + IEEE80211_CHAN_PASSIVE + IEEE80211_CHAN_DFS + + + + 23 + IEEE80211_CHAN_HT40 + IEEE80211_CHAN_PASSIVE + IEEE80211_CHAN_DFS + @@ -1624,11 +1662,21 @@ IEEE80211_CHAN_A IEEE80211_CHAN_HALF + + 4920 4980 + 20 5 + IEEE80211_CHAN_A + 4950 4980 20 5 IEEE80211_CHAN_A + + 5040 5080 + 20 20 + IEEE80211_CHAN_A + 5120 5240 20 20