Pre-compiled updated mwlwifi drivers for stable releases

Yes, and it has been reported: https://github.com/kaloz/mwlwifi/issues/36

I confirm !

I've tried latest david's release (r4088) and when wifi is on (5GHZ only for now), memory usage increase until the router reboot (the more the router is use, the more the memory increase fast)...

I'm going back to LEDE snapshot I think but before I'll try LEDE 17.01 with your drivers and see what happen :slight_smile:

I'm thinking of moving to LEDE from OpenWRT 15.01.1 on wrt1900acs, but I don't want any of these issues. Can you please post the results of your testing with 17.01?

There is a new driver available, which tackles the memory issue, and updates the binary driver; available at:
https://github.com/eduperez/mwlwifi/releases/download/f8a3c79/kmod-mwlwifi_4.4.61.10.3.4.0-20170512-f8a3c79-1_arm_cortex-a9_vfpv3.ipk

2 Likes

@eduperez
Thanks :smile:

@jwilczek

Here there are:

Laptop 5GHZ / Router 5GHZ:

$ iperf3 -c linksys -fM    
Connecting to host linksys, port 5201
[  4] local 192.168.51.3 port 56782 connected to 192.168.51.254 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  54.1 MBytes  54.1 MBytes/sec    0    727 KBytes       
[  4]   1.00-2.00   sec  62.0 MBytes  62.0 MBytes/sec    0    810 KBytes       
[  4]   2.00-3.00   sec  62.2 MBytes  62.2 MBytes/sec    0    906 KBytes       
[  4]   3.00-4.00   sec  63.6 MBytes  63.6 MBytes/sec    0    906 KBytes       
[  4]   4.00-5.00   sec  63.3 MBytes  63.3 MBytes/sec    0    954 KBytes       
[  4]   5.00-6.00   sec  22.4 MBytes  22.4 MBytes/sec    0    954 KBytes       
[  4]   6.00-7.00   sec  40.5 MBytes  40.5 MBytes/sec    0    954 KBytes       
[  4]   7.00-8.00   sec  63.5 MBytes  63.5 MBytes/sec    0    954 KBytes       
[  4]   8.00-9.00   sec  63.8 MBytes  63.7 MBytes/sec    0    959 KBytes       
[  4]   9.00-10.00  sec  64.0 MBytes  64.1 MBytes/sec    0    962 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   559 MBytes  55.9 MBytes/sec    0             sender
[  4]   0.00-10.00  sec   556 MBytes  55.6 MBytes/sec                  receiver

$ iperf3 -c linksys -fM -R
Connecting to host linksys, port 5201
Reverse mode, remote host linksys is sending
[  4] local 192.168.51.3 port 57202 connected to 192.168.51.254 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  45.1 MBytes  45.1 MBytes/sec                  
[  4]   1.00-2.00   sec  53.6 MBytes  53.6 MBytes/sec                  
[  4]   2.00-3.00   sec  48.3 MBytes  48.3 MBytes/sec                  
[  4]   3.00-4.00   sec  46.9 MBytes  46.9 MBytes/sec                  
[  4]   4.00-5.00   sec  48.0 MBytes  48.0 MBytes/sec                  
[  4]   5.00-6.00   sec  46.6 MBytes  46.6 MBytes/sec                  
[  4]   6.00-7.00   sec  52.2 MBytes  52.2 MBytes/sec                  
[  4]   7.00-8.00   sec  52.0 MBytes  52.0 MBytes/sec                  
[  4]   8.00-9.00   sec  54.4 MBytes  54.4 MBytes/sec                  
[  4]   9.00-10.00  sec  57.4 MBytes  57.4 MBytes/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   507 MBytes  50.7 MBytes/sec    0             sender
[  4]   0.00-10.00  sec   507 MBytes  50.7 MBytes/sec                  receiver

Laptop 2.4GHZ / Router 2.4GHZ:

$ iperf3 -c linksys -fM
Connecting to host linksys, port 5201
[  4] local 192.168.51.3 port 59612 connected to 192.168.51.254 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  1.79 MBytes  1.79 MBytes/sec    0   77.8 KBytes       
[  4]   1.00-2.00   sec  3.54 MBytes  3.54 MBytes/sec    0    201 KBytes       
[  4]   2.00-3.00   sec  9.32 MBytes  9.32 MBytes/sec    0    488 KBytes       
[  4]   3.00-4.00   sec  6.77 MBytes  6.77 MBytes/sec    0    706 KBytes       
[  4]   4.00-5.00   sec  3.67 MBytes  3.66 MBytes/sec    0    741 KBytes       
[  4]   5.00-6.00   sec  2.11 MBytes  2.11 MBytes/sec    0    788 KBytes       
[  4]   6.00-7.00   sec  4.04 MBytes  4.04 MBytes/sec    0    788 KBytes       
[  4]   7.00-8.00   sec  1.68 MBytes  1.68 MBytes/sec    0    788 KBytes       
[  4]   8.00-9.00   sec  5.97 MBytes  5.96 MBytes/sec    0    789 KBytes       
[  4]   9.00-10.00  sec  6.21 MBytes  6.21 MBytes/sec    0    790 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  45.1 MBytes  4.51 MBytes/sec    0             sender
[  4]   0.00-10.00  sec  41.4 MBytes  4.14 MBytes/sec                  receiver

$ iperf3 -c linksys -fM -R
Connecting to host linksys, port 5201
Reverse mode, remote host linksys is sending
[  4] local 192.168.51.3 port 33532 connected to 192.168.51.254 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  4.49 MBytes  4.49 MBytes/sec                  
[  4]   1.00-2.00   sec  1.78 MBytes  1.78 MBytes/sec                  
[  4]   2.00-3.00   sec  2.77 MBytes  2.77 MBytes/sec                  
[  4]   3.00-4.00   sec  4.57 MBytes  4.57 MBytes/sec                  
[  4]   4.00-5.00   sec  5.19 MBytes  5.19 MBytes/sec                  
[  4]   5.00-6.00   sec  5.38 MBytes  5.38 MBytes/sec                  
[  4]   6.00-7.00   sec  4.80 MBytes  4.80 MBytes/sec                  
[  4]   7.00-8.00   sec  4.85 MBytes  4.85 MBytes/sec                  
[  4]   8.00-9.00   sec  4.72 MBytes  4.72 MBytes/sec                  
[  4]   9.00-10.00  sec  5.16 MBytes  5.16 MBytes/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  45.1 MBytes  4.51 MBytes/sec    6             sender
[  4]   0.00-10.00  sec  44.4 MBytes  4.43 MBytes/sec                  receiver

Laptop 5GHZ / Server Gigabit:

$ iperf3 -c backup -fM
Connecting to host backup, port 5201
[  4] local 192.168.51.3 port 57738 connected to 192.168.51.10 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  58.0 MBytes  58.0 MBytes/sec    1    713 KBytes       
[  4]   1.00-2.00   sec  60.2 MBytes  60.2 MBytes/sec    0    807 KBytes       
[  4]   2.00-3.00   sec  23.7 MBytes  23.7 MBytes/sec   14    826 KBytes       
[  4]   3.00-4.00   sec  32.5 MBytes  32.5 MBytes/sec    0    826 KBytes       
[  4]   4.00-5.00   sec  60.7 MBytes  60.5 MBytes/sec    0    829 KBytes       
[  4]   5.00-6.00   sec  56.2 MBytes  56.3 MBytes/sec    1    648 KBytes       
[  4]   6.00-7.00   sec  59.5 MBytes  59.5 MBytes/sec    0    714 KBytes       
[  4]   7.00-8.00   sec  60.0 MBytes  60.0 MBytes/sec    1    598 KBytes       
[  4]   8.00-9.00   sec  39.1 MBytes  39.1 MBytes/sec    0    650 KBytes       
[  4]   9.00-10.00  sec  30.8 MBytes  30.8 MBytes/sec    0    735 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   481 MBytes  48.1 MBytes/sec   17             sender
[  4]   0.00-10.00  sec   477 MBytes  47.7 MBytes/sec                  receiver

$ iperf3 -c backup -fM -R
Connecting to host backup, port 5201
Reverse mode, remote host backup is sending
[  4] local 192.168.51.3 port 58190 connected to 192.168.51.10 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  26.7 MBytes  26.7 MBytes/sec                  
[  4]   1.00-2.00   sec  44.6 MBytes  44.6 MBytes/sec                  
[  4]   2.00-3.00   sec  67.2 MBytes  67.2 MBytes/sec                  
[  4]   3.00-4.00   sec  71.7 MBytes  71.8 MBytes/sec                  
[  4]   4.00-5.00   sec  41.6 MBytes  41.6 MBytes/sec                  
[  4]   5.00-6.00   sec  29.2 MBytes  29.2 MBytes/sec                  
[  4]   6.00-7.00   sec  20.7 MBytes  20.7 MBytes/sec                  
[  4]   7.00-8.00   sec  48.1 MBytes  48.1 MBytes/sec                  
[  4]   8.00-9.00   sec  34.8 MBytes  34.8 MBytes/sec                  
[  4]   9.00-10.00  sec  45.8 MBytes  45.7 MBytes/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   434 MBytes  43.4 MBytes/sec   43             sender
[  4]   0.00-10.00  sec   431 MBytes  43.1 MBytes/sec                  receiver

Laptop 2.4GHZ / Server Wired Gigabit:

$ iperf3 -c backup -fM   
Connecting to host backup, port 5201
[  4] local 192.168.51.3 port 32916 connected to 192.168.51.10 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   666 KBytes  0.65 MBytes/sec    0   86.3 KBytes       
[  4]   1.00-2.00   sec  3.11 MBytes  3.11 MBytes/sec    0    188 KBytes       
[  4]   2.00-3.00   sec  4.23 MBytes  4.23 MBytes/sec    0    288 KBytes       
[  4]   3.00-4.00   sec  4.47 MBytes  4.47 MBytes/sec    0    397 KBytes       
[  4]   4.00-5.00   sec  6.52 MBytes  6.53 MBytes/sec    0    536 KBytes       
[  4]   5.00-6.00   sec  7.08 MBytes  7.08 MBytes/sec    9    706 KBytes       
[  4]   6.00-7.00   sec  2.30 MBytes  2.30 MBytes/sec    0    706 KBytes       
[  4]   7.00-8.00   sec  5.16 MBytes  5.16 MBytes/sec    0    706 KBytes       
[  4]   8.00-9.00   sec  8.75 MBytes  8.75 MBytes/sec    0    706 KBytes       
[  4]   9.00-10.00  sec  8.03 MBytes  8.03 MBytes/sec    0    706 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  50.3 MBytes  5.03 MBytes/sec    9             sender
[  4]   0.00-10.00  sec  46.9 MBytes  4.69 MBytes/sec                  receiver

$ iperf3 -c backup -fM -R
Connecting to host backup, port 5201
Reverse mode, remote host backup is sending
[  4] local 192.168.51.3 port 33380 connected to 192.168.51.10 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  4.55 MBytes  4.55 MBytes/sec                  
[  4]   1.00-2.00   sec  3.49 MBytes  3.49 MBytes/sec                  
[  4]   2.00-3.00   sec  6.29 MBytes  6.29 MBytes/sec                  
[  4]   3.00-4.00   sec  4.98 MBytes  4.98 MBytes/sec                  
[  4]   4.00-5.00   sec  4.79 MBytes  4.79 MBytes/sec                  
[  4]   5.00-6.00   sec  5.32 MBytes  5.32 MBytes/sec                  
[  4]   6.00-7.00   sec  5.15 MBytes  5.15 MBytes/sec                  
[  4]   7.00-8.00   sec  5.63 MBytes  5.63 MBytes/sec                  
[  4]   8.00-9.00   sec  5.14 MBytes  5.14 MBytes/sec                  
[  4]   9.00-10.00  sec  3.26 MBytes  3.26 MBytes/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  51.4 MBytes  5.14 MBytes/sec    0             sender
[  4]   0.00-10.00  sec  51.0 MBytes  5.10 MBytes/sec                  receiver

This release seems very stable ! Thanks @eduperez

As Openwrt is going to be replaced by LEDE as far as i know, you should better give a try to LEDE Snapshot which Wifi drivers is stable but not very performant, or LEDE 17.01 with @eduperez latest driver (very good except for 2.4Ghz in my tests), or wait for LEDE to embeed latest driver in their snapshot (please, please, please... :slight_smile: )

@jwilczek These issues are only on the WRT3200ACM model.

ATTENTION: I had to rebuild the repository and rename it, it is now available at https://github.com/eduperez/mwlwifi_LEDE.

There is a new version available at: https://github.com/eduperez/mwlwifi_LEDE/releases/download/6d1595e/kmod-mwlwifi_4.4.61.10.3.4.0-20170512-6d1595e-1_arm_cortex-a9_vfpv3.ipk

@eduperez
https://github.com/eduperez/mwlwifi0e6df8d8-e302-4d93-b618-d323dbdf7b48LEDE
UNIX error 404 (not found)

Sorry, but... where did you get that link? That is not the link I just posted, and does not look like any of the links I have posted before...

@eduperez
Something is wrong here, I got it https://github.com/eduperez/mwlwifi_LEDE now

I'm getting the link in FF v53.0.2 (32-bit) when I click on your link

@eduperez

Found it. in FF v53.0.2 (32-bit) it's showing how many times it was clicked on in your link

@gufus: My mistake: the new URL has an underscore character, and an underscore character is also used in the forum to use italics; the forum code got confused, I tried to help, and the result was that mess. It should be fixed now, thanks for reporting it.

New version available at https://github.com/eduperez/mwlwifi_LEDE/releases/download/2d4b9bc/kmod-mwlwifi_4.4.61.10.3.4.0-20170512-2d4b9bc-1_arm_cortex-a9_vfpv3.ipk.

1 Like

New version available at https://github.com/eduperez/mwlwifi_LEDE/releases/download/36bc327/kmod-mwlwifi_4.4.61.10.3.4.0-20170606-36bc327-1_arm_cortex-a9_vfpv3.ipk.

With the latest build...

Getting dropped packets on 5ghz and 2.4ghz. 5ghz requires more and more frequent manual disconnect/reconnect cycles to restore connectivity before crashing the router outright. Not seeing anything obvious in kernel logs.

Any insights or specific places to look for problems?

@Robert: I think you should open an issue report at https://github.com/kaloz/mwlwifi/issues

Are these drivers for the new stable release of LEDE?

No, these are for 17.01.1, I still have not upgraded to 17.01.2; give me a couple of days, max.

That is awesome!
I will wait !