[LEDE-DEV] regulatory domain information

Felix Fietkau nbd at nbd.name
Mon Oct 24 01:08:32 PDT 2016


On 2016-10-19 23:31, Charles wrote:
> Hello,
> 
> on a TP-Link WDR3600 v1 (dual-band wifi, ath9k, wireless settings are
> attached below, most notably wireless.radioX.country=DE), the output
> of command 'iw reg get' is
> 
> with OpenWrt 15.05.1:
> 
> country DE: DFS-ETSI
> 	(2400 - 2483 @ 40), (N/A, 20), (N/A)
> 	(5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR
> 	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS
> 	(5470 - 5725 @ 160), (N/A, 27), (0 ms), DFS
> 	(57000 - 66000 @ 2160), (N/A, 40), (N/A)
> 
> and with current LEDE:
> 
> global
> country DE: DFS-ETSI
> 	(2400 - 2483 @ 40), (N/A, 20), (N/A)
> 	(5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW
> 	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
> 	(5470 - 5725 @ 160), (N/A, 27), (0 ms), DFS
> 	(5725 - 5875 @ 80), (N/A, 14), (N/A)
> 	(57000 - 66000 @ 2160), (N/A, 40), (N/A)
> 
> phy#1
> country US: DFS-FCC
> 	(2402 - 2472 @ 40), (N/A, 30), (N/A)
> 	(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
> 	(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
> 	(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
> 	(5735 - 5835 @ 80), (N/A, 30), (N/A)
> 	(57240 - 63720 @ 2160), (N/A, 40), (N/A)
> 
> phy#0
> country US: DFS-FCC
> 	(2402 - 2472 @ 40), (N/A, 30), (N/A)
> 	(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
> 	(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
> 	(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
> 	(5735 - 5835 @ 80), (N/A, 30), (N/A)
> 	(57240 - 63720 @ 2160), (N/A, 40), (N/A)
> 
> global
> country DE: DFS-ETSI
> 	(2400 - 2483 @ 40), (N/A, 20), (N/A)
> 	(5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW
> 	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
> 	(5470 - 5725 @ 160), (N/A, 27), (0 ms), DFS
> 	(5725 - 5875 @ 80), (N/A, 14), (N/A)
> 	(57000 - 66000 @ 2160), (N/A, 40), (N/A)
> 
> Questions:
> 
> 1. Why does LEDE show four regulatory domain blocks while OpenWrt shows
>    only one?
This was added in Linux upstream. LEDE uses a newer version of mac80211.

> 2. What does the "country US: DFS-FCC" blocks tell me when radio is set
>    to an ETSI region country (DE) according to uci?
Please try the latest version from my staging tree at:
https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary

> 3. What does AUTO-BW mean?
It means maximum channel bandwidth is determined by the available
frequency range.

- Felix



More information about the Lede-dev mailing list