1
0
Fork 0
forked from mirror/openwrt

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>
This commit is contained in:
Eneas U de Queiroz 2025-11-06 11:57:26 -03:00 committed by Robert Marko
parent d97e529f1f
commit e50703d033

View file

@ -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);