Repository navigation
MilkFlint 0.43a
Pre-release
Pre-release
·
89 commits
to milkflint-25.12
since this release
An update to 0.42a with Wi-Fi fixes for devices that sleep, and kernel modules you can install. Still OpenWrt 25.12.6 and still an alpha.
What's new
- Kernel modules can be installed. MilkFlint's kernel isn't OpenWrt's, so OpenWrt's kernel modules (
kmod-*) don't install on it. Each MilkFlint image now lists its own kernel's modules in MilkFlint's feed at https://milkflint-packages.pages.dev, soapk updatethenapk add kmod-…, or LuCI's Software page, works as it does on OpenWrt. Modules for another MilkFlint's kernel are refused, so they can't break it. The MT7921/MT7925 and MT7996 Wi-Fi cards' drivers aren't in it. - Sleeping devices stay connected. When a phone or sensor has been quiet for a while, the router checks whether it's still there with an empty frame. That frame went out at once, even to a device that was asleep, so it was missed and the device could be disconnected "due to inactivity". It now waits until the device wakes, as other frames do.
- Nothing sent to a device while it sleeps. A device that went to sleep in the middle of a burst could have the rest sent anyway and miss it; the router now holds it until the device wakes. A failed hand-over to the Wi-Fi chip no longer leaves that device's queue stuck.
- Fewer lost frames from some devices. Devices that agree a receive window that isn't a power of two (6, 48, 100…) had frames dropped every time the sequence number wrapped, although the router had acknowledged them, so they were lost. A window the Wi-Fi chip refuses no longer leaves frames waiting for a timeout.
- Wi-Fi recovers more cleanly from a firmware reset: buffers are freed only after the hardware stops using them, broadcast and multicast traffic starts again afterwards, and a device that leaves during the reset no longer upsets the count of connected devices.
Where the changes come from
- From OpenWrt main: mac80211's expected throughput estimate without an RCU warning (e4d0856); it only changes anything on a kernel with lock debugging.
- MilkFlint's own: the mt76 fork's 0121-0136, with KUnit tests and simulations of sleeping devices and of block ack receive sessions, and the kernel module feed (the build makes every kmod, and each image names its kernel's folder in it).
Installing
Don't keep settings. Untick "Keep settings" when you flash, whether the router runs GL.iNet's firmware, OpenWrt or an earlier MilkFlint (from a shell:
sysupgrade -n). Settings from another firmware may not match this one.
- Flash only
milkflint-0.43a-r33311-981c978eff-mediatek-filogic-glinet_gl-mt6000-squashfs-sysupgrade.binbelow. Never a factory, preloader or bl31-uboot image. - From GL.iNet's firmware: System → Upgrade → Local Upgrade at http://192.168.8.1, untick "Keep Settings".
- From OpenWrt or MilkFlint: in LuCI, System → Backup / Flash Firmware → Flash image, untick "Keep settings". On MilkFlint, System → Upgrade works too.
- Then plug a cable into a LAN port and open http://192.168.1.1. There's no password yet: sign in with it empty and set one. Wi-Fi is off until you set it up on the Wi-Fi page.
To go back, flash GL.iNet's firmware the same way, again without keeping settings.
Source
Branch milkflint-25.12 at 01eb033859. Building it is in the README.
SHA-256 of the image: bfa1b1422f7d403899489783c85b368548d3a0d9b3e657f295bdfacdd3ac5f54