BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] Not consistently working

Asked by Max Wei on 2019-01-04

I have installed Ubuntu 18.04 LTS onto my old Macbook Pro (MId-2010) and can not get the WiFi to work. The WiFI would not detect anything at times. I am noticing that the WiFi seems to work flawlessly when at home, even after rebooting and hibernating the Macbook Pro multiple times. However, once I bring my Macbook Pro to work with me and bring it back from hibernation state, the WiFi would not detect anything although there are networks around. The WiFi did detect several networks while at work once and then I could never get the WIFi to work properly again since then. I also have a Verizon MiFi with me that I was planning to connect and it would not detect it at work, it does detect the MiFi at home though. Please advise.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2019-01-04
Last reply:
2019-02-13
Max Wei (mwei19) said : #1

##### lsmod #############################

b43 413696 0
bcma 57344 1 b43
mac80211 778240 1 b43
cfg80211 622592 2 b43,mac80211
mxm_wmi 16384 1 nouveau
wmi 24576 2 mxm_wmi,nouveau
ssb 57344 1 b43

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### iwconfig ##########################

lo no wireless extensions.

enp3s0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:off/any
          Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Power Management:off

##### module infos ######################

[b43]
filename: /lib/modules/4.15.0-43-generic/kernel/drivers/net/wireless/broadcom/b43/b43.ko
firmware: b43/ucode9.fw
firmware: b43/ucode42.fw
firmware: b43/ucode40.fw
firmware: b43/ucode5.fw
firmware: b43/ucode30_mimo.fw
firmware: b43/ucode33_lcn40.fw
firmware: b43/ucode29_mimo.fw
firmware: b43/ucode26_mimo.fw
firmware: b43/ucode25_mimo.fw
firmware: b43/ucode25_lcn.fw
firmware: b43/ucode24_lcn.fw
firmware: b43/ucode16_mimo.fw
firmware: b43/ucode16_lp.fw
firmware: b43/ucode15.fw
firmware: b43/ucode14.fw
firmware: b43/ucode13.fw
firmware: b43/ucode11.fw
license: GPL
author: Rafał Miłecki
author: Gábor Stefanik
author: Michael Buesch
author: Stefano Brivio
author: Martin Langer
description: Broadcom B43 wireless driver
srcversion: 9F0109CA3DBCBC74B77ACE8
depends: mac80211,ssb,bcma,cfg80211
retpoline: Y
intree: Y
name: b43
vermagic: 4.15.0-43-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int)
parm: fwpostfix:Postfix for the .fw files to load. (string)
parm: hwpctl:Enable hardware-side power control (default off) (int)
parm: nohwcrypt:Disable hardware encryption. (int)
parm: hwtkip:Enable hardware tkip. (int)
parm: qos:Enable QOS support (default on) (int)
parm: btcoex:Enable Bluetooth coexistence (default on) (int)
parm: verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int)
parm: pio:Use PIO accesses by default: 0=DMA, 1=PIO (int)
parm: allhwsupport:Enable support for all hardware (even it if overlaps with the brcmsmac driver) (int)

[bcma]
filename: /lib/modules/4.15.0-43-generic/kernel/drivers/bcma/bcma.ko
license: GPL
description: Broadcom's specific AMBA driver
srcversion: F4DB57748318105D28C557A
depends:
retpoline: Y
intree: Y
name: bcma
vermagic: 4.15.0-43-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4

[mac80211]
filename: /lib/modules/4.15.0-43-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 10B87D6D65DDD085D1326C9
depends: cfg80211
retpoline: Y
intree: Y
name: mac80211
vermagic: 4.15.0-43-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename: /lib/modules/4.15.0-43-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 62FD05DCC5AEEA290640C3D
depends:
retpoline: Y
intree: Y
name: cfg80211
vermagic: 4.15.0-43-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

[ssb]
filename: /lib/modules/4.15.0-43-generic/kernel/drivers/ssb/ssb.ko
license: GPL
description: Sonics Silicon Backplane driver
srcversion: 12D8BAB8F43573B88998E25
depends:
retpoline: Y
intree: Y
name: ssb
vermagic: 4.15.0-43-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4

##### module parameters #################

[b43]
allhwsupport: 0
bad_frames_preempt: 0
btcoex: 1
hwpctl: 0
hwtkip: 0
nohwcrypt: 0
pio: 0
qos: 1
verbose: 2

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

b43
b43

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist prism54
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

##### dmesg #############################

[ 28.903102] b43-phy0: Broadcom 4322 WLAN found (core revision 16)
[ 28.948827] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 4
[ 28.950385] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 3, Version 0
[ 47.042161] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready (repeated 2 times)
[ 47.877164] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 48.080220] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 48.564323] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready (repeated 2 times)
[ 136.557492] tg3 0000:03:00.0 enp3s0: Link is up at 1000 Mbps, full duplex
[ 136.557503] tg3 0000:03:00.0 enp3s0: Flow control is on for TX and on for RX
[ 136.557524] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready

Max Wei (mwei19) said : #2

