Search Linux Wireless

[PATCH] Correct antenna gain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The original db.txt came from a program which scaped the ath9k
regulatory framework, in it a value of 6 was used for antenna
gain. The value for antenna gain in ath9k is twice the actual
value, so a value of 6 is actually equivalent to 3 dBi. Lets
correct this in db.txt

Signed-off-by: Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx>
---
 db.txt |  178 ++++++++++++++++++++++++++++++++--------------------------------
 1 files changed, 89 insertions(+), 89 deletions(-)

diff --git a/db.txt b/db.txt
index 1ab81f0..d884c6c 100644
--- a/db.txt
+++ b/db.txt
@@ -1,5 +1,5 @@
 country 00:
-	(2402 - 2472 @ 40), (6, 20)
+	(2402 - 2472 @ 40), (3, 20)
 
 country AE:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -20,8 +20,8 @@ country AN:
 
 country AR:
 	(2402 - 2482 @ 20), (N/A, 20)
-	(5270 - 5330 @ 20), (6, 17), DFS
-	(5735 - 5815 @ 20), (6, 30)
+	(5270 - 5330 @ 20), (3, 17), DFS
+	(5735 - 5815 @ 20), (3, 30)
 
 country AT:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -31,9 +31,9 @@ country AT:
 
 country AU:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (6, 23)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(5170 - 5250 @ 40), (3, 23)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country AZ:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -79,10 +79,10 @@ country BO:
 
 country BR:
 	(2402 - 2482 @ 20), (N/A, 20)
-	(5170 - 5250 @ 20), (6, 17)
-	(5250 - 5330 @ 20), (6, 20), DFS
-	(5490 - 5710 @ 20), (6, 20), DFS
-	(5735 - 5835 @ 20), (6, 30)
+	(5170 - 5250 @ 20), (3, 17)
+	(5250 - 5330 @ 20), (3, 20), DFS
+	(5490 - 5710 @ 20), (3, 20), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country BY:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -95,11 +95,11 @@ country BZ:
 	(5735 - 5835 @ 40), (N/A, 30)
 
 country CA:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 20), DFS
-	(5490 - 5710 @ 40), (6, 20), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 20), DFS
+	(5490 - 5710 @ 40), (3, 20), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country CH:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -118,16 +118,16 @@ country CN:
 	(5735 - 5835 @ 40), (N/A, 30)
 
 country CO:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 20), (6, 17)
-	(5250 - 5330 @ 20), (6, 23), DFS
-	(5735 - 5835 @ 20), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 20), (3, 17)
+	(5250 - 5330 @ 20), (3, 23), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country CR:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (6, 17)
-	(5250 - 5330 @ 20), (6, 23), DFS
-	(5735 - 5835 @ 20), (6, 30)
+	(5170 - 5250 @ 20), (3, 17)
+	(5250 - 5330 @ 20), (3, 23), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country CS:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -163,19 +163,19 @@ country DK:
 	(5490 - 5710 @ 40), (N/A, 27), DFS
 
 country DO:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country DZ:
 	(2402 - 2482 @ 20), (N/A, 20)
 
 country EC:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (6, 17)
-	(5250 - 5330 @ 20), (6, 23), DFS
-	(5735 - 5835 @ 20), (6, 30)
+	(5170 - 5250 @ 20), (3, 17)
+	(5250 - 5330 @ 20), (3, 23), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country EE:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -224,19 +224,19 @@ country GR:
 	(5490 - 5710 @ 40), (N/A, 27), DFS
 
 country GT:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country HN:
 	(2402 - 2482 @ 40), (N/A, 20)
 
 country HK:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (6, 23)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(5170 - 5250 @ 40), (3, 23)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country HR:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -310,17 +310,17 @@ country JO:
 
 country KP:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5330 @ 40), (6, 20)
-	(5160 - 5250 @ 40), (6, 20), DFS
-	(5490 - 5630 @ 40), (6, 30), DFS
-	(5735 - 5815 @ 40), (6, 30)
+	(5170 - 5330 @ 40), (3, 20)
+	(5160 - 5250 @ 40), (3, 20), DFS
+	(5490 - 5630 @ 40), (3, 30), DFS
+	(5735 - 5815 @ 40), (3, 30)
 
 country KR:
 	(2402 - 2482 @ 20), (N/A, 20)
