Skip to contentSkip to conversation

wireless-regdb: Update regulatory rules for Iran (IR) on both 2.4 and 5Ghz for 2019

PATCH Superseded Ping-Ke Shih 4 participants 6 messages Feb 18, 2025 – Feb 19, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wireless-regdb: Update regulatory rules for Iran (IR) on both 2.4 and 5Ghz for 2019

From: Ping-Ke Shih <[email protected]>

Decision No. 4004-01DEC-CRA, 8th Edition - February 2019, Radiocommunications and Regulatory Organization. General radio license for the use of parts of the frequency bands 2400-2483.5 MHz, 5150-5250 MHz, 5350-5250 MHz, 5470-5725 MHz, and 5850-5725 MHz in radio access networks. [1]

* 2400 - 2483.5
- 100 mW e.i.r.p
- 10dBm in every 1Mhz
* 5150 - 5250
- 200 mW e.i.r.p
- 10dBm/MHz per 1MHz bandwidth or -6dBm/25kHz per 25kHz bandwidth
* 5250 - 5350
- 200 mW e.i.r.p
- 10dBm/MHz per 1MHz bandwidth
- DFS
* 5470 - 5725
- 1000 mW e.i.r.p
- 17dBm/MHz per 1MHz bandwidth
- DFS
- If TPC is not used, the maximum radiated e.i.r.p. must be reduced

    by 3dB.

- Outdoor use only
(Since NO-INDOOR flag is not supported by current format, don't add
this entry.)
* 5725 - 5850
- 4000 mW e.i.r.p
- 36dBm in every 500 kHz
- DFS
- Outdoor use only
(Since NO-INDOOR flag is not supported by current format, don't add
this entry.)

These information is from [4], Mobin Aydinfar shared the official link [1] (inaccessible from outside of Iran), a mirror version [2] and translated version [3].

[1] https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899
[2] https://mobintestserver.ir/Iran-2.4Ghz-5Ghz-cra-official-doc.pdf
[3] https://mobintestserver.ir/Iran-2.4Ghz-5Ghz-cra-official-table.ods
[4] https://lore.kernel.org/linux-wireless/[email protected]/T/#u

Cc Mobin Aydinfar <[email protected]>
---
 db.txt | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
db.txt +6 -3
index d56ad32d31c9..0189355dff17 100644
@@ -934,9 +934,12 @@ country IN:
 	(5470 - 5725 @ 160), (24), DFS
 	(5725 - 5875 @ 80), (30)
 
-country IR: DFS-JP
-	(2402 - 2482 @ 40), (20)
-	(5735 - 5835 @ 80), (30)
+# Source:
+# https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899
+country IR: DFS-ETSI
+	(2400 - 2483.5 @ 40), (100 mW)
+	(5150 - 5250 @ 80), (200 mW)
+	(5250 - 5350 @ 80), (200 mW), DFS
 
 # IS as part of CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301 893)
 # and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300 440)
Signature · 1 line
2.25.1
#1 lore raw
Quoted 9 lines · Ping-Ke Shih

From: Ping-Ke Shih <[email protected]>

Decision No. 4004-01DEC-CRA, 8th Edition - February 2019, Radiocommunications and Regulatory Organization. General radio license for the use of parts of the frequency bands 2400-2483.5 MHz, 5150-5250 MHz, 5350-5250 MHz, 5470-5725 MHz, and 5850-5725 MHz in radio access networks. [1]

Quoted 3 lines

* 2400 - 2483.5
- 100 mW e.i.r.p
- 10dBm in every 1Mhz

Should keep a note saying for outdoor only usage, the limit is 4000 mW.

Quoted 7 lines

* 5150 - 5250
- 200 mW e.i.r.p
- 10dBm/MHz per 1MHz bandwidth or -6dBm/25kHz per 25kHz bandwidth
* 5250 - 5350
- 200 mW e.i.r.p
- 10dBm/MHz per 1MHz bandwidth
- DFS

For outdoor only usage, the limit is 1000 mW.

Also, for outdoor usage, TPC is required, and there is no provision for 3 dB power reduction if TPC is not implemented.

So I would mark this band as indoor only for now.

Quoted 9 lines

* 5470 - 5725
- 1000 mW e.i.r.p
- 17dBm/MHz per 1MHz bandwidth
- DFS
- If TPC is not used, the maximum radiated e.i.r.p. must be reduced

    by 3dB.

- Outdoor use only
(Since NO-INDOOR flag is not supported by current format, don't add
this entry.)

There are NO-INDOOR and NO-OUTDOOR flags for the database. The kernel doesn't have a matching IEEE80211_CHAN_OUTDOOR_ONLY flag though. Maybe that should be added?

Johannes, what do you think?

Quoted 7 lines

* 5725 - 5850
- 4000 mW e.i.r.p
- 36dBm in every 500 kHz
- DFS
- Outdoor use only
(Since NO-INDOOR flag is not supported by current format, don't add
this entry.)

