Felix Fietkau
119aa00a78
wifi-scripts: ucode: add support for iwinfo nl80211 phyname
...
It is needed for compatibility with scripts that rely on this
existing iwinfo behavior
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2025-07-18 12:33:14 +02:00
Sean Khan
0088a5a179
wifi-scripts: iwinfo: show units for signal and noise
...
Add 'dBm' units to 'Signal' and 'Noise' to match what non-ucode iwinfo shows.
Before:
Signal: -49 Noise: -103
After:
Signal: -49 dBm Noise: -103 dBm
Signed-off-by: Sean Khan <datapronix@protonmail.com >
Link: https://github.com/openwrt/openwrt/pull/18039
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-05-27 11:27:24 +02:00
Sean Khan
9bcc287414
wifi-scripts: iwinfo: don't show bitrate unit when unknown
...
When bitrate is unknown, the units shouldn't be displayed. This is
consistent with other "unknown" fields and non-ucode iwinfo.
Signed-off-by: Sean Khan <datapronix@protonmail.com >
Link: https://github.com/openwrt/openwrt/pull/18039
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-05-27 11:27:24 +02:00
John Crispin
0210279888
wifi-scripts: add ucode based iwinfo
...
Add an ucode based re-implementation of iwinfo. The tool behaves like the old
one with a few minor output differences. It is now possible to add -j to any
command resulting in JSON output.
The new code is currently opt-in via WIFI_SCRIPTS_UCODE and defaults to
EXPERIMENTAL.
Signed-off-by: John Crispin <john@phrozen.org >
2024-12-02 13:55:36 +01:00