Pre-compiled updated mwlwifi drivers for stable releases

I have decide to start following Linksys' official repo for the mwlwifi drivers at https://github.com/kaloz/mwlwifi, and make pre-compiled packages, that can be installed on top of stable releases, so more people can test the latest version, without the hassle of upgrading the whole system. These drivers are used by the WRT AC series of routers (WRT1200AC, WRT1900AC, WRT1900ACS, WRT3200ACM, WRT32X).

Instructions can be found at https://github.com/eduperez/mwlwifi_LEDE, and files at https://github.com/eduperez/mwlwifi_LEDE/releases.

16 Likes

this is awesome! will these updates work on all LEDE images/community builds?

Kernel modules only work on kernels compiled using exactly the same configuration. So, as long as those community builds use the stock 17.01.1 kernel, these packages should work; otherwise, opkg will fail about failed dependencies.

this will likely sound like a stupid question, but where do I download the file too?

getting this:

Collected errors:

  • wfopen: kmod-mwlwifi_4.4.61.10.3.4.0-20170421-bc1f345-1_arm_cortex-a9_vfpv3.ipk: No such file or directory.
  • pkg_init_from_file: Failed to extract control file from kmod-mwlwifi_4.4.61.10.3.4.0-20170421-bc1f345-1_arm_cortex-a9_vfpv3.ipk.

You need to download the file to the router; try using "wget" (replace with "curl" if that fails):

wget https://github.com/eduperez/mwlwifi/releases/download/bc1f345/kmod-mwlwifi_4.4.61.10.3.4.0-20170421-bc1f345-1_arm_cortex-a9_vfpv3.ipk
opkg install kmod-mwlwifi_4.4.61.10.3.4.0-20170421-bc1f345-1_arm_cortex-a9_vfpv3.ipk

Great work!

You should be able to pass the url to opkg directly, so you can skip the extra wget step.

1 Like

tx very much for your patience.

I have updated the driver to the latest release, just executing opkg install https://github.com/eduperez/mwlwifi/releases/download/3f21258/kmod-mwlwifi_4.4.61.10.3.4.0-20170421-3f21258-1_arm_cortex-a9_vfpv3.ipk should be enough.

Updated to commit 73e057d.

Updated to commit bd62e37 at https://github.com/eduperez/mwlwifi/releases/download/bd62e37/kmod-mwlwifi_4.4.61.10.3.4.0-20170421-bd62e37-1_arm_cortex-a9_vfpv3.ipk

1 Like

Thanks for building mwlwifi with stable LEDE 17.01.1 in mind. db62e37 installed without issue. My WRT1900ACS is really enjoying the updated driver.

@eduperez

Can you please Update to commit ?
https://github.com/kaloz/mwlwifi/commit/bd62e3726e3987b9335a114e3a0e6e2484c00ae0

Thanks

@gufus: isn't that commit you requested coded as "bd62e37", and updated just two post above yours?

@eduperez You are correct. @gufus I've been testing that commit for about 12hrs now without issue.

@eduperez

No

"bd62e37" is the latest

see here
https://github.com/kaloz/mwlwifi/commits/master

And the link in your post leads me to the "bd62e37" commit. If you need a package for a specific commit, can provide it, sure. But either you post the wrong link, or I am getting lost somewhere. Could you please post just the commit id that you need?

@eduperez

this are the latest commits for the driverr

see here
https://github.com/kaloz/mwlwifi/commits/master

Yes, and the newest commit there is currently "bd62e37": https://github.com/kaloz/mwlwifi/commit/bd62e3726e3987b9335a114e3a0e6e2484c00ae0

That is exactly the commit of the newest release in the repo from @eduperez that he linked about 16 hours before you started asking for the newest release... The commit hash is even visible in the download link in the message. [quote="eduperez, post:10, topic:3262, full:true"]
Updated to commit bd62e37 at https://github.com/eduperez/mwlwifi/releases/download/bd62e37/kmod-mwlwifi_4.4.61.10.3.4.0-20170421-bd62e37-1_arm_cortex-a9_vfpv3.ipk
[/quote]
And the commit hash is also quite clearly visible in: https://github.com/eduperez/mwlwifi/releases

Clear enough? There is nothing newer, at the moment.

1 Like

@eduperez

Ops..

Sorry, your correct, my mistake. I must be going blind (old age you know)

Thanks 4 your efforts :wink:

installed fine on my Mamba


Using username "root".
SSH-2 implementation OpenSSH 7.4
Authenticating with public key "imported-openssh-key"

''
BusyBox v1.25.1 () built-in shell (ash)

LEDE Reboot 17.01.1
Security is enabled, and your IP address has been logged.

root@AC1900M:~# cd /tmp
root@AC1900M:/tmp# opkg install kmod-mwlwifi_4.4.61.10.3.4.0-20170421-bd62e37-1
_arm_cortex-a9_vfpv3.ipk
Upgrading kmod-mwlwifi on root from 4.4.61+10.3.2.0-20170110-1 to 4.4.61+10.3.4.0-20170421-bd62e37-1...
Configuring kmod-mwlwifi.
root@AC1900M:/tmp#