This band is point to point only. TPC is required without provision for no TPC.

Quoted 10 lines

These information is from [4], Mobin Aydinfar shared the official link [1] (inaccessible from outside of Iran), a mirror version [2] and translated version [3].

[1] https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899
[2] https://mobintestserver.ir/Iran-2.4Ghz-5Ghz-cra-official-doc.pdf
[3] https://mobintestserver.ir/Iran-2.4Ghz-5Ghz-cra-official-table.ods
[4] https://lore.kernel.org/linux-wireless/[email protected]/T/#u

Cc Mobin Aydinfar <[email protected]>

Please use "Reported-by" instead, and also add

Thanks
ChenYu

Quoted 28 lines
---
 db.txt | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
db.txt +6 -4
index d56ad32d31c9..0189355dff17 100644
@@ -934,9 +934,12 @@ country IN:
        (5470 - 5725 @ 160), (24), DFS
        (5725 - 5875 @ 80), (30)
 
-country IR: DFS-JP
-       (2402 - 2482 @ 40), (20)
-       (5735 - 5835 @ 80), (30)
+# Source:
+# https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899
+country IR: DFS-ETSI
+       (2400 - 2483.5 @ 40), (100 mW)
+       (5150 - 5250 @ 80), (200 mW)
+       (5250 - 5350 @ 80), (200 mW), DFS
 
 # IS as part of CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301 893)
 # and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300 440)
--

2.25.1

#2 lore raw
Quoted 5 lines · Chen-Yu Tsai

There are NO-INDOOR and NO-OUTDOOR flags for the database. The kernel doesn't have a matching IEEE80211_CHAN_OUTDOOR_ONLY flag though. Maybe that should be added?

Johannes, what do you think?

Good question. I guess we could have it, though I'm not sure we'd have any mechanics to actually _use_ such a thing right now? Something, say hostapd (?) would have to promise it's actually outdoors?

More information doesn't hurt and I don't mind adding it at all, but I do think we'd probably not be able to use it at this time.

Or we could add it to the db.txt file but ignore it in parsing now and skip the band for the binary for now?

The thing is I don't think we have a good way to say "older kernel skips this range" - or perhaps we set the NO_IR flag so older kernel cannot use it but then allow OUTDOOR_ONLY to override that given some conditions?

johannes

#3 lore raw
Quoted 15 lines · Johannes Berg
Quoted 5 lines · Chen-Yu Tsai

There are NO-INDOOR and NO-OUTDOOR flags for the database. The kernel doesn't have a matching IEEE80211_CHAN_OUTDOOR_ONLY flag though. Maybe that should be added?

Johannes, what do you think?

Good question. I guess we could have it, though I'm not sure we'd have any mechanics to actually _use_ such a thing right now? Something, say hostapd (?) would have to promise it's actually outdoors?

More information doesn't hurt and I don't mind adding it at all, but I do think we'd probably not be able to use it at this time.

Quoted 8 lines

Or we could add it to the db.txt file but ignore it in parsing now and skip the band for the binary for now?

The thing is I don't think we have a good way to say "older kernel skips this range" - or perhaps we set the NO_IR flag so older kernel cannot use it but then allow OUTDOOR_ONLY to override that given some conditions?

Thanks for the suggestion. I have made a patch to allow NO-INDOOR flag, but not parse into binary.

Since I'm very not familiar with Python, please review the patch carefully. Thank you.

#4 lore raw

پاسخ: [PATCH] wireless-regdb: Update regulatory rules for Iran (IR) on both 2.4 and 5Ghz for 2019

In reply to Ping-Ke Shih

۱۸ فوریه ۲۰۲۵ ۰۶:۳۰:۳۸ Ping-Ke Shih <[email protected]>:

Quoted 69 lines

From: Ping-Ke Shih <[email protected]>

Decision No. 4004-01DEC-CRA, 8th Edition - February 2019, Radiocommunications and Regulatory Organization. General radio license for the use of parts of the frequency bands 2400-2483.5 MHz, 5150-5250 MHz, 5350-5250 MHz, 5470-5725 MHz, and 5850-5725 MHz in radio access networks. [1]

* 2400 - 2483.5
  - 100 mW e.i.r.p
  - 10dBm in every 1Mhz
* 5150 - 5250
  - 200 mW e.i.r.p
  - 10dBm/MHz per 1MHz bandwidth or -6dBm/25kHz per 25kHz bandwidth
* 5250 - 5350
  - 200 mW e.i.r.p
  - 10dBm/MHz per 1MHz bandwidth
  - DFS
