Skip to content

BCM43602 WiFi issues #47

Open
Open

Description

https://bugzilla.kernel.org/show_bug.cgi?id=193121#c9

The country code X0 is apparently stored in the device itself. Now this country needs to be supported by the firmware we released to linux-firmware and my guess is that it does not.

As far as I see this man has fixed several of these issues already, does someone know if resolving these 13.2 wifi issues is on the horizon as well? Like is there something that could motivate him to do this or is it a gamble?

Activity

  1. Dunedan commented on Dec 23, 2017

    @Dunedan
    Owner

    All infos we got are in the Bugzilla thread. Sadly we didn't get any further response from Broadcom. 😞
    My guess is that it would be pretty easy for them to fix, but isn't on their list of priorities right now.

  2. tomas-ramos21 commented on Apr 25, 2018

    @tomas-ramos21

    I'm running ubuntu 16.04 LTS on a MacBook Pro 2017 13,2 (without Touch Bar), kernel 4.16 . The wifi is working perfectly, I only remastered the kernel with the keyboard drivers.
    I'm a noob when it comes to tinkering the kernel, but if I can get any information from my system or contribute in some other way that might help just let me know.

  3. Dunedan commented on Apr 25, 2018

    @Dunedan
    Owner

    @tumra86 Wifi in the models without Touch Bar isn't an issue at all and is known to work fine. It's only a problem for the Touch Bar models.

  4. Dunedan commented on Apr 25, 2018

    @Dunedan
    Owner

    Based on the recent development in the Bugzilla issue, which got already quoted here, I think we should start looking in other directions to get rid of this problem. As macOS apparently doesn't have any problem, can we maybe use the firmware Apple uses or can we think of some kind of driver-side workaround?

  5. jboyens commented on May 8, 2018

    @jboyens

    I use one of these: https://www.canakit.com/raspberry-pi-wifi.html with a USB-C adapter.

    Small and seems to work well enough.

  6. craigerrington commented on May 10, 2018

    @craigerrington

    https://bugzilla.kernel.org/show_bug.cgi?id=193121#c25

    (there's a diff in the thread)

    Andrey Arapov 2018-05-10 21:56:39 UTC

    Ok, I am really tired of using a usb wifi dongle, so I was digging a bit deeper and here is what I've got.

    Changing ccode=X0 to 0 and regrev=15 to 0 in the firmware seems like improving things a little and makes the connection more usable:

    • instantly connecting to the WiFi;
    • link quality=70/70 (Max!);
    • connections is stable, no disconnects;
    • I've got stable 50 Mbps download and 20 Mbps upload (my ISP allows 200/20 Max as per my contract);
    • The latency gets higher as I am downloading things, but otherwise it is as low as it should be;
    • still no 5GHz ... not sure why, maybe some hints what can be changed in the FW ? I've tried many things already...
  7. jboyens commented on May 11, 2018

    @jboyens

    I can confirm that this "patch" enables the 14,3 to connect and hold a WiFi signal.

  8. jboyens commented on May 11, 2018

    @jboyens

    Make no mistake. It's slow. REALLY slow. With the Canakit dongle (not a great one by any means) I can get 50mbit up/50mbit down. With brcmfmac I get 3mbit up/20mbit down. Removing and reinserting the kernel module does not activate the device properly. A reboot is required.

    A step in the right direction...

  9. ClashTheBunny commented on May 14, 2018

    @ClashTheBunny
    Contributor

    It's a step in the right direction, but still generally not great:

    --- www.google.com ping statistics ---
    564 packets transmitted, 408 received, +1 duplicates, 27% packet loss, time 567305ms
    rtt min/avg/max/mdev = 12.525/1973.478/11679.836/3011.685 ms, pipe 12
    
  10. m0oz commented on May 15, 2018

    @m0oz

    I can confirm that this "patch" enables the 14,3 to connect and hold a signal.

    Could you elaborate on how to change regrev and ccode in the brcmfmac firmware?
    I am not really experienced on kernel and firmware topics. It would be great to get some advice ;)
    /lib/firmware/brcm/ are all binaries. How would I change them?

  11. roadrunner2 commented on May 25, 2018

    @roadrunner2
    Contributor

    @m0oz Personally I use bvi (binary vi) for this sort of thing,

  12. 42 remaining items

  13. changed the title [-]bcm43602 WiFi issues[/-] [+]BCM43602 WiFi issues[/+] on Jul 29, 2020
  14. marc-git commented on Aug 6, 2020

    @marc-git
    Contributor

    OK I also realised that my 2.4GHz was not working simultaneously with 5GHz now.
    @andyholst did you get any further?

  15. andyholst commented on Aug 7, 2020

    @andyholst
    Contributor

    @marc-git can you confirm that brcmfmac43602-pcie.txt I added did it for you? Or did you test another configuration? I have not tested the combinations for a while, but the last 2 weeks I can confirm that the 2 Ghz band works just fine if you are within 20 meters with no so much interference such as many routers or thick walls (if you have strong router signal), I usually use the 5 Ghz band though.

  16. andyholst commented on Aug 9, 2020

    @andyholst
    Contributor

    I have created bash script to brute force the boardflags3 configuration to see if there is a combination to allow connecting to 2.4 Ghz or 5 Ghz band without changing the boardflags3 configurations https://github.com/andyholst/BCM43602_macbookpro

    Feel free to fork it and add optimizations, I will try to brute force the configurations next week.

  17. marc-git commented on Aug 11, 2020

    @marc-git
    Contributor

    @marc-git can you confirm that brcmfmac43602-pcie.txt I added did it for you? Or did you test another configuration? I have not tested the combinations for a while, but the last 2 weeks I can confirm that the 2 Ghz band works just fine if you are within 20 meters with no so much interference such as many routers or thick walls (if you have strong router signal), I usually use the 5 Ghz band though.

    Your file works fine but I can't tell what frequency I am on. Will have to wait until I get a 2.4GHz network only.

  18. marc-git commented on Aug 11, 2021

    @marc-git
    Contributor

    Hello again. @andyholst
    what boardflags3 setting are you using nowadays?

  19. andyholst commented on Sep 6, 2021

    @andyholst
    Contributor

    @marc-git same settings, mainly using 5Ghz, though 2.4 GHz and 5GHz incorporated to the same SSID.

  20. marc-git commented on Oct 17, 2021

    @marc-git
    Contributor

    @andyholst so this one ?
    boardflags3=0x00000003

  21. andyholst commented on Nov 3, 2021

    @andyholst
    Contributor

    @marc-git for 2Ghz, boardflags3=0x00000003 and for 5 Ghz, boardflags3=0x00000303

    `sromrev=11
    subvid=0x14e4
    boardtype=0x61b
    boardrev=0x1421
    vendid=0x14e4
    devid=0x43ba

    macaddr=00:90:4c:0d:f4:3e

    ccode=00
    regrev=245

    boardflags=0x10401001
    boardflags2=0x00000002
    boardflags3=0x00000303
    boardnum=62526

    swctrlmap_2g=0x04010401,0x08080808,0x04010401,0x00000000,0x000000ff
    swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x003

    swctrlmap_5g=0x08080808,0x04010401,0x08080808,0x00000000,0x000000ff
    swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x003

    aa2g=7
    aa5g=7
    agbg0=133
    agbg1=133
    agbg2=133
    aga0=71
    aga1=71
    aga2=71
    txchain=7
    rxchain=7
    antswitch=0
    tssiposslope2g=1
    epagain2g=0
    pdgain2g=28
    tworangetssi2g=0
    papdcap2g=0
    femctrl=2
    tssiposslope5g=1
    epagain5g=0
    pdgain5g=28
    tworangetssi5g=0
    papdcap5g=0
    gainctrlsph=0
    tempthresh=120
    tempoffset=255
    rawtempsense=0x1ff
    measpower=0x7f
    tempsense_slope=0xff
    tempcorrx=0x3f
    tempsense_option=0x3
    xtalfreq=40000
    phycal_tempdelta=40
    temps_period=1
    temps_hysteresis=5
    measpower1=0x7f
    measpower2=0x7f
    pdoffsetcck=1057
    pdoffset20in40m5gb0=0
    pdoffset20in40m5gb1=0
    pdoffset20in40m5gb2=0
    pdoffset20in40m5gb3=0
    pdoffset20in40m5gb4=0
    pdoffset40in80m5gb0=0
    pdoffset40in80m5gb1=0
    pdoffset40in80m5gb2=0
    pdoffset40in80m5gb3=0
    pdoffset40in80m5gb4=0
    pdoffset20in80m5gb0=0
    pdoffset20in80m5gb1=0
    pdoffset20in80m5gb2=0
    pdoffset20in80m5gb3=0
    pdoffset20in80m5gb4=0
    subband5gver=0x5
    cckbw202gpo=0
    cckbw20ul2gpo=0
    mcsbw202gpo=2536714240
    mcsbw402gpo=2536714240
    dot11agofdmhrbw202gpo=13056
    ofdmlrbw202gpo=0
    mcsbw205glpo=1966288896
    mcsbw405glpo=2252619776
    mcsbw805glpo=2252619776
    mcsbw205gmpo=1966288896
    mcsbw405gmpo=2252619776
    mcsbw805gmpo=2252619776
    mcsbw205ghpo=1966288896
    mcsbw405ghpo=2252619776
    mcsbw805ghpo=2252619776
    mcsbw205gx1po=1966288896
    mcsbw405gx1po=2252619776
    mcsbw805gx1po=2252619776
    mcsbw205gx2po=1966288896
    mcsbw405gx2po=2252619776
    mcsbw805gx2po=2252619776
    mcslr5glpo=0
    mcslr5gmpo=0
    mcslr5ghpo=0
    mcslr5gx1po=0
    mcslr5gx2po=0
    sb20in40hrpo=0
    sb20in80and160hr5glpo=0
    sb40and80hr5glpo=0
    sb20in80and160hr5gmpo=0
    sb40and80hr5gmpo=0
    sb20in80and160hr5ghpo=0
    sb40and80hr5ghpo=0
    sb20in40lrpo=0
    sb20in80and160lr5glpo=0
    sb40and80lr5glpo=0
    sb20in80and160lr5gmpo=0
    sb40and80lr5gmpo=0
    sb20in80and160lr5ghpo=0
    sb40and80lr5ghpo=0
    sb20in80and160hr5gx1po=0
    sb20in80and160lr5gx1po=0
    sb40and80hr5gx1po=0
    sb20in80and160hr5gx2po=0
    sb20in80and160lr5gx2po=0
    sb40and80hr5gx2po=0
    dot11agduphrpo=0
    dot11agduplrpo=52416
    pcieingress_war=15
    sar2g=18
    sar5g=15
    noiselvl2ga0=31
    noiselvl2ga1=31
    noiselvl2ga2=31
    noiselvl5ga0=18,18,18,20
    noiselvl5ga1=1,1,1,17
    noiselvl5ga2=11,11,11,11
    rxgainerr2ga0=63
    rxgainerr2ga1=31
    rxgainerr2ga2=31
    rxgainerr5ga0=50,50,50,52
    rxgainerr5ga1=16,16,16,24
    rxgainerr5ga2=5,5,5,5
    rpcal2g=65535
    rpcal5gb0=65535
    rpcal5gb1=65535
    rpcal5gb2=65535
    rpcal5gb3=65535
    rxgains5gmelnagaina0=3
    rxgains5gmelnagaina1=3
    rxgains5gmelnagaina2=3
    rxgains5gmtrisoa0=9
    rxgains5gmtrisoa1=9
    rxgains5gmtrisoa2=9
    rxgains5gmtrelnabypa0=0
    rxgains5gmtrelnabypa1=0
    rxgains5gmtrelnabypa2=0
    rxgains5ghelnagaina0=2
    rxgains5ghelnagaina1=2
    rxgains5ghelnagaina2=2
    rxgains5ghtrisoa0=8
    rxgains5ghtrisoa1=8
    rxgains5ghtrisoa2=8
    rxgains5ghtrelnabypa0=0
    rxgains5ghtrelnabypa1=0
    rxgains5ghtrelnabypa2=0
    gain_cal_temp=39
    rssi_delta_2gb0=8,16,8,16,253,18,253,18,254,17,254,17
    rssi_delta_2gb1=255,255,255,255,255,255,255,255,255,255,255,255
    rssi_delta_2gb2=255,255,255,255,255,255,255,255,255,255,255,255
    rssi_delta_2gb3=255,255,255,255,255,255,255,255,255,255,255,255
    rssi_delta_2gb4=255,255,255,255,255,255,255,255,255,255,255,255
    rssi_cal_freq_grp_2g=0,0,128,0,0,0,0
    rud_agc_enable=0
    temp_comp_tr_loss=1
    rssi_qdB_en=0
    rssi_delta_5gl=8,6,8,6,8,6,5,6,5,6,5,6,9,8,9,8,9,8
    rssi_delta_5gml=250,237,250,237,250,237,248,236,248,236,248,236,249,237,249,237,249,237
    rssi_delta_5gmu=250,237,250,237,250,237,248,234,248,234,248,234,249,237,249,237,249,237
    rssi_delta_5gh=250,235,250,235,250,235,247,233,247,233,247,233,249,237,249,237,249,237
    rssicorrnorm_c0=251,255
    rssicorrnorm_c1=251,255
    rssicorrnorm_c2=251,255
    trloss_adj_temp_thresh=10
    trloss_adj_time_dur=30
    rstr_rxgaintempcoeff5gl=50,50,50
    rstr_rxgaintempcoeff5gl_elnaoff=44,44,44
    rstr_rxgaintempcoeff5gml=50,50,50
    rstr_rxgaintempcoeff5gml_elnaoff=44,44,44
    rstr_rxgaintempcoeff5gmu=50,50,50
    rstr_rxgaintempcoeff5gmu_elnaoff=44,44,44
    rstr_rxgaintempcoeff5gh=52,52,52
    rstr_rxgaintempcoeff5gh_elnaoff=46,46,46
    rstr_rxgaintempcoeff2g_sub=75,75,75,75,75,75,75,75,75,75,75,75,75,75,75
    rstr_rxgaintempcoeff2g_sub_elnaoff=66,66,66,66,66,66,66,66,66,66,66,66,66,66,66
    length_txcal=65535
    version_txcal=65535
    devicetype_txcal=65535
    caltype_txcal=65535
    tempsense_txcal=35
    ncores_txcal=255
    reserved1_txcal=255
    reserved2_txcal=255
    20mhz_tbl_len_txcal=65535
    nsteps_txcal=22
    nchannels_txcal=10
    chan_id_txcal_ch0=7
    chan_id_txcal_ch1=36
    chan_id_txcal_ch2=52
    chan_id_txcal_ch3=64
    chan_id_txcal_ch4=100
    chan_id_txcal_ch5=120
    chan_id_txcal_ch6=140
    chan_id_txcal_ch7=149
    chan_id_txcal_ch8=157
    chan_id_txcal_ch9=165
    ptssi_txcal_ch0=0
    ptssi_txcal_ch1=0
    ptssi_txcal_ch2=0
    ptssi_txcal_ch3=0
    ptssi_txcal_ch4=0
    ptssi_txcal_ch5=0
    ptssi_txcal_ch6=0
    ptssi_txcal_ch7=0
    ptssi_txcal_ch8=0
    ptssi_txcal_ch9=0
    gain_index_c0_ch0=54
    gain_index_c0_ch1=57
    gain_index_c0_ch2=58
    gain_index_c0_ch3=59
    gain_index_c0_ch4=60
    gain_index_c0_ch5=59
    gain_index_c0_ch6=61
    gain_index_c0_ch7=60
    gain_index_c0_ch8=61
    gain_index_c0_ch9=62
    gain_index_c1_ch0=54
    gain_index_c1_ch1=58
    gain_index_c1_ch2=59
    gain_index_c1_ch3=60
    gain_index_c1_ch4=61
    gain_index_c1_ch5=61
    gain_index_c1_ch6=62
    gain_index_c1_ch7=62
    gain_index_c1_ch8=62
    gain_index_c1_ch9=62
    gain_index_c2_ch0=57
    gain_index_c2_ch1=57
    gain_index_c2_ch2=59
    gain_index_c2_ch3=59
    gain_index_c2_ch4=61
    gain_index_c2_ch5=60
    gain_index_c2_ch6=61
    gain_index_c2_ch7=61
    gain_index_c2_ch8=61
    gain_index_c2_ch9=61
    tssi_chan0_c0=248,244,241,237,232,226,220,211,203,193,183,172,162,150,138,128,116,105,94,83,73,61
    tssi_chan0_c1=247,245,241,237,232,226,218,210,201,191,181,168,158,146,134,122,111,98,87,75,64,52
    tssi_chan0_c2=248,245,242,238,233,227,221,213,204,194,185,173,162,151,140,129,118,107,97,87,77,67
    tssi_chan1_c0=234,228,223,218,212,205,198,191,183,176,168,159,150,141,131,121,110,98,87,75,64,53`

  22. atyshka commented on Apr 13, 2022

    @atyshka

    @andyholst This is a pretty long thread and I’m trying to find exactly what changes I need to make, between all the comments in this thread and the bugzilla thread. Do you have a tldr; ? I could contribute it to the readme once I figure it out

  23. Lord-Kamina commented on Aug 15, 2023

    @Lord-Kamina

    Is there still an interest in this?

    I've got a macbookpro14,3 and my wifi is working pretty damn well (and if it isn't I can't tell, I have ~500mbps download speeds on a 5ghz ac network)

    My problem now is getting BT to work properly (i.e. decent range and ideally A2DP). I've been playing around with the nvram file and have had some small measure of success, but I don't have much knowledge to do much more than semi-randomly try to piece it together. There is very little documentation available on things like btc_params, for example.

    I've tried some combinations I've found that have fixed A2DP for other chipsets, but they make my firmware crash.
    I recently had the idea of running the wireless diagnostics tool from macOS and it generates a trove of logs and ramdumps that might be useful to somebody with more knowledge than I.

  24. kythera-sk commented on Aug 26, 2023

    @kythera-sk

    I would like to mention that on 6.4.11-arch2-1 the 5Ghz config works for 2.4Ghz but also occasionally is completely unable to connect for an unknown reason. Anybody else experiencing this?

  25. KiLLeRRaT commented on Sep 17, 2023

    @KiLLeRRaT

    Has anyone gotten to the bottom of the suspend/sleep issue? Everything works exactly as I want except for when I resume from sleep, the Wi-Fi doesn't work until I reboot.

    Thanks!

  26. shrikantmeena commented on Nov 18, 2025

    @shrikantmeena

    @Lord-Kamina Hey Man,

    Could you please share your working Wi-Fi setup for MacBookPro14,3? I am finding it hard to make it work on Mint 22.

    Thanks!

  27. Liccxyz commented on Jun 5, 2026

    @Liccxyz

    The statement on this website is valid; it has been tested and verified, and the 5G signal works well.

    https://jishuzhan.net/article/1728634128959541250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions