Pre-compiled updated mwlwifi drivers for stable releases

Just a note: I needed to add this fix to resolve the issues I was seeing.

2 Likes

@eduperez would you be able to compile the older driver version for 21.02.0 release?

Similar to how you did with 21.02.0 -RC4. I feel like not enough testing or feedback came back from that. I feel like most users tried downgrading the firmware blog but I did not see any feedback on the older driver plus older firmware blog. I am willing to test if you are able to compile it.

Thank you for your time.

1 Like

I am having a bit of flaky response time on 2ghz/5ghz wifi.
Also looks like 5ghz periodically drops clients.
Is anyone of you have a stable one? If yes could you please share the setup?

//WRT1900AC v1 OpenWrt 21.02.0 r16279-5cc0535800
//AMSDU Disabled

After many testing, the router sooner or later ends with the same wifi problems...
May be you could try this, but you will get no more updates.

Now I´m using wrt1900acs-v2 with wifi OFF and a second router as wifi AP.

I have 1900ACS v1 and haven't noticed any problems running 19.07.7 (running for months with the drivers from eduperez) or 21.02.0 (running for a few weeks with stock drivers and the AMSDU fix).
Random note: I use the 5ghz radio only and the 2.4ghz one I turn off.

1 Like

I just uploaded the packages for the final release of 21.02.0, but using the older 31d93860 drivers, at:

After upgrading my machine, I cannot build packages for 19.07 any longer; I have to prepare a virtual machine, with an older version of the operating system, and this will take some time.

3 Likes

Thank you, sir.

@eduperez I just went to download the drivers for 21.02.0 and they don't seem to be there right now. I'm not sure if there was an issue and you had to take them down or not. But I figured I would let you know just in case. I would like to test them whenever they are ready. Thanks.

1 Like

Sorry... I was doing several things at the same time, and forgot to add the files before closing the browser; thanks for the heads up, the files are there now.

2 Likes

Thank you. I will install these drivers in a few hours on 21.02.0 and will reply again later if this prevents the wireless disconnects or not.

2 Likes

Hi all.

My 5 Ghz network was dropping connections and I found this posting when searching for a solution. I'm somewhat Linux proficient but new to openWRT. So took the plunge and I installed the drivers and after reboot the wireless interfaces are not associated anymore, and when I click on the Edit button I get the message Cannot read properties of undefined (reading 'value')

When checking the status of the wireless interfaces I get the status below.

Any help will be greatly appreciated.

Router is a wrt1900ACS V2 and openWRT version is 21.02.0, driver version is 10.3.8.0-20181210.

Thanks again.

cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path 'soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
        option country 'US'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option macaddr '30:23:03:d8:79:fb'
        option ssid 'Hershey5'
        option key 'fre3$55aj'
        option ieee80211w '1'
        option encryption 'psk2'
        option wpa_disable_eapol_key_retries '1'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
        option htmode 'HT20'
        option country 'US'
        option cell_density '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option macaddr '30:23:03:d8:79:fa'
        option ssid 'Hershey2'
        option encryption 'sae-mixed'
        option key 'fre3$55aj'
        option ieee80211w '1'

If your configuration isn't complex, I think the easiest fix for you would be to re-install or re-flash then use the fix referenced above: Pre-compiled updated mwlwifi drivers for stable releases - #726 by mortac8

I put it in System->Startup->Local Startup (in LuCI)

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.

echo 0 > /sys/kernel/debug/ieee80211/phy0/mwlwifi/tx_amsdu
echo 0 > /sys/kernel/debug/ieee80211/phy1/mwlwifi/tx_amsdu
logger "AMSDU Disabled"

exit 0
1 Like

Thanks :wink:

Would this work on 21.02.1 too?

@eduperez Thank you for taking your time to compile the driver/firmware packages for 21.02.0. I appreciate it.

Installation was successful. Unfortunately, however, the driver would fail to load and therefore the wireless interfaces can never initiate. It was worth a try though. I've been trying to rule out anything and everything to determine the issues going on with 21.02.0 and WRT3200/WRT32X wifi.

No, packages are specific to each kernel version; but I can build them for 21.02.1, too.

1 Like

Any error message?

Thanks :slightly_smiling_face::beers:.....

I apologize, but I did not look back in the syslog appropriately at the time. I remember glancing at the last (most recent) dozen or so lines in the syslog. But in hindsight, I realize that any hardware failing to initialize likely would have been much further back in the syslog.

I do recall that the Wireless page in LuCI did not even allow enabling the radios at all. It stated that the no device was associated for each radio. Although when looking in the wireless config, everything was correct. Also, it did not properly create the /var/run/hostapd-phy0.conf and /var/run/hostapd-phy0.conf files.

I assume that it has to do with the lack of patches that came after that driver version that were specific to "loading driver on kernel 5.3+".

I will have a look to that, thanks!

1 Like

I´ve tryed to compile but,

with

PKG_SOURCE_URL:=https://github.com/kaloz/mwlwifi
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2020-02-06
PKG_SOURCE_VERSION:=a2fd00bb74c35820dfe233d762690c0433a87ef5
PKG_MIRROR_HASH:=0eda0e774a87e58e611d6436350e1cf2be3de50fddde334909a07a15b0c9862b

it compiles ok but when I modify to

PKG_SOURCE_URL:=https://github.com/kaloz/mwlwifi
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2018-12-10
PKG_SOURCE_VERSION:=c1345bb1d84950da2651c9921c17b1dfe0f1fa30

I get error...

What am I doing wrong??

Thanks :+1: :+1: