Pre-compiled updated mwlwifi drivers for stable releases

Do you have a link to a patch that I can apply and build new drivers?

There was a patch to be found on one of the github forks off of mwlwifi, don't recall which individual. I never bothered, seemed simpler and more flexible to just alter file:

/etc/rc.local
echo "0" >> /sys/kernel/debug/ieee80211/phy0/mwlwifi/tx_amsdu && echo "0" >> /sys/kernel/debug/ieee80211/phy1/mwlwifi/tx_amsdu && logger "AMSDU Disabled"
2 Likes

@eduperez
In patch form
https://divested.dev/unofficial-openwrt-builds/mvebu-linksys/patches/0011-disable_amsdu.patch

If anyone knows who originally figured that out, please tell me so I can provide proper credit notice.

I have a WRT3200ACM with OpenWRT Stable 19.07.6, would this help WIFI stability on it?

That patch adds a script to the initialization process, that changes a couple of kernel parameters. That can be done manually, I do not think it should be part of the driver packages.

The issue was about latency, and iirc the issue was restricted to devices with 88W8864, presumably a bug in the FW, so should not be relevant to a rango. And you would want it enabled, assuming it is not bugged.

2 Likes
--- a/core.c
+++ b/core.c
@@ -982,7 +982,7 @@ struct ieee80211_hw *mwl_alloc_hw(int bus_type,
        priv->use_short_preamble = false;
        priv->disable_2g = false;
        priv->disable_5g = false;
-       priv->tx_amsdu = true;
+       priv->tx_amsdu = false;
        priv->hif.bus = bus_type;
        priv->hif.ops = ops;
        priv->hif.priv = (char *)priv + ALIGN(sizeof(*priv), NETDEV_ALIGN);

That should provide the same result, without having to add any dedicated procd service.

--
Disclaimer: Untested, I don't own any mwlwifi hardware.

1 Like

@eduperez

I hate to ask again but 19.07.7 has just been released and it would be nice to have your updated files for 19.07.7.

2 Likes

Sometimes, I think I still maintain this thread open just to be reminded of new releases before anybody else... it's in the oven right now :stuck_out_tongue_winking_eye:

5 Likes

Thank you SO much for your continued work on this.

Anything that helps these lovely, awful, messes of router-bits work semi-reliably is such a welcome thing!

2 Likes

It's up now at: https://github.com/eduperez/mwlwifi_LEDE/releases/tag/a2fd00b

7 Likes

@eduperez

Thanks a lot. I upgraded to OpenWRT 19.07.7 and used your files on my WRT3200ACM. WIFI seems stable as before and all is working good.

3 Likes

This is excellent.

I only got a WRT3200ACM a week ago despite talk of poor WiFi and it's still returnable but it appears to be worth the risk given there's not much else in its price bracket to match the stats. I'm getting 420mbs over 5ghz wireless on a 400mbs PPPoE to the ISP.

Previous driver had some stability issues not found in Linksys stock so got high hopes.

I now want to build this into a new image but never done it. I'm going hunting for answers but any pointers welcome.

Thanks for doing this.

1 Like

And I use your driver in combo with a unregulatory wireless-regdb (no dfs, 1000mw and unlocked channels).... And on a macbook pro 2020...I get 890mbps and 870 up from my fiber isp with a ping of 3.7-4.2ms tested with a distance of 30 meters....and still over 500 up/down, at my neighbor two floors down...

I told my friends and now I'm installing wrt1900acs and wrt3200 for a lot of openwrt and wifi speedfreaks, from airbnb locations to a owner of expensive super apartment...he has three 3200...with radius and vpn tunnel and multiple fiber wan. He has 2gbit bandwidth!
Now running 4 weeks without a glitch!

I'm on 21 specialized build with your mwlwifi, low latency kernel through hardware devcrypto and openssl libs and range over 200 meters from my house, urban environment!
I share a gigabit fiber with 2 neighbors, each with wrt1900acs for own wifi, each with adblock, dnscrypt-proxy2, adblock, IPv6, multiple ssid and VLAN isolated networks...running for 2 two weeks straight!

Thank you!

Are you sure that this is legal in your country?

Hence the 'are you sure it's legal in your country?'.

2 Likes

@eduperez The WIFI for my WRT3200ACM is terrible for v21.02.0-rc2, many disconnects and really not useable.

v21.02.0-rc3 is coming out today or in the next couple of days.

Would it be possible and would there be any benefits if you made your version of the WIFI drivers for v21.02.0-rc3?

I am just looking for decent speeds and especially stability and no random disconnects etc... that a I and others have been experiencing since the RCs have been put out for use.

OperWrt 21.02.0 already contains the latest version available at @kaloz site, and @thagabe abandoned his modifications... I do not think I can build newer packages.

1 Like

@eduperez Thanks.

1 Like

Unfortunately, it does not look like NXP plans to play nice.

Looks like they do not even want to answer this publicly but here it goes anyway:

From: NXP Tech Support tech.support@nxp.com
Subject: NXP support case: #00378643: “[Community] Plan to Update Public Wi-Fi Firmware Available on Kernel.org”: Project “”
Date: Fri, 09 Jul 2021 08:38:08 +0000

NXP is currently focusing on releasing (and testing) the latest NXP Wi-Fi chipsets driver and firmwares for NXP i.MX platforms.
Please refer to:
https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX

As we release the i.MX Linux SW using Yocto build system, anyone can find the latest wifi driver and FW on these repositories:

Some old NXP (ex-Marvell) Wifi chipsets driver and firmwares have been upstreamed to official Linux kernel in the past:

But unfortunately, NXP has no plan to update these official kernel driver/firmwares for now.