[opensuse-bugs] [Bug 1179367] New: Driver brcmfmac for Broadcom 43430 or firmware does not use channel 12 and 13 on WiFi 2.4GHz
https://bugzilla.suse.com/show_bug.cgi?id=1179367 Bug ID: 1179367 Summary: Driver brcmfmac for Broadcom 43430 or firmware does not use channel 12 and 13 on WiFi 2.4GHz Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: aarch64 OS: openSUSE Leap 15.2 Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: werner@suse.com QA Contact: qa-bugs@suse.de CC: cfamullaconrad@suse.com, dleuenberger@suse.com, karol@babioch.de, mpluskal@suse.com Depends on: 1179308 Found By: --- Blocker: --- Meanwhile I've installed the missing package wireless-regdb and build and installed the package crda, also I'm abel to set the country code to DE and allow to use the channels 12 and 13 in the 2.4GHz area. This is reported by ``iwlist``: smartmeter:~ # iwlist wlan0 channel wlan0 13 channels in total; available frequencies : Channel 01 : 2.412 GHz Channel 02 : 2.417 GHz Channel 03 : 2.422 GHz Channel 04 : 2.427 GHz Channel 05 : 2.432 GHz Channel 06 : 2.437 GHz Channel 07 : 2.442 GHz Channel 08 : 2.447 GHz Channel 09 : 2.452 GHz Channel 10 : 2.457 GHz Channel 11 : 2.462 GHz Channel 12 : 2.467 GHz Channel 13 : 2.472 GHz Nevertheless the brcmfmac driver does not see my router on channel 13, nor channel 12 of any of my neighbours, the highest channel reported by e.g. the command ``nmcli dev wifi list`` I open this bug because there are reports that in principle the hardware Broadcom 43430 does support channels above channel 11 as seen here https://github.com/raspberrypi/linux/issues/1355 +++ This bug was initially created as a clone of Bug #1179308 +++ this fact leads even after adding the line options cfg80211 ieee80211_regdom=DE in /etc/modprobe.d/99-local.conf and reloading both cfg80211 and brcmfmac kernel modules ... in the kernel logs I see: [ 9360.888829] usbcore: deregistering interface driver brcmfmac [ 9378.151397] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 9378.152331] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 9378.152533] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 9378.152545] cfg80211: failed to load regulatory.db [ 9382.598023] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 9382.598335] usbcore: registered new interface driver brcmfmac [ 9382.725940] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 9382.726020] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 9382.726514] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f in other words theregulatory.bin is missed, compare with https://forum-raspberrypi.de/forum/thread/34332-rpi3-trotz-kernel-4-4-50-kei... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179367 https://bugzilla.suse.com/show_bug.cgi?id=1179367#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1179308 --- Comment #1 from Dr. Werner Fink <werner@suse.com> --- SOme more output ... this on is triggered by iw reg set US iw reg set DE Nov 28 13:19:28 smartmeter kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database Nov 28 13:19:28 smartmeter kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' Nov 28 13:19:30 smartmeter kernel: ieee80211 phy0: brcmf_bus_started: failed: -110 Nov 28 13:19:30 smartmeter kernel: ieee80211 phy0: brcmf_attach: dongle is not responding: err=-110 Nov 28 13:20:39 smartmeter kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database Nov 28 13:20:39 smartmeter kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179367 https://bugzilla.suse.com/show_bug.cgi?id=1179367#c2 --- Comment #2 from Dr. Werner Fink <werner@suse.com> --- Found a workaround after comparing our kernel source tree for Leap 15.2 with that from https://github.com/raspberrypi/linux.git by doing git clone https://github.com/raspberrypi/linux.git rpi-kernel diff -uNrp linux/drivers/net/wireless/broadcom/brcm80211/ \ rpi-kernel/drivers/net/wireless/broadcom/brcm80211/ I've simply changed the value of the tag "ccode" in the NVRAM file diff -up /lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.back \ /lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt --- /lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt.orig +++ /lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt @@ -15,7 +15,7 @@ btc_params1=0x7530 btc_params8=0x4e20 cckbw202gpo=0 cckpwroffset0=5 -ccode=ALL +ccode=DE # cldo_pwm is not set deadman_to=0xffffffff devid=0x43e2 then run modprobe -r brcmfmac modprobe -r cfg80211 modprobe brcmfmac and it works! This is a bug below drivers/net/wireless/broadcom/brcm80211/ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179367 https://bugzilla.suse.com/show_bug.cgi?id=1179367#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> --- Is there a reason why this https://patchwork.kernel.org/project/linux-wireless/patch/20171006135532.295... does not work with as least the brcmfmac driver kerne module? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179367 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mbrugger@suse.com, | |nsaenzjulienne@suse.com, | |tiwai@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179367 https://bugzilla.suse.com/show_bug.cgi?id=1179367#c4 --- Comment #4 from Takashi Iwai <tiwai@suse.com> --- (In reply to Dr. Werner Fink from comment #3)
Is there a reason why this
https://patchwork.kernel.org/project/linux-wireless/patch/20171006135532. 29550-2-johannes@sipsolutions.net/
does not work with as least the brcmfmac driver kerne module?
The patch was merged in 4.17, so it must be effective in Leap 15.2 kernel. The feature is in cfg80211, and it should be independent from brcmfmac... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179367 https://bugzilla.suse.com/show_bug.cgi?id=1179367#c6 Matthias Brugger <mbrugger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #6 from Matthias Brugger <mbrugger@suse.com> --- I'm closing this as it is reported on an outdate version. If this happens with newer version please re-open and update. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com