Raspberry Pi AP not working (anymore)

Hello

I encountered a strange situation while using OpenWrt on Raspberry Pi. I used the same setup with an older version of OpenWrt and it worked fine. Since I am trying to use a newer version on OpenWrt I am not able to use Rasperry Pi 3B as an AP.

First I setup the new installation over the ethernet port and enable the wifi on the Raspberry. After doing this, I can connect no it over wifi, Raspberry as AP.

After reboot, I see the wifi, but cannot connect. Here is my config:

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'platform/soc/3f300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
	option channel '6'
	option band '2g'
	option legacy_rates '1'
	option cell_density '0'
	option country 'DE'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'xx'
	option encryption 'psk2'
	option key 'xx'

And here is the dmesg error of the computer trying to connect

Connection to AP aa:bb:cc:dd:00:11 lost
80 MHz not supported, disabling VHT
authenticate with aa:bb:cc:dd:00:11 (local address=11:22:33:44:55:66)
send auth to aa:bb:cc:dd:00:11 (try 1/3)
authenticated
associate with aa:bb:cc:dd:00:11 (try 1/3)
RX AssocResp from aa:bb:cc:dd:00:11 (capab=0x411 status=0 aid=1)
associated
Connection to AP aa:bb:cc:dd:00:11 lost
80 MHz not supported, disabling VHT

In the older OpenWrt I had the following config, that worked stable:

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'platform/soc/3f300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
	option htmode 'HT20'
	option disabled '0'
	option txpower '14'
	option cell_density '0'

Thanks in advance

Claudio

Set wifi country code. HT20 mode, and disable legacy rates.

Hi, thank you for your hint. Tried it out, but same as before. The wifi sign is grayed out (on the computer), dmesg goes into endless loop of the error above. 80 MHz not supported, disabling VHT ...

What greyed out where? What is the client trying 80MHz rates in 2.4GHz band?

I first tried with country code 'DE'. That did not work, but when I change to 'US', it is working. The following config seems to be doing the job:

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'platform/soc/3f300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
	option channel '6'
	option band '2g'
	option cell_density '0'
	option country 'US'
	option htmode 'HT20'

It depends on broadcom firmware, small chance raspbian or android aosp contains "better" firmware files for wifi adapter.

its working halfway. Usally it does, sometimes the AP comes up, but it is not possible to connect to it. After reboot it is usually working again. Seems like the raspberry wifi driver / firmware was better before :wink:

if you know what openwrt version you used before, you could try to downgrade the BCM firmware file, using the one from the old release.

1 Like