wifi-scripts: ucode: iwinfo: show ESSID in scan
authorEneas U de Queiroz <[email protected]>
Thu, 6 Nov 2025 14:57:26 +0000 (11:57 -0300)
committerRobert Marko <[email protected]>
Mon, 10 Nov 2025 10:46:55 +0000 (11:46 +0100)
This adds the ESSID: line to the iwinfo scan results.

Signed-off-by: Eneas U de Queiroz <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20686
Signed-off-by: Robert Marko <[email protected]>
package/network/config/wifi-scripts/files-ucode/usr/bin/iwinfo

index b3a04e8390301fbd0354ed740fe9d5e904564880..5f6743dfd2347581050bc30089834e70ca79285b 100755 (executable)
@@ -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);