I'm using the NanoPi R1 with FriendlyWRT (latest version).

After configuring the device according to my needs, I started it for a 24/7 service.

It happened several times, that 1 to 2 days after a reboot the wlan driver brcmfmac panics. The logs contain the following entries:

Code: Select all

Fri Apr 24 00:39:10 2020 kern.err kernel: [118400.050207] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Fri Apr 24 00:39:10 2020 kern.err kernel: [118400.059331] ieee80211 phy0: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-110
Fri Apr 24 00:39:12 2020 kern.err kernel: [118402.570336] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Fri Apr 24 00:39:12 2020 kern.err kernel: [118402.579423] ieee80211 phy0: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-110
Fri Apr 24 00:39:15 2020 kern.err kernel: [118405.090498] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Fri Apr 24 00:39:15 2020 kern.err kernel: [118405.099634] ieee80211 phy0: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST unsupported, err=-110


This is curious, because wlan is deactivated. This is my /etc/config/wireless:

Code: Select all

config wifi-device 'radio0'
   option type 'mac80211'
   option channel '11'
   option hwmode '11g'
   option path'platform/soc/1c10000.mmc/mmc_host/mmc2/mmc2:0001/mmc2:0001:1'
   option htmode 'HT20'
   option disabled '1'

config wifi-iface 'default_radio0'
   option device 'radio0'
   option network 'lan'
   option mode 'ap'
   option ssid 'OpenWrt'
   option encryption 'none'


As soon as the log entries appear the device reacts very slow. The timeouts with voip connects increase.

Is there a possibility to totally deactivate the wlan hardware? With a Raspberry 4B I can add the line "dtoverlay=disable-wifi" to the file /boot/config.txt. This way the brcmfmac driver isn't loaded at all.