Pre-compiled updated mwlwifi drivers for stable releases

Those changes you mention are not relevant to this thread: they are either updates to the firmware for a device not supported by OpenWrt, or compatibility fixes that we do not need or are already included in my packages. I just decided not to pollute this thread with more announcements.

Ah, my bad. :smiley:

Sorry

1 Like

Eduperez, thanks for your work on these. In the upcoming 18.06.2, do you know which version of the drivers will be included? Also, will we have to flash the firmware separately or will that be done automatically? Thanks.

I am not involved in the development of OpenWrt, and I just have as much information as anybody else, so I could be wrong on this...

Current SNAPSHOT points to 10.3.8.0-20180615, which is quite old, so I would update the drivers after upgrading the system. However, the maintainers have been quite receptive in the past about upgrading these drivers; I think I will try to contact the maintainers, and propose and upgrade before the release.

Well... 19.X is around the corner which will branch off master...

Okay, I will keep an eye out for the driver version in either release. I assume that the firmware would need to be upgraded also with either 18.06.2 or 19.X?

Just out of curiosity: is it that important for users in this thread to have the latest version of the drivers on the stable releases?

1 Like

I certainly appreciate your work and keep the drivers on my WRT1900ACS updated.

If there is no bug corrections or feature, nop.

For me personally, as long as updated drivers are merged to master and included in master snapshots, I don't need them precompiled for latest stable, as I typically just shift to snapshots.

That being said, I know many others who prefer tracking stable, and having to compile drivers themselves may be tricky if they don't know what they are doing.

Looks like I was wrong (don't tell me I did not warn you :wink: ) and current SNAPSHOT is updated to the latest version of the driver; this means that next STABLE release will contain updated drivers.

Great to hear that the latest version of the driver will be in the releases. To answer your question as a novice: I don't need the latest driver, just the most stable one. Stability (hopefully via bug fixes) is the main thing.

To ask my question again :slight_smile: would I need to update firmware separately for the wireless chip (88w8964) or will the latest stable install (when next released) automatically update the firmware?

The next latest stable (either 18.06.2 or 19.x) will most likely have the latest firmware, so if you updated to one of those when they release you will not have to do anything manually.

Excellent, thanks.

Sorry, I did not understand the question first time. Firmware and drives go hand-in-hand and are packaged at the same time. If the drivers are updated, the firmware will be updated, too.

Ah, that makes sense. Thanks for the explanation.

A security vulnerability allowing for the remote compromise of devices using the Marvell Avastar series has been found. However, I'm still not sure if it is applicable to mwlwifi and thus the Linksys WRT AC series, as only mwifiex and the 88w8897 (not used in any WRT AC devices) was discussed in the article. There really shouldn't be alarm or panic as details are still obscured whilst patches are being developed, but I believe that one should still be wary and follow future discussions on this vulnerability to see if mwlwifi is affected too.

Before everybody asks about the just-released 18.06.2: the drivers contained in that release correspond to version 10.3.8.0-20181114, and there are no significant changes after that one; there is no need to update the mwlwifi drivers after upgrading to 18.06.2.

7 Likes

I'm getting a bunch of errors in the kernel and after a few minutes of uptime on the router I cannot connect to the 5GHz network with these drivers in 18.06.2... any ideas?

fyi this is on linksys wrt1900acs

[  717.004630] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[  717.010775] ieee80211 phy1: return code: 0x1122
[  717.015348] ieee80211 phy1: timeout: 0x1122
[  717.019562] wlan1: failed to remove key (0, e8:61:7e:36:e1:f9) from hardware (-5)
[  717.019657] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  718.132970] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  718.147299] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  718.211284] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  718.271271] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  718.408535] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  718.421264] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  718.451450] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  718.464700] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  725.919106] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  725.933473] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  725.955508] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  725.968219] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  725.996776] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  726.011073] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  726.050685] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  726.065043] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  726.082118] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  726.096224] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  726.139877] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[  726.154214] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000

Sun Feb  3 21:09:16 2019 kern.err kernel: [ 1161.492998] wlan0: failed to remove key (0, 9c:4f:da:a6:ee:ec) from hardware (-5)
Sun Feb  3 21:09:16 2019 kern.debug kernel: [ 1161.502128] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
Sun Feb  3 21:09:20 2019 kern.err kernel: [ 1165.323552] ieee80211 phy0: cmd 0x9125=BAStream timed out
Sun Feb  3 21:09:20 2019 kern.err kernel: [ 1165.328984] ieee80211 phy0: return code: 0x1125
Sun Feb  3 21:09:20 2019 kern.err kernel: [ 1165.333554] ieee80211 phy0: timeout: 0x1125
Sun Feb  3 21:09:20 2019 kern.debug kernel: [ 1165.337950] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
Sun Feb  3 21:09:24 2019 kern.err kernel: [ 1169.023319] ieee80211 phy0: cmd 0x9111=SetNewStation timed out
Sun Feb  3 21:09:24 2019 kern.err kernel: [ 1169.029205] ieee80211 phy0: return code: 0x1111
Sun Feb  3 21:09:24 2019 kern.err kernel: [ 1169.033871] ieee80211 phy0: timeout: 0x1111
Sun Feb  3 21:09:24 2019 kern.debug kernel: [ 1169.046621] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
Sun Feb  3 21:09:27 2019 kern.err kernel: [ 1172.765330] ieee80211 phy0: cmd 0x801c=80211RadioControl timed out
Sun Feb  3 21:09:27 2019 kern.err kernel: [ 1172.771546] ieee80211 phy0: return code: 0x001c
Sun Feb  3 21:09:27 2019 kern.err kernel: [ 1172.776156] ieee80211 phy0: timeout: 0x001c
 2481.888242] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2485.625114] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
[ 2485.630993] ieee80211 phy1: return code: 0x1111
[ 2485.635542] ieee80211 phy1: timeout: 0x1111
[ 2485.643904] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2489.584828] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[ 2489.590959] ieee80211 phy1: return code: 0x1122
[ 2489.595508] ieee80211 phy1: timeout: 0x1122
[ 2489.599716] wlan1: failed to remove key (0, 9c:4f:da:a6:ee:ec) from hardware (-5)
[ 2489.609348] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2493.350427] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[ 2493.356555] ieee80211 phy1: return code: 0x1122
[ 2493.361111] ieee80211 phy1: timeout: 0x1122
[ 2493.365312] wlan1: failed to remove key (0, 88:3d:24:17:b1:82) from hardware (-5)
[ 2493.381064] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2497.293257] ieee80211 phy1: cmd 0x9125=BAStream timed out
[ 2497.298682] ieee80211 phy1: return code: 0x1125
[ 2497.303239] ieee80211 phy1: timeout: 0x1125
[ 2497.307557] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2501.152388] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
[ 2501.158305] ieee80211 phy1: return code: 0x1111
[ 2501.162885] ieee80211 phy1: timeout: 0x1111
[ 2501.171582] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2505.156260] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[ 2505.162396] ieee80211 phy1: return code: 0x1122
[ 2505.166944] ieee80211 phy1: timeout: 0x1122
[ 2505.171153] wlan1: failed to remove key (0, c8:f6:50:a9:aa:d0) from hardware (-5)
[ 2505.320212] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2509.006316] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[ 2509.012599] ieee80211 phy1: return code: 0x1122
[ 2509.017151] ieee80211 phy1: timeout: 0x1122
[ 2509.021363] wlan1: failed to remove key (0, f4:0f:24:0c:59:40) from hardware (-5)
[ 2509.031976] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2513.014168] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[ 2513.020312] ieee80211 phy1: return code: 0x1122
[ 2513.024860] ieee80211 phy1: timeout: 0x1122
[ 2513.029061] wlan1: failed to remove key (0, 18:b4:30:d2:e5:d8) from hardware (-5)
[ 2513.189609] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2517.170851] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
[ 2517.176713] ieee80211 phy1: return code: 0x1111
[ 2517.181273] ieee80211 phy1: timeout: 0x1111
[ 2517.312026] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2521.142454] ieee80211 phy1: cmd 0x9125=BAStream timed out
[ 2521.147887] ieee80211 phy1: return code: 0x1125
[ 2521.152451] ieee80211 phy1: timeout: 0x1125
[ 2521.156793] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2524.936474] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
[ 2524.942344] ieee80211 phy1: return code: 0x1111
[ 2524.946893] ieee80211 phy1: timeout: 0x1111
[ 2524.953974] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2528.728167] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[ 2528.734331] ieee80211 phy1: return code: 0x1122
[ 2528.738893] ieee80211 phy1: timeout: 0x1122
[ 2528.743105] wlan1: failed to remove key (0, bc:e1:43:ac:22:1d) from hardware (-5)
[ 2528.757065] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2532.470379] ieee80211 phy1: cmd 0x9125=BAStream timed out
[ 2532.475813] ieee80211 phy1: return code: 0x1125
[ 2532.480374] ieee80211 phy1: timeout: 0x1125
[ 2532.484704] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2536.436586] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
[ 2536.442456] ieee80211 phy1: return code: 0x1111
[ 2536.447013] ieee80211 phy1: timeout: 0x1111
[ 2536.453843] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2540.438027] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
[ 2540.443896] ieee80211 phy1: return code: 0x1111
[ 2540.448445] ieee80211 phy1: timeout: 0x1111
[ 2540.453202] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2544.433772] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[ 2544.439920] ieee80211 phy1: return code: 0x1122
[ 2544.444517] ieee80211 phy1: timeout: 0x1122
[ 2544.448762] wlan1: failed to remove key (0, e4:f0:42:52:03:ae) from hardware (-5)
[ 2544.476347] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2548.278055] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
[ 2548.283925] ieee80211 phy1: return code: 0x1111
[ 2548.288476] ieee80211 phy1: timeout: 0x1111
[ 2548.295989] ieee80211 phy1: MACREG_REG_INT_CODE: 0x0000
[ 2552.162526] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
[ 2552.168399] ieee80211 phy1: return code: 0x1111
[ 2552.172962] ieee80211 phy1: timeout: 0x1111
[ 2552.181149] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[ 2552.186408] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[ 2555.868448] ieee80211 phy0: cmd 0x8203=SetRateAdaptationMode timed out
[ 2555.875007] ieee80211 phy0: return code: 0x0203
[ 2555.879566] ieee80211 phy0: timeout: 0x0203
[ 2555.883768] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
Sun Feb  3 21:32:27 2019 kern.err kernel: [ 2552.162526] ieee80211 phy1: cmd 0x9111=SetNewStation timed out
Sun Feb  3 21:32:27 2019 kern.err kernel: [ 2552.168399] ieee80211 phy1: return code: 0x1111
Sun Feb  3 21:32:27 2019 kern.err kernel: [ 2552.172962] ieee80211 phy1: timeout: 0x1111
Sun Feb  3 21:32:27 2019 kern.debug kernel: [ 2552.181149] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
Sun Feb  3 21:32:27 2019 kern.debug kernel: [ 2552.186408] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
Sun Feb  3 21:32:30 2019 kern.err kernel: [ 2555.868448] ieee80211 phy0: cmd 0x8203=SetRateAdaptationMode timed out
Sun Feb  3 21:32:30 2019 kern.err kernel: [ 2555.875007] ieee80211 phy0: return code: 0x0203
Sun Feb  3 21:32:30 2019 kern.err kernel: [ 2555.879566] ieee80211 phy0: timeout: 0x0203
Sun Feb  3 21:32:30 2019 kern.debug kernel: [ 2555.883768] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
Sun Feb  3 21:32:30 2019 daemon.err hostapd: Could not set interface wlan0 flags (UP): I/O error
Sun Feb  3 21:32:30 2019 daemon.err hostapd: nl80211: Could not set interface 'wlan0' UP
Sun Feb  3 21:32:30 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Feb  3 21:32:30 2019 daemon.err hostapd: nl80211 driver initialization failed.
Sun Feb  3 21:32:30 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->DISABLED
Sun Feb  3 21:32:30 2019 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Feb  3 21:32:30 2019 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Feb  3 21:32:30 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Feb  3 21:32:30 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb  3 21:32:30 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Feb  3 21:32:30 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Feb  3 21:32:31 2019 daemon.notice netifd: radio0 (28953): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3880 path ()
Sun Feb  3 21:32:31 2019 daemon.notice netifd: radio0 (28953): Device setup failed: HOSTAPD_START_FAILED

If "these drivers" mean my packages, you should know that they must not be installed on 18.06.2. In this case, just use the packages that came with 18.06.2, and do not try to update anything.

If you did not update any package after the upgrade to 18.06.2, then I would open a bug report at the upstream repo.