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:
parent
bbe424f394
commit
0172c97759
1 changed files with 3 additions and 1 deletions
|
@ -659,8 +659,10 @@ static void print_scanlist(const struct iwinfo_ops *iw, const char *ifname)
|
||||||
format_bssid(e->mac));
|
format_bssid(e->mac));
|
||||||
printf(" ESSID: %s\n",
|
printf(" ESSID: %s\n",
|
||||||
format_ssid(e->ssid));
|
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],
|
IWINFO_OPMODE_NAMES[e->mode],
|
||||||
|
format_frequency(e->mhz),
|
||||||
|
format_band(e->band),
|
||||||
format_channel(e->channel));
|
format_channel(e->channel));
|
||||||
printf(" Signal: %s Quality: %s/%s\n",
|
printf(" Signal: %s Quality: %s/%s\n",
|
||||||
format_signal(e->signal - 0x100),
|
format_signal(e->signal - 0x100),
|
||||||
|
|
Loading…
Add table
Reference in a new issue