Skip to contentSkip to conversation

wireless-regdb: Update and disable 5470-5730MHz band according to TPC requirement for Singapore (SG)

PATCH Applied Andrew Yong 4 participants 7 messages Jan 12, 2024 – Feb 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wireless-regdb: Update and disable 5470-5730MHz band according to TPC requirement for Singapore (SG)

- Use original regulation Tx power of 1000mW with TPC for 5470-5730MHz band instead of -3dBm offset without TPC
- Comment out 5470 - 5730 band to disable it since TPC is not implemented

---
 db.txt | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
db.txt +2 -4
index 15b439d..ed76600 100644
@@ -1594,10 +1594,7 @@ country SE: DFS-ETSI
 # 5725 - 5850 MHz: IMDA TS SRD, Table 1 Sub-band 35
 # 5945 - 6425 MHz: IMDA TS SRD, Table 1 Sub-band 45b
 # 57000 - 66000 MHz: IMDA TS SRD, Table 1 Sub-band 40
-# Note: 500mW for 5470-5725MHz bands per FCC Part 15 Section 15.407 (2) 5.47-5.725 GHz as referenced by IMDA TS SRD
-#  AU and BG regulatory domains use the same interpretation of cited FCC and ETSI standards
 # Note: The transmit power for 5250-5350MHz bands can be raised (by 3dBm) to 200mW when TPC is implemented: IMDA TS SRD, Table 1 Sub-band 33a
-# Note: The transmit power for 5470-5725MHz bands can be raised (by 3dBm) to 1000mW when TPC is implemented: IMDA TS SRD Table 1 Sub-band 34
 
 country SG: DFS-FCC
 	(2400 - 2483.5 @ 40), (200 mW)
@@ -1607,7 +1604,8 @@ country SG: DFS-FCC
         # Since 5725 ~ 5730 MHz belongs to the next range which has looser
         # requirements, we can extend the range by 5 MHz to make the kernel
         # happy and be able to use channel 144.
-	(5470 - 5730 @ 160), (500 mW), DFS
+	# 5470 - 5730 requires (unimplemented) TPC per legislation
+        #(5470 - 5730 @ 160), (1000 mW), DFS
 	(5725 - 5850 @ 80), (1000 mW)
 	(5945 - 6425 @ 320), (250 mW), NO-OUTDOOR
 	(57000 - 66000 @ 2160), (10000 mW)
Signature · 1 line
2.43.0
Applied
#1 lore raw
Quoted 4 lines · Andrew Yong

- Use original regulation Tx power of 1000mW with TPC for 5470-5730MHz band instead of -3dBm offset without TPC
- Comment out 5470 - 5730 band to disable it since TPC is not implemented

Applied, thanks!

[1/1] wireless-regdb: Update and disable 5470-5730MHz band according to TPC requirement for Singapore (SG)

      commit: d695bf21d1cdf02e64924f452c242f7588469609

Best regards,

Signature · 1 line
Chen-Yu Tsai <[email protected]>
#2 lore raw

Good day, Chen-Yu,

I've received confirmation from the authority (IMDA Singapore) that the original interpretation, 3 dBm EIRP reduction may be used in lieu of TPC support, is allowed.

I'm not sure the right process to cite these communications to the mailing list; I'll do the following, hopefully it makes sense:

1. I'll send on this thread, but without CC, the relevant emails from the authority for your review
2. I'll send a separate PR reverting the change with just the relevant text from the emails from the authority quoted, citing this email on the mailing list

Cheers,
Andrew

Quoted 17 lines · Chen-Yu Tsai
Quoted 4 lines · Andrew Yong

- Use original regulation Tx power of 1000mW with TPC for 5470-5730MHz band instead of -3dBm offset without TPC
- Comment out 5470 - 5730 band to disable it since TPC is not implemented

Applied, thanks!

[1/1] wireless-regdb: Update and disable 5470-5730MHz band according to TPC requirement for Singapore (SG)

      commit: d695bf21d1cdf02e64924f452c242f7588469609

Best regards,
--
Chen-Yu Tsai <[email protected]>

#3 lore raw

PATCH 1/1 wireless-regdb: Correct format of AU definitions for genregdb.awk

In reply to Andrew Yong

In integrating the latest regdb package, I noted that the September '23 updates for AU resulted in the loss of definitions for 2.4GHz and beyond. The blank lines added in the previous patch cause the termination of the record processing in the genregdb.awk code generator.

I have attached the patch to correct this issue.

Lawrence Tuck ([email protected])
Avaya LLC

--

db.txt +0 -9
index fdc2c13..3800ae0 100644
@@ -134,33 +134,24 @@ country AU: DFS-ETSI
 	# Item 58
 	(915 - 920 @ 4), (1000 mW)
 	(920 - 928 @ 8), (1000 mW)
-
 	# Item 59
 	(2400 - 2483.5 @ 40), (4000 mW)
-
 	# Item 61
 	(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW
-
 	# Item 62 (200 mW allowed if TPC is used)
 	(5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, AUTO-BW, DFS
-
 	# Item 63(a) (1000 mW with TPC)
 	(5470 - 5600 @ 80), (500 mW), DFS
-
 	# Item 63(b) (1000 mW with TPC)
 	# The end is 5725 but we borrow 5 MHz from the following less restrictive band
 	# so we can get an 80 MHz channel.
 	(5650 - 5730 @ 80), (500 mW), DFS
-
 	# Item 60
 	(5730 - 5850 @ 80), (4000 mW), AUTO-BW
-
 	# Item 22
 	(5850 - 5875 @ 20), (25 mW), AUTO-BW
-
 	# Item 63AA (25 mW if outdoors)
 	(5925 - 6425 @ 160), (250 mW), NO-OUTDOOR
-
 	# Item 65
 	(57000 - 71000 @ 2160), (20000 mW), NO-OUTDOOR
 
#4 lore raw

Re: [PATCH] wireless-regdb: Correct format of AU definitions for genregdb.awk

Hi,

Quoted 1 line

in the genregdb.awk code generator.

Bit confused, where is that generator? And why not just fix the issue there?

johannes

#5 lore raw

Re: [PATCH] wireless-regdb: Correct format of AU definitions for genregdb.awk

Quoted 6 lines · Johannes Berg

Hi,

Quoted 1 line

in the genregdb.awk code generator.

Bit confused, where is that generator? And why not just fix the issue there?

Oh, you're thinking of the *ancient* kernel thing? That got removed in kernel 4.15, and even the old 4.14 longterm is now EOL...

I'd say we don't really need to support that upstream this many years later.

johannes

#6 lore raw

RE: [External]Re: [PATCH] wireless-regdb: Correct format of AU definitions for genregdb.awk

Your point is well taken. I AM dealing with a legacy embedded product that is pre-4.15. I agree with your position and will get my linux support team to look into patching the generator.

Thanks,
Lawrence

-----Original Message-----
From: Johannes Berg <[email protected]>
Sent: Tuesday, January 23, 2024 3:04 AM
To: Tuck, Lawrence J C (Lawrence) <[email protected]>; [email protected]
Subject: [External]Re: [PATCH] wireless-regdb: Correct format of AU definitions for genregdb.awk

[External Sender]

Quoted 6 lines · Johannes Berg

Hi,

Quoted 1 line

in the genregdb.awk code generator.

Bit confused, where is that generator? And why not just fix the issue there?

Oh, you're thinking of the *ancient* kernel thing? That got removed in kernel 4.15, and even the old 4.14 longterm is now EOL...

I'd say we don't really need to support that upstream this many years later.

johannes