-	(5170 - 5250 @ 20), (6, 20)
-	(5260 - 5330 @ 20), (6, 20), DFS
-	(5490 - 5710 @ 20), (6, 30), DFS
-	(5735 - 5815 @ 20), (6, 30)
+	(5170 - 5250 @ 20), (3, 20)
+	(5260 - 5330 @ 20), (3, 20), DFS
+	(5490 - 5710 @ 20), (3, 30), DFS
+	(5735 - 5815 @ 20), (3, 30)
 
 country KW:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -339,10 +339,10 @@ country LI:
 
 country LK:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (6, 17)
-	(5250 - 5330 @ 20), (6, 20), DFS
-	(5490 - 5710 @ 20), (6, 20), DFS
-	(5735 - 5835 @ 20), (6, 30)
+	(5170 - 5250 @ 20), (3, 17)
+	(5250 - 5330 @ 20), (3, 20), DFS
+	(5490 - 5710 @ 20), (3, 20), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country LT:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -372,9 +372,9 @@ country MA:
 
 country MO:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (6, 23)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(5170 - 5250 @ 40), (3, 23)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country MK:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -391,10 +391,10 @@ country MY:
 	(5735 - 5835 @ 20), (N/A, 30)
 
 country MX:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country NL:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -414,9 +414,9 @@ country NP:
 
 country NZ:
 	(2402 - 2482 @ 40), (N/A, 30)
-	(5170 - 5250 @ 20), (6, 23)
-	(5250 - 5330 @ 20), (6, 23), DFS
-	(5735 - 5835 @ 20), (6, 30)
+	(5170 - 5250 @ 20), (3, 23)
+	(5250 - 5330 @ 20), (3, 23), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country OM:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -425,10 +425,10 @@ country OM:
 	(5735 - 5835 @ 20), (N/A, 20)
 
 country PA:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country PE:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -436,9 +436,9 @@ country PE:
 
 country PG:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country PH:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -460,10 +460,10 @@ country PT:
 	(5490 - 5710 @ 40), (N/A, 27), DFS
 
 country PR:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 23), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country QA:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -503,17 +503,17 @@ country SK:
 
 country SV:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (6, 17)
-	(5250 - 5330 @ 20), (6, 23), DFS
-	(5735 - 5835 @ 20), (6, 30)
+	(5170 - 5250 @ 20), (3, 17)
+	(5250 - 5330 @ 20), (3, 23), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country SY:
 	(2402 - 2482 @ 40), (N/A, 20)
 
 country TW:
-	(2402 - 2472 @ 40), (6, 27)
-	(5270 - 5330 @ 40), (6, 17), DFS
-	(5735 - 5815 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5270 - 5330 @ 40), (3, 17), DFS
+	(5735 - 5815 @ 40), (3, 30)
 
 country TH:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -537,22 +537,22 @@ country UA:
 	(2402 - 2482 @ 40), (N/A, 20)
 
 country US:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 20), DFS
-	(5490 - 5710 @ 40), (6, 20), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 20), DFS
+	(5490 - 5710 @ 40), (3, 20), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country UY:
 	(2402 - 2482 @ 40), (N/A, 20)
 	(5735 - 5815 @ 20), (N/A, 23)
 
 country UZ:
-	(2402 - 2472 @ 40), (6, 27)
-	(5170 - 5250 @ 40), (6, 17)
-	(5250 - 5330 @ 40), (6, 20), DFS
-	(5490 - 5710 @ 40), (6, 20), DFS
-	(5735 - 5835 @ 40), (6, 30)
+	(2402 - 2472 @ 40), (3, 27)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 20), DFS
+	(5490 - 5710 @ 40), (3, 20), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country VE:
 	(2402 - 2482 @ 40), (N/A, 30)
@@ -566,10 +566,10 @@ country YE:
 
 country ZA:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (6, 17)
-	(5250 - 5330 @ 20), (6, 20), DFS
-	(5490 - 5710 @ 20), (6, 20), DFS
-	(5735 - 5835 @ 20), (6, 30)
+	(5170 - 5250 @ 20), (3, 17)
+	(5250 - 5330 @ 20), (3, 20), DFS
+	(5490 - 5710 @ 20), (3, 20), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country ZW:
 	(2402 - 2482 @ 40), (N/A, 20)
-- 
1.6.1.rc3.51.g5832d

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux