Search Linux Wireless

Re: [PATCH] ieee80211: Output frequency rather than channel in scan results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-04-21 at 17:55 -0500, Larry Finger wrote:
> Dan Williams wrote:
> > On Sat, 2007-04-21 at 00:12 -0400, Pavel Roskin wrote:
> >> Quoting Larry Finger <Larry.Finger@xxxxxxxxxxxx>:
> >>
> >>> In ieee80211, the output of scan results lists channels rather than
> >>> frequencies; however, NetworkManager needs frequency. This patch
> >>> changes the output from channel to frequency.
> >> The driver can report both, and I think it should.  This would make the iwlist
> >> output a bit longer, but kernel drivers shouldn't be written to make userspace
> >> program generate pretty output.
> > 
> > I'm trying to remember why NM cares about frequency, and I think it's
> > for ad-hoc mode; but wpa_supplicant didn't historically support a
> > "channel" configuration parameter and so you can't create adhoc networks
> > with NM right now anyway...  What's the failure mode?
> 
> In the KDE NM applet, the frequency is listed as 0.

Haha.  Ok.  NM should be smarter about this and convert channels
returned by the driver into frequencies.  In the end, I prefer
frequencies where at all possible, because channel numbers are _not_
unique (unless you use the the tuple of [standard, band, channel] where
standard is something like "802.11" or "802.16", band is "a" or "bg").

Dan


Dan


-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux