Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2188 - iw reg get confusing output #6020

Open
openwrt-bot opened this issue Mar 15, 2019 · 0 comments
Open

FS#2188 - iw reg get confusing output #6020

openwrt-bot opened this issue Mar 15, 2019 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

kroeckx:

I get:

iw reg get

global
country BE: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(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)

But it seems to me that that output is confusing. It's reporting the country as US for both the phys, but it actually seems to be using the global settings for BE. I've tried changing the output power to 23, but it's limiting it to 20, even though it seems to claim that other settings are in use. "iw phy phy0 info" is also reporting the correct power levels and which channels are available. If I change the global setting to US using "iw reg set US", it will actually let me set the power level to 23. My config actually lists BE for both radios. I'm not sure there is actually a way to set different values for the phys.

I'm pretty sure that both radio's where set to BE before, but at some point it was listing US for both of them in the luci status (on cgi-bin/luci/admin/network/wireless/radio0.network1). It seems that for some reason it changed one of them from BE to US, and then both ended up showing as US, even when one was still configured as BE. I'm not sure it's related to the above or not.

This is on a Ubiquiti UniFi-AC-MESH using 18.06.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant