Hi,
dev <devname> link
prints the SSID and frequency, when connected.
To figure out the channel however (if you don't
know it by heart), you need to use
dev <devname> info
which will print the channel along with the
frequency (though not the current SSID).
With attached patch,
dev <devname> link
prints the channel along with the frequency, e.g. as:
freq: 2442
channel: 7
.
I find it more convenient this way.
-- madman.