Files
Paul Tobias 93d2f790d9 luci-mod-network: add link speed column to the devices tab
The negotiated link speed of a network device isn't shown on the Network
configuration pages, so a link stuck below its capability (e.g. a gigabit
port at 100 Mbit/s) goes unnoticed.

Add a "Link Speed" column to the Devices tab showing the negotiated speed,
with the device's ethtool-supported speeds in a tooltip when available, and
"-" when the device has no carrier or reports no speed. The columns are
ordered by OSI layer: link speed (L1) before MAC (L2) and MTU (L3).

The current speed comes from the device link state; the supported speeds are
the distinct network.device status "link-supported" modes, fetched once in
load(). Add the network.device "status" ACL grant so the view can call it.

Signed-off-by: Paul Tobias <github@tobias.pt>
2026-06-26 09:18:17 +02:00
..