cli: print the frequency and band on the scan list

Provide band and frequency info on scan list dump.

Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
Andre Heider 2022-11-24 17:37:16 +01:00 committed by Christian Marangi
parent bbe424f394
commit 0172c97759
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View file

@ -659,8 +659,10 @@ static void print_scanlist(const struct iwinfo_ops *iw, const char *ifname)
format_bssid(e->mac));
printf(" ESSID: %s\n",
format_ssid(e->ssid));
printf(" Mode: %s Channel: %s\n",
printf(" Mode: %s Frequency: %s Band: %s Channel: %s\n",
IWINFO_OPMODE_NAMES[e->mode],
format_frequency(e->mhz),
format_band(e->band),
format_channel(e->channel));
printf(" Signal: %s Quality: %s/%s\n",
format_signal(e->signal - 0x100),