summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEneas U de Queiroz2025-11-06 14:57:26 +0000
committerRobert Marko2025-11-10 10:46:55 +0000
commite50703d033268f721a1e86a2673bc09d3b27e65c (patch)
tree245b00d88e695ec5fe4e4d2baca9492bb144615f
parentd97e529f1fad6d09a71485367a0491ca8861f129 (diff)
downloadopenwrt-e50703d033268f721a1e86a2673bc09d3b27e65c.tar.gz
wifi-scripts: ucode: iwinfo: show ESSID in scan
This adds the ESSID: line to the iwinfo scan results. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20686 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rwxr-xr-xpackage/network/config/wifi-scripts/files-ucode/usr/bin/iwinfo1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/config/wifi-scripts/files-ucode/usr/bin/iwinfo b/package/network/config/wifi-scripts/files-ucode/usr/bin/iwinfo
index b3a04e8390..5f6743dfd2 100755
--- a/package/network/config/wifi-scripts/files-ucode/usr/bin/iwinfo
+++ b/package/network/config/wifi-scripts/files-ucode/usr/bin/iwinfo
@@ -69,6 +69,7 @@ function print_scan(cells) {
for (let cell in cells) {
printf('Cell %02d - Address: %s\n', idx++, cell.bssid);
+ printf('\t ESSID: %s\n', cell.ssid ? '"' + cell.ssid + '"' : 'unknown');
printf('\t Mode: %s Frequency: %s GHz Band: %s GHz Channel: %d\n', cell.mode, cell.frequency, cell.band, cell.channel);
printf('\t Signal: %d dBm Quality: %2d/70\n', cell.dbm, cell.quality);