You are not logged in.

#1 2019-05-03 03:27:32

redboot
Member
Registered: 2019-05-03
Posts: 2

[SOLVED] Wifi is very slow: Broadcom BCM43228 with b43 / bcma

When I switched to arch, at first my wifi was not working. I figured that was because I had to install a specific driver. My wifi card is broadcom's BCM43228. I figured that the driver needed was b43 so I installed b43-firmware-classic from aur. Now, my wifi is working but it is much slower that it used to be on Ubuntu with the same hardware (I get less than 1 Mb/s most of the time).

I also installed crda and configured regdomain, so there should not be a problem with that.

Broadcom wireless page said that I have to blacklist the bcma module if b43 is being used, so I did that, but since b43 is using bcma the wifi stopped working again, and whitelisted it back.

Here is some useful output (maybe).
lspci -vv

02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n
	Subsystem: Dell BCM43228 802.11a/b/g/n
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at f7d00000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: bcma-pci-bridge
	Kernel modules: bcma

lsmod

Module                  Size  Used by
ccm                    20480  3
arc4                   16384  2
b43                   450560  0
cordic                 16384  1 b43
mac80211              950272  1 b43
cfg80211              798720  2 b43,mac80211
ssb                    90112  1 b43
pcmcia                 73728  1 ssb
pcmcia_core            32768  1 pcmcia
bcma                   65536  1 b43
snd_hda_codec_hdmi     65536  1
snd_hda_codec_idt      65536  1
snd_hda_codec_generic    90112  1 snd_hda_codec_idt
joydev                 28672  0
mousedev               24576  0
i915                 2166784  14
intel_rapl             28672  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
kvm_intel             311296  0
kvmgt                  32768  0
vfio_mdev              16384  0
mdev                   24576  2 kvmgt,vfio_mdev
vfio_iommu_type1       32768  0
vfio                   36864  3 kvmgt,vfio_mdev,vfio_iommu_type1
crct10dif_pclmul       16384  1
kvm                   745472  2 kvmgt,kvm_intel
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
snd_hda_intel          45056  3
irqbypass              16384  1 kvm
i2c_algo_bit           16384  1 i915
uvcvideo              114688  0
drm_kms_helper        208896  1 i915
snd_hda_codec         155648  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
videobuf2_vmalloc      20480  1 uvcvideo
snd_hda_core           98304  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
iTCO_wdt               16384  0
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_hwdep              16384  1 snd_hda_codec
dell_laptop            24576  0
iTCO_vendor_support    16384  1 iTCO_wdt
aesni_intel           372736  2
mei_wdt                16384  0
btusb                  57344  0
snd_pcm               135168  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
ledtrig_audio          16384  2 snd_hda_codec_generic,dell_laptop
ppdev                  24576  0
dell_wmi               20480  0
wmi_bmof               16384  0
sparse_keymap          16384  1 dell_wmi
btrtl                  20480  1 btusb
dell_smbios            32768  2 dell_wmi,dell_laptop
btbcm                  16384  1 btusb
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios
btintel                28672  1 btusb
snd_timer              40960  1 snd_pcm
dcdbas                 20480  1 dell_smbios
drm                   499712  5 drm_kms_helper,i915
videobuf2_v4l2         28672  1 uvcvideo
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
bluetooth             651264  5 btrtl,btintel,btbcm,btusb
videobuf2_common       57344  2 videobuf2_v4l2,uvcvideo
glue_helper            16384  1 aesni_intel
psmouse               172032  0
dell_smm_hwmon         16384  0
snd                   102400  14 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt
intel_cstate           16384  0
videodev              229376  3 videobuf2_v4l2,uvcvideo,videobuf2_common
intel_uncore          135168  0
intel_gtt              24576  1 i915
intel_rapl_perf        16384  0
tpm_tis                16384  0
pcspkr                 16384  0
input_leds             16384  0
tpm_tis_core           24576  1 tpm_tis
i2c_i801               36864  0
media                  57344  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
agpgart                53248  2 intel_gtt,drm
soundcore              16384  1 snd
lpc_ich                28672  0
syscopyarea            16384  1 drm_kms_helper
e1000e                282624  0
tpm                    69632  2 tpm_tis,tpm_tis_core
sysfillrect            16384  1 drm_kms_helper
ecdh_generic           24576  1 bluetooth
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
rng_core               16384  2 b43,tpm
mei_me                 45056  1
parport_pc             53248  0
wmi                    32768  4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
mei                   118784  3 mei_wdt,mei_me
parport                61440  2 parport_pc,ppdev
evdev                  24576  14
pcc_cpufreq            20480  0
mac_hid                16384  0
dell_rbtn              20480  1
rfkill                 28672  6 bluetooth,dell_laptop,dell_rbtn,cfg80211
dell_smo8800           20480  0
battery                24576  0
ac                     16384  0
ip_tables              32768  0
x_tables               49152  1 ip_tables
ext4                  749568  3
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  131072  1 ext4
fscrypto               32768  1 ext4
sd_mod                 57344  5
serio_raw              20480  0
ahci                   40960  4
atkbd                  36864  0
libahci                40960  1 ahci
libps2                 20480  2 atkbd,psmouse
libata                278528  2 libahci,ahci
scsi_mod              253952  2 sd_mod,libata
sdhci_pci              49152  0
xhci_pci               20480  0
cqhci                  32768  1 sdhci_pci
crc32c_intel           24576  6
sdhci                  65536  1 sdhci_pci
xhci_hcd              262144  1 xhci_pci
mmc_core              176128  5 b43,sdhci,ssb,cqhci,sdhci_pci
ehci_pci               20480  0
ehci_hcd               94208  1 ehci_pci
i8042                  32768  1 dell_laptop
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

dmesg | grep firmware

[    1.921741] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[    2.281846] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[    4.758510] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)

dmesg | grep cfg80211

[    1.649248] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.653593] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

Last edited by redboot (2019-05-03 06:54:43)

Offline

#2 2019-05-03 06:54:25

redboot
Member
Registered: 2019-05-03
Posts: 2

Re: [SOLVED] Wifi is very slow: Broadcom BCM43228 with b43 / bcma

Alright, I figured it out.
As an alternative for this WiFi card you can use broadcom-wl (or broadcom-wl-dkms) package with the wl driver. It will only work after blacklisting bcma and b43 if they are present, and then rebooting.
This bumped my wifi speed up by around 50 times.
Notice that it will also change the name of the wlan interface.

Offline

Board footer

Powered by FluxBB