]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
wifi-scripts: expose connected_time in iwinfo assoclist
authorJohn Crispin <john@phrozen.org>
Tue, 24 Mar 2026 11:07:46 +0000 (12:07 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 24 Jun 2026 09:21:28 +0000 (11:21 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc

index 2cea4c543001191e670fe729ac7144c55be1a887..7519bdda940ad154b869eda4ffa2e8e6577c1d8e 100644 (file)
@@ -370,6 +370,7 @@ export function assoclist(dev) {
                                flags: assoc_flags(station.sta_info.tx_bitrate ?? {}),
                        },
                        expected_throughput: format_expected_throughput(station.sta_info.expected_throughput ?? 0),
+                       connected_time: station.sta_info.connected_time ?? 0,
                };
                ret[sta.mac] = sta;
        }