Repository navigation
MilkFlint 0.5a
Pre-release
Pre-release
·
82 commits
to milkflint-25.12
since this release
An update to 0.43a with fairer Wi-Fi for marked traffic, L4S marking in Smart Queue, and clearer Network Quality charts. Still OpenWrt 25.12.6 and still an alpha.
What's new
- Marked traffic can't take over the Wi-Fi. OpenWrt's QoS map puts anything marked as network control, or with a higher mark, on the voice queue, ahead of everything else and sent without aggregation, so one flow marked that way could slow the whole network. The default now follows RFC 8325 for Wi-Fi at the network's edge: calls first, then video, background transfers last, and network control as ordinary traffic. A network can still choose OpenWrt's map under Wi-Fi → Radios & SSIDs → Priority of marked traffic, or set its own
qos_map_set. - Downloads can keep their devices' priorities (off by default). Devices mark what they send as calls, video or background transfers, but those marks don't survive the way back from the internet. Smart Queue's "Keep devices' priorities on downloads" puts each connection's mark back on its downloads, so Wi-Fi sends a call's ahead of other traffic and a backup's behind it. ECN marks are never overwritten. It needs Smart Queue on the download.
- L4S traffic is marked by how long it waited. Smart Queue's usual marks are far too few for L4S senders, which cut their rate only a little for each one, so they kept a longer queue than they should. CAKE now marks ECT(1) packets by their own wait, from the latency target to twice it, with no effect on other flows. It's on by default; Performance Tuning has the choice of where it starts, or off.
- Busy devices share the Wi-Fi's queue better. The radio's total queue limit (AQL) is now 1.2 times a device's high limit instead of mac80211's fixed 24 ms, which a few busy devices never reached, so each kept its full limit waiting. A device on its own isn't affected. Performance Tuning has the setting.
- Spatial reuse per radio. Wi-Fi → Radios & SSIDs can leave spatial reuse (802.11ax OBSS PD) to the firmware as before, let devices use it too, set a fixed threshold, or turn it off, and a change applies at once without restarting Wi-Fi. Automatic stays the default.
- The voice queue is aggregated by default. Stock OpenWrt's mt76 sends voice frames one at a time, so a device that has just joined and gets nothing else can stay at the lowest rate, and even a modest flow marked as voice then takes the air from everyone. MilkFlint now sends them in groups, as it does everything else. If a device starts dropping out during calls, Performance Tuning's Wi-Fi driver card can turn it off.
- Network Quality charts: real clock times, a table of each line's current, typical, best and worst values and its losses, a shaded band up to the slowest answer on the longer views, marks for lost probes and for gaps in the record, and each card's data as CSV. Selecting a name in the table hides its line and rescales the chart.
Where the changes come from
- MilkFlint's own: the L4S ramp in
sch_cake(760-16), the QoS map inwifi-scripts, the restored DSCP in conntrack andsch_cake(717, 760-17), and the mt76 fork's 0137 for spatial reuse, with KUnit tests. Restored DSCP's kernel parts are switched off until the Smart Queue setting turns them on.
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.5a-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 be2a90733b. Building it is in the README.
SHA-256 of the image: 1828e0af7e5104f3c5db0b9325e03c3260314ee66a1f55e6849bc83840d5d442