* 5470 - 5725
  - 1000 mW e.i.r.p
  - 17dBm/MHz per 1MHz bandwidth
  - DFS
  - If TPC is not used, the maximum radiated e.i.r.p. must be reduced by 3dB.
  - Outdoor use only
    (Since NO-INDOOR flag is not supported by current format, don't add this entry.)
* 5725 - 5850
  - 4000 mW e.i.r.p
  - 36dBm in every 500 kHz
  - DFS
  - Outdoor use only
    (Since NO-INDOOR flag is not supported by current format, don't add this entry.)

These information is from [4], Mobin Aydinfar shared the official link [1] (inaccessible from outside of Iran), a mirror version [2] and translated version [3].

[1] https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899
[2] https://mobintestserver.ir/Iran-2.4Ghz-5Ghz-cra-official-doc.pdf
[3] https://mobintestserver.ir/Iran-2.4Ghz-5Ghz-cra-official-table.ods
[4] https://lore.kernel.org/linux-wireless/[email protected]/T/#u

Cc Mobin Aydinfar <[email protected]>

---
db.txt | 9 ++++++---

1 file changed, 6 insertions(+), 3 deletions(-)
db.txt +0 -0
index d56ad32d31c9..0189355dff17 100644
@@ -934,9 +934,12 @@ country IN:

    (5470 - 5725 @ 160), (24), DFS
    (5725 - 5875 @ 80), (30)

db.txt +2 -3
-country IR: DFS-JP
-   (2402 - 2482 @ 40), (20)
-   (5735 - 5835 @ 80), (30)
+# Source:
+# 

https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899
+country IR: DFS-ETSI
+   (2400 - 2483.5 @ 40), (100 mW)
+   (5150 - 5250 @ 80), (200 mW)
+   (5250 - 5350 @ 80), (200 mW), DFS

Quoted 4 lines

# IS as part of CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301 893)

# and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300 440)
--
2.25.1

Thanks for the patch, I should mention the document date is February 2021, Not 2019.

Best Regards

#5 lore raw

Re: پاسخ: [PATCH] wireless-regdb: Update regulatory rules for Iran (IR) on both 2.4 and 5Ghz for 2019

Quoted 76 lines · Mobin Aydinfar

۱۸ فوریه ۲۰۲۵ ۰۶:۳۰:۳۸ Ping-Ke Shih <[email protected]>:

Quoted 73 lines

From: Ping-Ke Shih <[email protected]>

Decision No. 4004-01DEC-CRA, 8th Edition - February 2019, Radiocommunications and Regulatory Organization. General radio license for the use of parts of the frequency bands 2400-2483.5 MHz, 5150-5250 MHz, 5350-5250 MHz, 5470-5725 MHz, and 5850-5725 MHz in radio access networks. [1]

* 2400 - 2483.5
- 100 mW e.i.r.p
- 10dBm in every 1Mhz
* 5150 - 5250
- 200 mW e.i.r.p
- 10dBm/MHz per 1MHz bandwidth or -6dBm/25kHz per 25kHz bandwidth
* 5250 - 5350
- 200 mW e.i.r.p
- 10dBm/MHz per 1MHz bandwidth
- DFS
* 5470 - 5725
- 1000 mW e.i.r.p
- 17dBm/MHz per 1MHz bandwidth
- DFS
- If TPC is not used, the maximum radiated e.i.r.p. must be reduced

    by 3dB.

- Outdoor use only
(Since NO-INDOOR flag is not supported by current format, don't add
this entry.)
* 5725 - 5850
- 4000 mW e.i.r.p
- 36dBm in every 500 kHz
- DFS
- Outdoor use only
(Since NO-INDOOR flag is not supported by current format, don't add
this entry.)

These information is from [4], Mobin Aydinfar shared the official link
[1]
(inaccessible from outside of Iran), a mirror version [2] and translated
version [3].

[1]
https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899
[2] https://mobintestserver.ir/Iran-2.4Ghz-5Ghz-cra-official-doc.pdf
[3] https://mobintestserver.ir/Iran-2.4Ghz-5Ghz-cra-official-table.ods
[4]
https://lore.kernel.org/linux-wireless/[email protected]/T/#u

Cc Mobin Aydinfar <[email protected]>

---
db.txt | 9 ++++++---

1 file changed, 6 insertions(+), 3 deletions(-)
db.txt +2 -3
index d56ad32d31c9..0189355dff17 100644
@@ -934,9 +934,12 @@ country IN:
    (5470 - 5725 @ 160), (24), DFS
    (5725 - 5875 @ 80), (30)
 
-country IR: DFS-JP
-   (2402 - 2482 @ 40), (20)
-   (5735 - 5835 @ 80), (30)
+# Source:
+#

https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899

db.txt +4 -0
+country IR: DFS-ETSI
+   (2400 - 2483.5 @ 40), (100 mW)
+   (5150 - 5250 @ 80), (200 mW)
+   (5250 - 5350 @ 80), (200 mW), DFS
Quoted 10 lines
Quoted 6 lines

# IS as part of CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301
893)

# and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300
440)
--
2.25.1

Thanks for the patch, I should mention the document date is February 2021, Not 2019.

I did copy and paste from Google translation. I will correct the by v3. Thanks.