Pre-compiled updated mwlwifi drivers for stable releases


#410

Hi @eduperez

I wold like to know what you think.

Do you ''advise'' to update the firmware on WRT1900ACS and WRT3200ACM to one of your compilation, versus the ''original one from june? Both were running 18.06.1., but i did put back stock on on the WRT3200ACM two months ago because it was acting weird.

The WRT3200ACM is in charge of the dhcp, and the wrt1900acs is an access point.


#411

I would do what works best for you... if stock drivers work for your gadgets and use case, stay with them; if you encounter bugs, try an updated version. I do not remember any "must have" features or bugfixes in any release after the latest stable.


#412

I have just uploaded several new releases that where merged to the upstream repo recently; some of them only contain changes relevant to the 88W8997 chipset, some contain debugging enhancements, some might contain bugfixes...

  • 10.3.8.0-20181103
    • Upgrade 88W8997 firmware to 24.5.4.1
  • 10.3.8.0-20181105
    • Upgrade 88W8997 firmware to 8.4.4.2
  • 10.3.8.0-20181106
    • Added debugfs file heartbeat
  • 10.3.8.0-20181109
    • Added code to avoid some packets to do AMSDU
    • Added debugfs file dump_probe
  • 10.3.8.0-20181112
    • Enabled uAPSD

Files available at https://github.com/eduperez/mwlwifi_LEDE/releases.


#413

Do you have a typo for 20181103 and 20181105? The firmware versions are very different for the same chipset. If it's correct can you please explain why they have very different versions?


#414

uAPSD is involved with WMM. Makes me wonder if this is an attempt to fix the ESP devices that only connect with WMM disabled.


#415

Thanks for pointing that out, but it is not a typo... looks like Marvell does weird things with the firmware versions, have a look at https://github.com/kaloz/mwlwifi/commits/master and see for yourself.


#416

Well, that is easy to test... give me a few hours and I will try it.


#417

Hey all,

Router: WRT1900ACS v1 (18.06.1)
mwlwifi driver v4.14.63

Im having a similar problem that @abood.alakhras was having but both Radios failed to associate, It was originally 2.4GHz that failed on a older mwlwifi driver a couple months back. I updated to latest which both failed to associate as well as the stock driver.

Heres the syslogs

8.675619] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.8.0-20180615>>
Tue Nov 13 20:37:38 2018 kern.info kernel: [ 8.683690] pci 0000:00:01.0: enabling device (0140 -> 0142)
Tue Nov 13 20:37:38 2018 kern.debug kernel: [ 8.689463] ieee80211 phy0: priv->pcmd_buf = ddcb8000 priv->pphys_cmd_buf = 1dcb8000
Tue Nov 13 20:37:38 2018 kern.warn kernel: [ 8.690394] mwlwifi 0000:01:00.0: Direct firmware load for mwlwifi/88W8864.bin failed with error -2
Tue Nov 13 20:37:38 2018 kern.warn kernel: [ 8.699498] mwlwifi 0000:01:00.0: Falling back to user helper
Tue Nov 13 20:37:38 2018 kern.err kernel: [ 8.709348] firmware mwlwifi!88W8864.bin: firmware_loading_store: map pages failed
Tue Nov 13 20:37:38 2018 kern.err kernel: [ 8.717026] ieee80211 phy0: cannot find firmware image <mwlwifi/88W8864.bin>
Tue Nov 13 20:37:38 2018 kern.err kernel: [ 8.724119] ieee80211 phy0: firmware init fail
Tue Nov 13 20:37:38 2018 kern.err kernel: [ 8.728581] ieee80211 phy0: fail to initialize firmware
Tue Nov 13 20:37:38 2018 kern.warn kernel: [ 8.733866] mwlwifi: probe of 0000:01:00.0 failed with error -5
Tue Nov 13 20:37:38 2018 kern.info kernel: [ 8.739873] pci 0000:00:02.0: enabling device (0140 -> 0142)
Tue Nov 13 20:37:38 2018 kern.debug kernel: [ 8.745632] ieee80211 phy1: priv->pcmd_buf = de188000 priv->pphys_cmd_buf = 1e188000
Tue Nov 13 20:37:38 2018 kern.warn kernel: [ 8.745655] mwlwifi 0000:02:00.0: Direct firmware load for mwlwifi/88W8864.bin failed with error -2
Tue Nov 13 20:37:38 2018 kern.warn kernel: [ 8.754747] mwlwifi 0000:02:00.0: Falling back to user helper
Tue Nov 13 20:37:38 2018 kern.err kernel: [ 8.764357] firmware mwlwifi!88W8864.bin: firmware_loading_store: map pages failed
Tue Nov 13 20:37:38 2018 kern.err kernel: [ 8.772024] ieee80211 phy1: cannot find firmware image <mwlwifi/88W8864.bin>
Tue Nov 13 20:37:38 2018 kern.err kernel: [ 8.779102] ieee80211 phy1: firmware init fail
Tue Nov 13 20:37:38 2018 kern.err kernel: [ 8.783577] ieee80211 phy1: fail to initialize firmware
Tue Nov 13 20:37:38 2018 kern.warn kernel: [ 8.788855] mwlwifi: probe of 0000:02:00.0 failed with error -5

Thanks


#418

Where did you get that info from? I haven't seen that version number (or anything similar) associated with the mwlwifi drivers before...

From the logs, you seem to be running version 10.3.8.0-20180615 of the drivers (that's what was included in 18.06.1, if my memory serves me right), and having trouble loading the firmware files. Are you running stock 18.06.1 now? Can you please confirm that there is indeed a firmware file at "/lib/firmware/mwlwifi/", is word-readable, is not an empty file, ...?


#419

Sorry, your right I got that info from the software section of LuCI. The router is running the stock driver now after installing yesturday the latest (10.3.8.0-20181112) and the previous driver 16 days ago (10.3.8.0-20181029) which were unsuccessful.

root@OpenWRT:~# cd /lib/firmware/mwlwifi
root@OpenWRT:/lib/firmware/mwlwifi# ls
root@OpenWRT:/lib/firmware/mwlwifi#
root@OpenWRT:/# ls -ld /lib/firmware/mwlwifi
drwxr-xr-x    1 root     root           320 Nov 13 14:12 /lib/firmware/mwlwifi

#420

Something I've noticed about 20181112 (ecd6556) is that a bunch (3) of my devices now indicate they are connected at HT40 on 2.4GHz (in luci) when they have only ever shown HT20 before.

This is on an ACSv2 with noscan '1' option on the interface. I haven't tested without yet.


#421

Did you install both the "kmod-mwlwifi" and "mwlwifi-firmware-88w8864" packages?


#422

Ah, It’s working now, I remember the last time I sysupgraded back in July, I haven’t installed the mwlwifi-firmware package before which I thought it wasn’t required as things were working after the installation but I now know what caused my problem originally was that I had the stock mwlwifi-firmware with July’s kmod-mwlwifi package installed and not the latest one from your repo.


#423

I guess sometimes you can update only one of the packages and it will work, even if by pure chance; but you definitely need to have both of them installed.

Glad to know that it works now!


#424

It should be noted, that the firmware bundled with OpenWrt 18.06.1 and your package contains the exact same 88W8864.bin with a SHA256 of 9b84dce41cef8e1f480c249e3a161f5f45b6d10e9bef273191e1ad2dd6338f65, which hasn't been updated since August 2016. Or did I miss something?


#425

No, firmware for that chipsets has not been updated for a while. I just create new packages with the same binaries to keep names coherent.


#426

Any news there? Or not had time yet?


#427

I'm afraid the ESP that failed before keeps on failing... it seems to authenticate but never acquires an IP address.


#428

Hi everyone !

Thread is dead? :disappointed_relieved:


#429

Well, it's as dead as the upstream repo...