[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939330: firmware-brcm80211: BCM4350 rev 08 wifi card speeds decline to sluggish 50 kB/s consistently



Package: firmware-brcm80211
Version: 20190717-2
Severity: important

Dear Maintainer,

Recently I installed Debian Buster on a Dell XPS 13 9350 laptop, which
contains a BCM4350 rev. 08 wireless card. During the installation process I had
to grab one of the unofficial CD images containing the non-free firmware to get
that downloaded.

My internet has ~10MB/s upload/download speed, and on my other computers
the speeds are near this limit and are consistently at that speed.

However, usually speeds on this wireless card are abnormally at
100-200kB/s, sometimes as low as 30-50kB/s. Furthermore, it often
unpredictably switches between such low speeds and 1MB/s speed (which is
acceptable).

I first attempted to upgrade the firmware to their absolute latest versions,
which did not improve the situation. I also noticed that in the brcmfmac
description
that there's a file for rev. 5+ card but that brcmfmac is only loading the rev.
4 and
below card. I wonder if that might be part of the problem.

Anyway, here's some diagnostic information:

$ inxi -Fx
System:    Host: tttt4 Kernel: 4.19.0-5-amd64 x86_64 bits: 64 compiler: gcc v:
8.3.0 Desktop: Cinnamon 3.8.8
           Distro: Debian GNU/Linux 10 (buster)
Machine:   Type: Laptop System: Dell product: XPS 13 9350 v: N/A serial: <root
required>
           Mobo: Dell model: 07TYC2 v: A00 serial: <root required> UEFI: Dell
v: 1.10.1 date: 01/22/2019
Battery:   ID-1: BAT0 charge: 48.7 Wh condition: 51.5/57.5 Wh (89%) model: SMP
DELL JHXPY53 status: Unknown
CPU:       Topology: Dual Core model: Intel Core i5-6200U bits: 64 type: MT MCP
arch: Skylake rev: 3 L2 cache: 3072 KiB
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips:
19200
           Speed: 500 MHz min/max: 400/2800 MHz Core speeds (MHz): 1: 500 2:
500 3: 500 4: 500
Graphics:  Device-1: Intel HD Graphics 520 vendor: Dell Skylake GT2 driver:
i915 v: kernel bus ID: 00:02.0
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded:
fbdev,vesa resolution: 3200x1800~60Hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) v:
4.5 Mesa 18.3.6 direct render: Yes
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver:
snd_hda_intel v: kernel bus ID: 00:1f.3
           Sound Server: ALSA v: k4.19.0-5-amd64
Network:   Device-1: Broadcom Limited BCM4350 802.11ac Wireless Network Adapter
vendor: Dell driver: brcmfmac v: kernel
           port: f040 bus ID: 3a:00.0
           IF: wlp58s0 state: up mac: 30:52:cb:81:ef:1d
Drives:    Local Storage: total: 238.47 GiB used: 15.24 GiB (6.4%)
           ID-1: /dev/nvme0n1 vendor: Samsung model: PM951 NVMe 256GB size:
238.47 GiB
Partition: ID-1: / size: 225.49 GiB used: 14.94 GiB (6.6%) fs: ext4 dev:
/dev/nvme0n1p2
           ID-2: swap-1 size: 7.87 GiB used: 294.7 MiB (3.7%) fs: swap dev:
/dev/nvme0n1p3
Sensors:   System Temperatures: cpu: 39.0 C mobo: 27.8 C
           Fan Speeds (RPM): N/A
Info:      Processes: 240 Uptime: 11h 18m Memory: 7.66 GiB used: 3.03 GiB
(39.5%) Init: systemd runlevel: 5 Compilers:
           gcc: 8.3.0 clang: 7.0.1-8 Shell: bash v: 5.0.3 inxi: 3.0.32

$ sudo dmesg | grep brcm
[    4.511409] usbcore: registered new interface driver brcmfmac
[    4.511475] brcmfmac 0000:3a:00.0: enabling device (0000 -> 0002)
[    4.636428] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4350-pcie
for chip BCM4350/8
[    4.641489] brcmfmac 0000:3a:00.0: firmware: direct-loading firmware
brcm/brcmfmac4350-pcie.bin
[    4.641508] brcmfmac 0000:3a:00.0: firmware: failed to load
brcm/brcmfmac4350-pcie.txt (-2)
[    4.641576] brcmfmac 0000:3a:00.0: Direct firmware load for
brcm/brcmfmac4350-pcie.txt failed with error -2
[    4.981502] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-6412.hcd
(-2)
[    4.981532] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6412.hcd
failed with error -2
[    4.981534] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6412.hcd not found
[    5.085081] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4350-pcie
for chip BCM4350/8
[    5.085100] brcmfmac 0000:3a:00.0: firmware: failed to load
brcm/brcmfmac4350-pcie.clm_blob (-2)
[    5.085148] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available
(err=-2), device may have limited channels available
[    5.085405] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4350/8 wl0: Oct 22
2015 06:16:26 version 7.35.180.119 (r594535) FWID 01-e791c176
[    5.109605] brcmfmac 0000:3a:00.0 wlp58s0: renamed from wlan0
[ 4577.706990] (NULL device *): firmware: direct-loading firmware
brcm/brcmfmac4350-pcie.bin
[ 4579.525336] WARNING: CPU: 2 PID: 221 at
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c:77
brcmf_pno_remove_request+0xac/0xd0 [brcmfmac]
[ 4579.525336] Modules linked in: rfcomm fuse squashfs zstd_decompress xxhash
cmac loop bnep snd_hda_codec_hdmi joydev intel_rapl binfmt_misc btusb btrtl
btbcm btintel bluetooth nls_ascii nls_cp437 vfat fat x86_pkg_temp_thermal drbg
intel_powerclamp coretemp dell_laptop kvm_intel ansi_cprng snd_soc_skl
ecdh_generic kvm snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp dell_wmi
dell_smbios dcdbas wmi_bmof snd_hda_ext_core dell_wmi_descriptor irqbypass
snd_soc_acpi_intel_match crct10dif_pclmul crc32_pclmul snd_soc_acpi
snd_hda_codec_realtek brcmfmac ghash_clmulni_intel serio_raw intel_cstate
snd_hda_codec_generic intel_uncore snd_soc_core brcmutil intel_rapl_perf
snd_compress cfg80211 snd_hda_intel rtsx_pci_ms snd_hda_codec efi_pstore
memstick hid_multitouch snd_hda_core efivars rfkill snd_hwdep snd_pcm
[ 4579.525400] RIP: 0010:brcmf_pno_remove_request+0xac/0xd0 [brcmfmac]
[ 4579.525414]  brcmf_pno_stop_sched_scan+0x22/0x50 [brcmfmac]
[ 4579.525438]  brcmf_cfg80211_sched_scan_stop+0x28/0x60 [brcmfmac]
[ 4579.525443]  brcmf_cfg80211_suspend+0x303/0x340 [brcmfmac]
[ 4580.829563] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to
do.
[ 4580.829565] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to
do.
[ 4580.829566] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to
do.
[ 4580.829567] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to
do.
[ 4580.829572] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to
do.
[ 4580.829573] brcmfmac: brcmf_cfg80211_get_tx_power: error (-5)
[ 4581.363512] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to
do.
[ 4581.363574] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to
do.
[ 4581.363950] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to
do.
[ 4581.363953] brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5)
[ 4581.551912] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4350-pcie
for chip BCM4350/8
[ 4581.578029] brcmfmac 0000:3a:00.0: firmware: failed to load
brcm/brcmfmac4350-pcie.txt (-2)
[ 4581.578033] brcmfmac 0000:3a:00.0: Direct firmware load for
brcm/brcmfmac4350-pcie.txt failed with error -2
[ 4581.766962] bluetooth hci0: firmware: failed to load brcm/BCM-0a5c-6412.hcd
(-2)
[ 4581.766966] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6412.hcd
failed with error -2
[ 4581.766968] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6412.hcd not found
[ 4582.012803] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4350-pcie
for chip BCM4350/8
[ 4582.012822] brcmfmac 0000:3a:00.0: firmware: failed to load
brcm/brcmfmac4350-pcie.clm_blob (-2)
[ 4582.012826] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available
(err=-2), device may have limited channels available
[ 4582.013076] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4350/8 wl0: Oct 22
2015 06:16:26 version 7.35.180.119 (r594535) FWID 01-e791c176
[ 4582.046169] brcmfmac 0000:3a:00.0 wlp58s0: renamed from wlan0

NOTE: For lines [ 4577.706990] onward, these lines are occasionally logged
multiple times on dmesg
for different processes and/or different CPUs. Additionally, notice that
brcmfmac is attempting to
load 'brcm/brcmfmac4350-pcie.bin', but according to the firmware-brcm80211
package the file it
should be loading is `brcm/brcmfmac4350c2-pcie.bin` (which is the rev. 5+
firmware).

$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM
Registers [8086:1904] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 520
[8086:1916] (rev 07)
00:04.0 Signal processing controller [1180]: Intel Corporation Skylake
Processor Thermal Subsystem [8086:1903] (rev 08)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI
Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP
Thermal subsystem [8086:9d31] (rev 21)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP
Serial IO I2C Controller #0 [8086:9d60] (rev 21)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP
Serial IO I2C Controller #1 [8086:9d61] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP
CSME HECI #1 [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA
Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root
Port [8086:9d10] (rev f1)
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root
Port #5 [8086:9d14] (rev f1)
00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root
Port #6 [8086:9d15] (rev f1)
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root
Port #9 [8086:9d18] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller
[8086:9d48] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC
[8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio
[8086:9d70] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev
21)
3a:00.0 Network controller [0280]: Broadcom Limited BCM4350 802.11ac Wireless
Network Adapter [14e4:43a3] (rev 08)
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI
Express Card Reader [10ec:525a] (rev 01)
3c:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe
SSD Controller [144d:a802] (rev 01)


If there are any diagnostic information that I'm missing, please let me know.
Also if there's a better place for
this bug report then feel free to move it (part of the bug may be related to
brcmfmac which is directly part of the
Linux source).





-- System Information:
Debian Release: 10.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

firmware-brcm80211 depends on no packages.

firmware-brcm80211 recommends no packages.

Versions of packages firmware-brcm80211 suggests:
ii  initramfs-tools  0.133

-- no debconf information


Reply to: