All of lore.kernel.org
 help / color / mirror / Atom feed
From: Seth Forshee <sforshee@kernel.org>
To: Murtaza Saeed <mnk.saeed@gmail.com>
Cc: wireless-regdb@lists.infradead.org, linux-wireless@vger.kernel.org
Subject: Re: wireless-regdb: Update regulatory rules for Pakistan (PK) on 5GHz
Date: Fri, 5 Aug 2022 10:18:40 -0500	[thread overview]
Message-ID: <Yu000DvbyViZPeC+@ubuntu-x1> (raw)
In-Reply-To: <CAATNLbwMFDj0UrG1PBNh-dj7GT+GJ2Ud38TzHL=FmMG7wgNNbQ@mail.gmail.com>

On Fri, Aug 05, 2022 at 06:01:43PM +0500, Murtaza Saeed wrote:
> Hi,
> 
> The current regulatory rules for Pakistan (PK) for 5 GHz channels in
> wireless-regdb are out of date and have been recently updated by the
> Pakistan Telecommunication Authority (PTA) in June 2022.
> 
> PTA has allowed the use of additional 5 GHz channels which were
> previously restricted for use in Pakistan.
> 
> (5150 - 5350) at ≤ 200 mW EIRP (23 dBm)
> (5470 - 5725) at ≤ 200 mW EIRP (23 dBm)
> 
> The current channels (5725 - 5875) remain allowed at a higher power of 1W.
> 
> (5725 - 5875) at ≤ 1W EIRP (30 dBm)
> 
> The updated regulatory framework from PTA can be found at the link
> below and the relevant information is available on Page 10.
> 
> https://www.pta.gov.pk/assets/media/iot_srd_regulatory_framework_01-06-2022.pdf
> 
> If I am correct, the listing for PK in the database should show as follows:
> 
> country PK: DFS-JP
> # https://fab.gov.pk/type-approval/
> # https://pta.gov.pk/media/Pakistan_Table_of_Frequency_Allocations.pdf
> # https://www.pta.gov.pk/assets/media/iot_srd_regulatory_framework_01-06-2022.pdf
> (2402 - 2482 @ 40), (20)
> (5150 - 5350 @ 80), (23)
> (5470 - 5725 @ 80), (23)
> (5725 - 5875 @ 80), (30)

Thanks for the information! This isn't quite right though. Annex A1
includes additional restrictions which need to be accounted for in the
rules:

 - 5150-5610 GHz are restricted to indoor use.
 - 5270-5610 GHz requires DFS.
 - 5270-5610 GHz also requires TPC, but since Linux doesn't support TPC
   we have to lower the max EIRP by half.

It also looks like 60 GHz is allowed, so we can also add a rule for
that. So I think this is what we end up with for the new rules:

