6GHZ band limited to 5dBm

I built OpenWrt from 24.10.1 tag with this patch: openwrt/package/kernel/mt76/patches/999-tx-power-fix.patch at 47008eabacd48602d94ea0f3ba01fe2c79d70f81 · pmarques/openwrt · GitHub The 2.4GHz and 5GHz works well, until 27dBm, but 6GHz still appears as just 5dBm.

That’s a limitation of the patch, or the board itself?

BTW, I have a BE14 wifi card.

Thanks for any help

Hi, That’s common bug. You can take this patch which should help you. Even mtk build is buggy - it does not respect lower value, always use max.

@danpawlik I found a very strange workaround: set 6GHz to Japan. Now I can get 23dBm. I also had to set 5GHz to Japan because it seems it doesn’t work if these two radios are in different configurations. Do you know why is that? BTW, gonna apply your patch right now.

Without knowing your country, I suspect the limitation is based in the Wireless RegDB.

edit; I have this patch on my local built openwrt images. The number in the parentheses is the radiation limit.

--- a/db.txt	2025-04-23 14:43:33.484352226 +0000
+++ b/db.txt	2025-04-23 14:44:03.527262081 +0000
@@ -1950,10 +1950,10 @@
 	(5730 - 5850 @ 80), (30), AUTO-BW
 	# https://www.federalregister.gov/documents/2021/05/03/2021-08802/use-of-the-5850-5925-ghz band
 	# max. 33 dBm AP @ 20MHz, 36 dBm AP @ 40Mhz+, 6 dB less for clients
-	(5850 - 5895 @ 40), (27), NO-OUTDOOR, AUTO-BW, NO-IR
+	(5850 - 5895 @ 40), (27), NO-OUTDOOR, AUTO-BW
 	# 6g band
 	# https://www.federalregister.gov/documents/2020/05/26/2020-11236/unlicensed-use-of-the-6ghz-band
-	(5925 - 7125 @ 320), (12), NO-OUTDOOR, NO-IR
+	(5925 - 7125 @ 320), (27), NO-OUTDOOR
 	# 60g band
 	# reference: section IV-D https://docs.fcc.gov/public/attachments/FCC-16-89A1.pdf
 	# channels 1-6 EIRP=40dBm(43dBm peak)

Sorry, I thought that I said. I’m from Brazil. I started thinking about some kind of maximum dBm, like 60, that should be split between the three bands.

np, I’m just a lowly user here trying to navigate this BE14000 craziness too.

Here is the wireless regdb entry for BR.

# Source:
# https://www.gov.br/anatel/pt-br/regulado/radiofrequencia/radiacao-restrita
# https://informacoes.anatel.gov.br/legislacao/resolucoes/2017/936-resolucao-680
# https://informacoes.anatel.gov.br/legislacao/atos-de-certificacao-de-produtos/2017/1139-ato-14448
country BR: DFS-FCC
	(2400 - 2483.5 @ 40), (30)
	# The next three ranges have been reduced by 3dB, could be increased
	# to 30dBm if TPC is implemented.
	(5150 - 5250 @ 80), (27), NO-OUTDOOR, AUTO-BW
	(5250 - 5350 @ 80), (27), NO-OUTDOOR, DFS, AUTO-BW
	(5470 - 5725 @ 160), (27), DFS, AUTO-BW
	(5725 - 5850 @ 80), (30), AUTO-BW
	(5925 - 7125 @ 320), (12), NO-OUTDOOR, NO-IR
	# EIRP=40dBm (43dBm peak)
	(57000 - 71000 @ 2160), (40)

Seems that your 6ghz is also marked as NO-IR and limited to 12db? Like in my US patch, I’d remove the NO-IR and make the (12) align to your country’s requirement.

The US NO-IR is there because its for clients (not access points). So my use case doesn’t interfere with local laws.

I found this too. I sent an email for wireless-regdb mailing list so they can change this. There are newer laws in place, and I don’t think anyone of them blocks the use of 6GHz band.

As others wrote, you’ll have to update regdomain database. I did so for my countrycode as well. Data in it is outdated, depend on DSF which itself doesn’t work reliably.

You still have to abide to laws, like avoiding too high broadcast power and specific channels (meteo radars, military comms).

Thanks, I researched the current rules and submitted a patch to wireless-regdb.

1 Like

I made a patch to enable 6GHz and worked like a charm. I can even connect with my smartphone, but just if it’s in AX mode. BE mode isn’t recognized. I understand that my smartphone doesn’t support Wi-Fi 7, just 6E, but I’m wondering why it doesn’t downgrade from BE to AX. But it seems to be a OpenWrt-problem, not a Banana Pi one.

Could you share your wireless config ?

I found the problem. It is my smartphone. If I set to BE and 160MHz, it detects the network and connects. But if I set to 320MHz it doesn’t work at all. If you still want, here is my config file:

root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '0'
        option band '2g'
        option channel '8'
        option htmode 'EHT40'
        option country 'BR'
        option cell_density '0'
        option txpower '27'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt-2G'
        option encryption 'psk2'
        option key 'HappyPassword'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '1'
        option band '5g'
        option channel '48'
        option htmode 'EHT160'
        option country 'BR'
        option cell_density '0'
        option txpower '27'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt-5G'
        option encryption 'sae'
        option key 'HappyPassword'
        option ocv '0'

config wifi-device 'radio2'
        option type 'mac80211'
        option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option radio '2'
        option band '6g'
        option channel '9'
        option htmode 'EHT320'
        option country 'BR'
        option cell_density '0'

config wifi-iface 'default_radio2'
        option device 'radio2'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt-6G'
        option encryption 'sae'
        option key 'HappyPassword'
        option ocv '1'

I want to create new bridges, and APs for IoT devices, and guest network, but this is a WiP.

Sometimes it is worth to try image build with mtk feed - there are few patches related to BE standard. Also in that build speed on BE on Qualcomm devices is not like 40mbit with big latency, but it works normal. Ah! WED is working there perfect without limiting RAM to 2GB

On the beginning I was thinking that it is mac80211.sh script issue, but seems not. Some parameters can be added, speed would be better but no fireworks. More in this issue WiFi Speed Banana BPI-R4 issue ( Qualcomm Chips ) · Issue #17715 · openwrt/openwrt · GitHub