Info above was pulled/generated when I was at work earlier today, when the WiFi would not pick up any networks. Verizon MiFi Jetpack was active and my phone was connected to the MiFi with no issues.

Jeremy (wa113y3s) said : #3

Open terminal and do

sudo apt update && sudo apt install bcmwl-kernel-source

Then reboot

Max Wei (mwei19) said : #4

I did have the bcmwl-kernel-source installed before but saw that other users, that have the same network card as me, were recommended/instructed to install/use the firmware-b43-installer instead so I followed those footsteps to more success compared to when I was still trying to debug around with the bcmwl-kernel-source.

More info on what I attempted to do already to prevent going around in circles (haha):

https://ubuntuforums.org/showthread.php?t=2409318

Also, this morning from the office...looks like everything is actually up and running OK this time but still not detecting my Verizon MiFi Jetpack that is next to me. The dmesg looks much much cleaner compared to when I ran dmesg yesterday when I got into work so still am super confused on what is going on, lol

$dmesg | grep wl
[ 51.520058] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 52.196341] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 52.629183] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

$dmesg | grep b43
[ 18.776758] b43-phy0: Broadcom 4322 WLAN found (core revision 16)
[ 18.824584] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 4
[ 18.826154] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 3, Version 0
[ 51.728243] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)

Max Wei (mwei19) said : #5

I purged firmware-b43-installer and installed bcmwl-kernel-source just for shits and giggles and this is the result:

$dmesg | grep wl
[ 38.028293] wl: loading out-of-tree module taints kernel.
[ 38.028297] wl: module license 'MIXED/Proprietary' taints kernel.
[ 38.035326] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 38.096673] wlan0: Broadcom BCM432b 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[ 41.677012] wl 0000:02:00.0 wlp2s0: renamed from wlan0
[ 51.606019] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 51.948300] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 80.036105] ERROR @wl_notify_scan_status :
[ 80.036108] wlp2s0 Scan_results error (-22)
[ 99.332060] ERROR @wl_notify_scan_status :
[ 99.332064] wlp2s0 Scan_results error (-22)
[ 143.076057] ERROR @wl_notify_scan_status :
[ 143.076060] wlp2s0 Scan_results error (-22)
[ 175.509423] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 175.917719] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 176.976061] ERROR @wl_notify_scan_status :
[ 176.976065] wlp2s0 Scan_results error (-22)
[ 180.036048] ERROR @wl_notify_scan_status :
[ 180.036051] wlp2s0 Scan_results error (-22)

Max Wei (mwei19) said : #6

Did some more playing around with firmware-b43-installer after removing bcmwl-kernel-source again! I managed to get the WiFi to detect the wireless networks at work again by doing the following:

$sudo modprobe -r b43
$sudo modprobe b43
$sudo service network-manager restart

The thing is...the WiFi finally detects the network but CANNOT connect to anything at all.....following is the dmesg:

$dmesg | grep wl

[ 52.626805] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 53.324358] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 53.520957] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 169.232393] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 169.299309] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 188.281919] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 189.436719] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 189.506796] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 195.576888] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 196.224663] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 196.652417] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 207.389832] wlan0: authenticate with 00:15:ff:e0:c9:0c
[ 207.428246] wlan0: send auth to 00:15:ff:e0:c9:0c (try 1/3)
[ 207.632046] wlan0: send auth to 00:15:ff:e0:c9:0c (try 2/3)
[ 207.638398] wlan0: authenticated
[ 207.640049] wlan0: associate with 00:15:ff:e0:c9:0c (try 1/3)
[ 207.643003] wlan0: RX AssocResp from 00:15:ff:e0:c9:0c (capab=0x431 status=0 aid=2)
[ 207.643427] wlan0: associated
[ 221.894268] wlan0: authenticate with 00:15:ff:e0:c9:0c
[ 221.932463] wlan0: send auth to 00:15:ff:e0:c9:0c (try 1/3)
[ 222.136058] wlan0: send auth to 00:15:ff:e0:c9:0c (try 2/3)
[ 222.340047] wlan0: send auth to 00:15:ff:e0:c9:0c (try 3/3)
[ 222.544062] wlan0: authentication with 00:15:ff:e0:c9:0c timed out
[ 258.014745] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 285.003365] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 311.306058] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 337.088564] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

please advise, out of ideas to play around with now, thanks in advanced!

ubuntuone (zubuntuuser) said : #7

I installed Ubuntu 18.04 LTS onto my old Macbook Pro (Mid-2010) too ;)
I had some problems with wifi too.

So here is my answer :

# sudo apt-get purge bcmwl-kernel-source firmware-b43legacy-installer firmware-b43-installer
# sudo apt install firmware-b43-installer
# reboot

# sudo modprobe -r b43 bcma wl
# sudo modprobe b43 pio=0 qos=0

And now the wifi works, in PIO mode, not DMA, but at least it works !
Hope it helps, feel free to ask details.

Can you help with this problem?

Provide an answer of your own, or ask Max Wei for more information if necessary.

To post a message you must log in.