2012-11-29 07:38:51

by Bu, Jinsong

[permalink] [raw]
Subject: [patch] add K3 and PS to db.txt

Hi John,

I created a patch to add K3 and PS country string to db.txt, please review the patch.

Note that I copied KP's rules for K3 since they are all APL9_WORLD.

-------------------------------------------------------------------------------------------------------------------------------------
>From a006587d846cd91a07d3e232421947bc3f96e235 Mon Sep 17 00:00:00 2001
From: jinsong <[email protected]>
Date: Thu, 29 Nov 2012 15:15:21 +0800
Subject: [PATCH] add K3 and PS


Signed-off-by: jinsong <[email protected]>
---
db.txt | 13 +++++++++++++
1 file changed, 13 insertions(+)

diff --git a/db.txt b/db.txt
index 4c54543..a7ff207 100644
--- a/db.txt
+++ b/db.txt
@@ -391,6 +391,13 @@ country JO:
(2402 - 2482 @ 40), (N/A, 20)
(5170 - 5250 @ 40), (N/A, 18)

+country K3:
+ (2402 - 2482 @ 40), (N/A, 20)
+ (5170 - 5330 @ 40), (3, 20)
+ (5160 - 5250 @ 40), (3, 20), DFS
+ (5490 - 5630 @ 40), (3, 30), DFS
+ (5735 - 5815 @ 40), (3, 30)
+
country KE:
(2402 - 2482 @ 40), (N/A, 20)
(5735 - 5835 @ 40), (N/A, 30)
@@ -554,6 +561,12 @@ country PL: DFS-ETSI
(5250 - 5330 @ 40), (N/A, 20), DFS
(5490 - 5710 @ 40), (N/A, 27), DFS

+country PS:
+ (2402 - 2472 @ 40), (3, 27)
+ (5170 - 5250 @ 40), (3, 17)
+ (5250 - 5330 @ 40), (3, 23), DFS
+ (5735 - 5835 @ 40), (3, 30)
+
country PT: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20)
(5170 - 5250 @ 40), (N/A, 20)
--
1.7.9.5


Best Regards
Jinsong Bu


Attachments:
0001-add-K3-and-PS.patch (1.07 kB)
0001-add-K3-and-PS.patch

2012-11-29 07:48:09

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [patch] add K3 and PS to db.txt

On Wed, Nov 28, 2012 at 11:38 PM, Bu, Jinsong <[email protected]> wrote:
> Hi John,
>
> I created a patch to add K3 and PS country string to db.txt, please review the patch.
>
> Note that I copied KP's rules for K3 since they are all APL9_WORLD.
>
> -------------------------------------------------------------------------------------------------------------------------------------
> From a006587d846cd91a07d3e232421947bc3f96e235 Mon Sep 17 00:00:00 2001
> From: jinsong <[email protected]>
> Date: Thu, 29 Nov 2012 15:15:21 +0800
> Subject: [PATCH] add K3 and PS
>
>
> Signed-off-by: jinsong <[email protected]>
> ---
> db.txt | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/db.txt b/db.txt
> index 4c54543..a7ff207 100644
> --- a/db.txt
> +++ b/db.txt
> @@ -391,6 +391,13 @@ country JO:
> (2402 - 2482 @ 40), (N/A, 20)
> (5170 - 5250 @ 40), (N/A, 18)
>
> +country K3:
> + (2402 - 2482 @ 40), (N/A, 20)
> + (5170 - 5330 @ 40), (3, 20)
> + (5160 - 5250 @ 40), (3, 20), DFS
> + (5490 - 5630 @ 40), (3, 30), DFS
> + (5735 - 5815 @ 40), (3, 30)
> +

What is K3? Please note that I removed all variations of different
regulatory domains for a country when I converted the HAL reg code out
to db.txt format for CRDA. The intent was to provide a unified up to
date regulatory solution only. All variations that are "preferred"
should simply just rely on the old rules if these need to be
productized for whatever OEM/parnoid/stupid reasons. Please let me
know if you find a good reason to actually add these and if so please
consider adding them as custom regulatory domains which we do support
-- see the custom world regulatory domains on the ath module.

> country KE:
> (2402 - 2482 @ 40), (N/A, 20)
> (5735 - 5835 @ 40), (N/A, 30)
> @@ -554,6 +561,12 @@ country PL: DFS-ETSI
> (5250 - 5330 @ 40), (N/A, 20), DFS
> (5490 - 5710 @ 40), (N/A, 27), DFS
>
> +country PS:
> + (2402 - 2472 @ 40), (3, 27)
> + (5170 - 5250 @ 40), (3, 17)
> + (5250 - 5330 @ 40), (3, 23), DFS
> + (5735 - 5835 @ 40), (3, 30)
> +

What is PS? Historically the Atheros HAL has used "PS" for Public
Safety but not that technically it is the ISO3166-alpha2 country code
for Palestine, did you intend to define that or Public Safety? If your
intent was to try to add Public Safety then consider using the custom
regulatory domains but then also try to figure out with marketing /
etc if we ever want to sell products to Palestine.

Luis