update README
[platform/upstream/crda.git] / db.txt
diff --git a/db.txt b/db.txt
index 0c49d25..3b43c12 100644 (file)
--- a/db.txt
+++ b/db.txt
@@ -1,4 +1,18 @@
 ############
+#
+# Database format.
+
+# band definition: start - end @ bandwidth[, flags]
+# (start, end, bandwidth in MHz, can be fractional,
+#  will be converted to kHz)
+#
+# power definition: environment, max_antenna_gain, max_ir_ptmp, max_ir_ptp, max_eirp_pmtp, max_eirp_ptp
+#  - environment is either I, O or OI
+#  - max_antenna_gain is in dBi (can be fractional, will be converted to mBi)
+#  - the remaining ones are in dBm (will be converted to mBm)
+#
+
+############
 # First: band definitions
 
 band WORLD: 2432 - 2442 @ 20, OFDM, CCK
@@ -13,8 +27,6 @@ band ETSIC: 2442 - 2472 @ 20, OFDM, CCK
 band MKKA-1: 2412 - 2472 @ 20, OFDM, CCK
 band MKKA-2: 2484 - 2484 @ 20, CCK
 
-band DEBUG-24: 2412 - 2732 @ 40, OFDM, CCK
-
 # 5 GHz ranges follow
 
 band APL1: 5745 - 5825 @ 20, OFDM
@@ -58,8 +70,6 @@ band MKK1: 5170 - 5230 @ 20, OFDM
 # MKK2 is MKK1 + this
 band MKK2: 5040 - 5080 @ 20, OFDM
 
-band DEBUG-50: 5005 - 6100 @ 40, OFDM, CCK
-
 
 ############
 # Second: power definitions
@@ -71,17 +81,19 @@ power DEFAULT: OI, 6, 30, 30, 36, 255
 # Finally, country definitions
 
 country 00:
-       WORLD, DEFAULT
+       # power definition is the same as DEFAULT, just to
+       # illustrate inlining it...
+       WORLD, (OI, 6, 30, 30, 36, 255)
 
 country 01:
-       DEBUG-24, DEFAULT
+       (2412 - 2732 @ 40, OFDM, CCK), DEFAULT
 
 country 02:
-       DEBUG-50, DEFAULT
+       (5005 - 6100 @ 40, OFDM, CCK), DEFAULT
 
 country 03:
-       DEBUG-24, DEFAULT
-       DEBUG-50, DEFAULT
+       (2412 - 2732 @ 40, OFDM, CCK), DEFAULT
+       (5005 - 6100 @ 40, OFDM, CCK), DEFAULT
 
 country BR, BZ:
        FCCA-1, DEFAULT