[PATCH] wireless-regdb: add regulatory rules for Iraq (IQ)
Chen-Yu Tsai
wens at kernel.org
Tue May 19 00:14:57 PDT 2026
Hi,
On Sat, May 16, 2026 at 3:43 PM <Mohammed.Al-Obaidi at badraproject.com> wrote:
>
> Kind reminder, any update on the subject?
Please send the patch directly to the mailing list, not as an attachment.
Otherwise there is no way to review the patch on the mailing list.
`git send-email` should do that for you.
About the commit message:
The section "Notes on the encoding chosen below" is really not needed,
unless something is not a direct translation from text to the standard
rules for wireless-regdb, or if other materials were referenced.
So talking about "Indoor" encoded as "NO-OUTDOOR" is redundant. Mentioning
DFS is also not needed, since it is obvious from the table you provided.
AUTO-BW for 5150-5350 MHz is also quite standard.
Things that are worth mentioning:
1. TPC requirements in the regulation and what was done to make the rule
compliant (as we don't support TPC)
2. Choice between indoor-only and indoor+outdoor rules when both exist
but with different requirements (database and Linux support only one
rule per band)
3. unique 5.8 GHz figure as you gave
Also:
* 5725-5875 MHz uses the higher of the two stated EIRP figures
(4000 mW for 20 MHz channels) since wireless-regdb expresses a
per-band ceiling, not a per-channel-width ceiling.
This is slightly wrong. wireless-regdb expresses a ceiling that makes
devices compliant with all regulations in all configurations. So if
there is a power spectral density that allows the maximum EIRP at
a wider channel, but a reduced EIRP at 20 MHz, we will use the reduced
number.
As for 10 MHz, I don't think it is supported, so we don't really consider
that case. I could be wrong though.
Johannes, could you shed some light on 10 MHz channel width support?
Thanks
ChenYu
> Mohammed
>
> From: Mohammed Abdalla [mailto:mnew_iraq at yahoo.com]
> Sent: Tuesday, May 5, 2026 7:12 PM
> To: wireless-regdb at lists.infradead.org; linux-wireless at vger.kernel.org
> Cc: Mohammed Abdullah Ali Al-Obaidi <Mohammed.Al-Obaidi at badraproject.com>
> Subject: [PATCH] wireless-regdb: add regulatory rules for Iraq (IQ)
>
> ## 1. Why this patch exists
>
> Iraq is currently absent from `wireless-regdb/db.txt`. As a
> consequence, every OpenWrt and Linux device set to `country=IQ`
> falls back to the world domain (`00`), which marks most of the
> 5 GHz spectrum as `no IR` and limits 2.4 GHz EIRP to 20 dBm. A
> public OpenWrt forum thread on the Archer AX23 in Iraq concluded
> with the maintainers' standard answer:
>
> > *"IQ is the correct code for the place; once an engineer shares
> > the local radio laws with regdb maintainers it will be added."*
>
> This patch is that contribution.
>
> ## 2. The primary source
>
> The Iraqi Communications and Media Commission (CMC), the national
> regulator, has issued a numerical regulation specifically governing
> unlicensed Wi-Fi, SRD, and UWB devices:
>
> - **Title:** Regulation on short-range radio communication devices
> (SRD) and devices using ultra-broadband (UWB) technology
> - **Issuer:** Republic of Iraq, CMC, Telecommunications Regulatory
> Department, International Relations Section
> - **Decree:** Council of Commissioners decision No. 122/q-2025
> - **In force from:** 2025-09-22
> - **Edition:** First edition, 2025; 26 pages
> - **Direct PDF:**
> <https://cmc.iq/wp-content/uploads/2025/09/Regulation-on-short-range-radio-communication-devices-SRD-and-devices-using-ultra-broadband-UWB-technology.pdf>
>
> Article 4-1-13 of that regulation, titled "Wireless Access Systems
> (WAS)", contains a full numerical table for every Wi-Fi band. This
> patch reproduces that table directly. Nothing in the proposed
> `country IQ:` block is inferred or extrapolated.
>
> ## 3. The Article 4-1-13 table, verbatim
>
> | Band | Use | Max EIRP | Required mitigations | Cited standard |
> |---|---|---|---|---|
> | 2400 – 2483.5 MHz | Indoor and outdoor | 100 mW | LBT and DAA | EN 300 328, ERC/REC 70-03 |
> | 5150 – 5250 MHz | Indoor | 200 mW | — | EN 301 893, ITU Res. 229 (Rev. WRC-19) |
> | 5250 – 5350 MHz | Indoor | 200 mW | — (DFS implied via EN 301 893) | EN 301 893 |
> | 5470 – 5725 MHz | Indoor | 1000 mW | DFS and TPC (stated explicitly) | EN 301 893 |
> | 5725 – 5875 MHz | Indoor and outdoor | 2000 mW (10 MHz ch) / 4000 mW (20 MHz ch) | — | EN 302 502 |
> | 5945 – 6425 MHz | Indoor | 200 mW | — | EN 303 687, ECC Report 75 |
> | 57000 – 66000 MHz | Indoor | 10000 mW | LBT and DAA | EN 302 567 |
>
> The proposed `country IQ:` block encodes this table line for line.
>
> ## 4. The Iraqi regulation also defines its own glossary terms
>
> For the avoidance of doubt, the regulation's Annex A explicitly
> defines `Wi-Fi` as *"802.11 Local Area Networking in 2.4 and 5 GHz
> ISM bands"*. So when the maintainers ask whether this regulation
> in fact covers Wi-Fi, the answer from the regulator is yes,
> in writing, in the regulation itself.
>
> The same annex defines DFS, TPC, LBT, DAA, EIRP and AFA in the
> exact wireless-regdb sense.
>
> ## 5. Encoding choices and where they came from
>
> A few wireless-regdb encoding details require explanation, because
> they are interpretations of the regulation's wording rather than
> direct copies of numerical limits:
>
> 1. **NO-OUTDOOR on 5150–5725 MHz.** The regulation labels these
> rows simply as "Indoor". The wireless-regdb idiom for that is
> the `NO-OUTDOOR` flag.
>
> 2. **No NO-OUTDOOR on 5725–5875 MHz.** The regulation explicitly
> labels this row "Indoor and outdoor".
>
> 3. **DFS on 5250–5350 MHz.** The regulation's own column for this
> row is empty for mitigations, but the cited standard
> (EN 301 893) requires DFS in this sub-band, and the corresponding
> row for 5470–5725 in the same table does state DFS+TPC. Reading
> the regulation as a whole, DFS for 5250–5350 is required by the
> incorporated standard.
>
> 4. **Single EIRP figure for 5725–5875 MHz.** The regulation gives
> two figures (2000 mW for 10 MHz channels, 4000 mW for 20 MHz
> channels). The wireless-regdb format expresses one ceiling per
> band; the 4000 mW figure is used because it is the higher value
> that the regulation explicitly permits.
>
> 5. **6 GHz channel width set to 80 MHz.** The regulation does not
> explicitly distinguish standard-power from low-power indoor
> (LPI) operation, nor does it mention AFC. The conservative
> choice is to encode the 6 GHz block at 80 MHz (the widest
> non-AFC option in current practice) and leave a follow-up patch
> for a wider channelisation once CMC clarifies AFC requirements.
>
> 6. **AUTO-BW on the 5 GHz RLAN rows.** Standard practice for
> EN 301 893–compliant entries; no AUTO-BW is set on the 6 GHz
> row pending the AFC question above.
>
> If the maintainers prefer a different encoding for any of these
> six points, please push back; the underlying regulatory text is
> clear and any of these can be re-encoded without changing what is
> actually permitted under Iraqi law.
>
> ## 6. The 5.8 GHz figure looks unusually high — it is intentional
>
> `(5725 - 5875 @ 80), (4000 mW)` with no NO-OUTDOOR is not a typo.
> This is what Iraq's own regulation states for this sub-band, citing
> EN 302 502. It is the BFWA value, not the Non-Specific SRD value.
> This choice puts Iraq at the high end of the regional spectrum
> policy for the 5.8 GHz band. It is included verbatim because the
> purpose of wireless-regdb is to reflect what each country's
> regulator actually permits.
>
> ## 7. What is not in the patch
>
> - **5850–5925 MHz ITS / V2X bands.** Article 4-1-8 of the same
> regulation covers ITS at 5855–5925 MHz with 2 W EIRP, but this
> is a non-Wi-Fi RLAN application and is outside the scope of
> what wireless-regdb usually encodes for `country` blocks.
>
> - **All non-Wi-Fi SRD bands.** The regulation also covers RFID,
> inductive applications, alarms, model control, automotive radar,
> level probing radar, hearing aids, active medical implants, and
> the full UWB regime (Articles 4-2-1 through 4-2-6). None of these
> is a wireless-regdb concern.
>
> - **6 GHz beyond 6425 MHz.** The Iraqi regulation only addresses
> 5945–6425 MHz at 6 GHz; the 6425–7125 MHz upper portion is not
> covered, and the patch therefore does not include it.
>
> ## 8. Submission checklist
>
> - [ ] Verify the patch applies cleanly against the current
> `wireless-regdb` master; the IQ block must be inserted in
> alphabetical order, between `IN` and `IR`.
> - [ ] Build `regulatory.db` locally and confirm with
> `regdbdump regulatory.db | grep -A8 'country IQ'` that the
> output matches the proposed table exactly.
> - [ ] Post the cover letter and patch on the OpenWrt forum thread
> (231380) for community review by Iraqi engineers before
> sending upstream.
> - [ ] Send to `linux-wireless at vger.kernel.org` with cc to
> `wireless-regdb at lists.infradead.org`.
>
> ## 9. A note on responsibility
>
> The numerical content of this patch is taken verbatim from a public
> Iraqi government regulation. The encoding choices listed in §5 are
> the patch author's, and they are reversible.
>
> Author: Mohammed Abdullah Ali Al-Obaidi (mnew_iraq at yahoo.com),
> OpenWrt forum handle `mnewiraq`. Any objection to the encoding
> choices should be raised to that author or in the upstream review
> thread, not to the CMC.
>
>
> CONFIDENTIALITY. This communication is intended exclusively for use by the addressee and may contain confidential and/or privileged information. If you receive this communication unintentionally please inform the sender by reply immediately and permanently delete it from your system; you should not copy this communication or disclose its contents to anyone.
More information about the wireless-regdb
mailing list