country PK: DFS-JP                                                                                                     
        # https://fab.gov.pk/type-approval/                                                                            
        # https://pta.gov.pk/media/Pakistan_Table_of_Frequency_Allocations.pdf                                         
        # https://www.pta.gov.pk/assets/media/iot_srd_regulatory_framework_01-06-2022.pdf                              
        (2402 - 2482 @ 40), (100 mW)                                                                                   
        (5150 - 5270 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW                                                              
        (5270 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW                                                         
        (5470 - 5610 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW                                                         
        (5610 - 5725 @ 80), (200 mW), AUTO-BW                                                                          
        (5725 - 5875 @ 80), (1000 mW)                                                                                  
        (57000 - 66000 @ 2160), (40)                                                                                   

Note that I also changed the EIRP to mW to match what's in the document,
except for 60 GHz where it gives the limit in dBm. We generally try to
have the rules match the regulatory documents.

If this looks good to you, I can send a patch.

Thanks,
Seth

WARNING: multiple messages have this Message-ID (diff)
From: Seth Forshee <sforshee@kernel.org>
To: Murtaza Saeed <mnk.saeed@gmail.com>
Cc: wireless-regdb@lists.infradead.org, linux-wireless@vger.kernel.org
Subject: Re: [wireless-regdb] wireless-regdb: Update regulatory rules for Pakistan (PK) on 5GHz
Date: Fri, 5 Aug 2022 10:18:40 -0500	[thread overview]
Message-ID: <Yu000DvbyViZPeC+@ubuntu-x1> (raw)
In-Reply-To: <CAATNLbwMFDj0UrG1PBNh-dj7GT+GJ2Ud38TzHL=FmMG7wgNNbQ@mail.gmail.com>

On Fri, Aug 05, 2022 at 06:01:43PM +0500, Murtaza Saeed wrote:
> Hi,
> 
> The current regulatory rules for Pakistan (PK) for 5 GHz channels in
> wireless-regdb are out of date and have been recently updated by the
> Pakistan Telecommunication Authority (PTA) in June 2022.
> 
> PTA has allowed the use of additional 5 GHz channels which were
> previously restricted for use in Pakistan.
> 
> (5150 - 5350) at ≤ 200 mW EIRP (23 dBm)
> (5470 - 5725) at ≤ 200 mW EIRP (23 dBm)
> 
> The current channels (5725 - 5875) remain allowed at a higher power of 1W.
> 
> (5725 - 5875) at ≤ 1W EIRP (30 dBm)
> 
> The updated regulatory framework from PTA can be found at the link
> below and the relevant information is available on Page 10.
> 
> https://www.pta.gov.pk/assets/media/iot_srd_regulatory_framework_01-06-2022.pdf
> 
> If I am correct, the listing for PK in the database should show as follows:
> 
> country PK: DFS-JP
> # https://fab.gov.pk/type-approval/
> # https://pta.gov.pk/media/Pakistan_Table_of_Frequency_Allocations.pdf
> # https://www.pta.gov.pk/assets/media/iot_srd_regulatory_framework_01-06-2022.pdf
> (2402 - 2482 @ 40), (20)
> (5150 - 5350 @ 80), (23)
> (5470 - 5725 @ 80), (23)
> (5725 - 5875 @ 80), (30)

Thanks for the information! This isn't quite right though. Annex A1
includes additional restrictions which need to be accounted for in the
rules:

 - 5150-5610 GHz are restricted to indoor use.
 - 5270-5610 GHz requires DFS.
 - 5270-5610 GHz also requires TPC, but since Linux doesn't support TPC
   we have to lower the max EIRP by half.

It also looks like 60 GHz is allowed, so we can also add a rule for
that. So I think this is what we end up with for the new rules:

country PK: DFS-JP                                                                                                     
        # https://fab.gov.pk/type-approval/                                                                            
        # https://pta.gov.pk/media/Pakistan_Table_of_Frequency_Allocations.pdf                                         
        # https://www.pta.gov.pk/assets/media/iot_srd_regulatory_framework_01-06-2022.pdf                              
        (2402 - 2482 @ 40), (100 mW)                                                                                   
        (5150 - 5270 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW                                                              
        (5270 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW                                                         
        (5470 - 5610 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW                                                         
        (5610 - 5725 @ 80), (200 mW), AUTO-BW                                                                          
        (5725 - 5875 @ 80), (1000 mW)                                                                                  
        (57000 - 66000 @ 2160), (40)                                                                                   

Note that I also changed the EIRP to mW to match what's in the document,
except for 60 GHz where it gives the limit in dBm. We generally try to
have the rules match the regulatory documents.

If this looks good to you, I can send a patch.

Thanks,
Seth

_______________________________________________
wireless-regdb mailing list
wireless-regdb@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/wireless-regdb

  reply	other threads:[~2022-08-05 15:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05 13:01 wireless-regdb: Update regulatory rules for Pakistan (PK) on 5GHz Murtaza Saeed
2022-08-05 13:01 ` [wireless-regdb] " Murtaza Saeed
2022-08-05 15:18 ` Seth Forshee [this message]
2022-08-05 15:18   ` Seth Forshee
2022-08-05 16:39   ` Murtaza Saeed
2022-08-05 16:39     ` [wireless-regdb] " Murtaza Saeed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yu000DvbyViZPeC+@ubuntu-x1 \
    --to=sforshee@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mnk.saeed@gmail.com \
    --cc=wireless-regdb@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.