diff options
| author | Eneas U de Queiroz | 2025-11-06 14:57:26 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-11-10 10:46:55 +0000 |
| commit | e50703d033268f721a1e86a2673bc09d3b27e65c (patch) | |
| tree | 245b00d88e695ec5fe4e4d2baca9492bb144615f | |
| parent | d97e529f1fad6d09a71485367a0491ca8861f129 (diff) | |
| download | openwrt-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-x | package/network/config/wifi-scripts/files-ucode/usr/bin/iwinfo | 1 |
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); |