How to compile older version of mwlwifi for current releases?

I unfortunately cannot help you on the log.

Just some background info:
the actual WRT WiFi driver is not opensourced. The actual WiFi driver is a so called Fullmac proprietary binary loaded onto the chip. It has not been updated for years and will not get updates anymore (except if hell freezes over).
The repository you are referring to, is more like a loader and wrapper for that binary driver. So even if new open source magic would happen, only the loader and wrapper would get new patches by the community. Also this loader/wrapper is based on incomplete input that has less features that that used in the proprietary Linksys WRT firmware.

The WiFi chip company still exists, but has abandoned the chip binary driver support and does not even like open source, futhermore Linksys as a device company no longer exists, Linksys nowadays is only a product sales label for selling routers (alongside Belkin).

The proprietary driver is severly locked down. LuCi on the other hand does offer more options than what the loader and driver actually support and you can accidently set lots of WiFi options that dont like each other and will prevent the WRT WiFi from working properly. Avoid using too demanding WiFi settings.

On top of that, OpenWRT 21.02.xx in particular was mostly a bad release for WiFi on that WRT series. Though there are WRT series users that were able to use v21 WiFi, a lot of others had severe WiFi issues with all 21-releases. If you are a retro device fan and would like to continue, then at least try OpenWRT 22rc6 and do not migrate existing settings when flashing.

My recommendation would be: if you want hasslefree WiFi and a fully patched system, get a new device. Thr WRT Series for WiFi usage is a dead end.

2 Likes