Search Linux Wireless

Re: [PATCH v3] mac80211/cfg80211: report monitor channel in wireless extensions

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

 



On Thu, 2011-11-10 at 10:28 +0100, Gábor Stefanik wrote:

> > @@ -1342,6 +1342,9 @@ struct cfg80211_gtk_rekey_data {
> >  *     doesn't verify much. Note, however, that the passed netdev may be
> >  *     %NULL as well if the user requested changing the channel for the
> >  *     device itself, or for a monitor interface.
> > + * @get_channel: Get the current operating channel, should return %NULL if
> > + *     there's no single defined operating channel if for example the
> > + *     device implements channel hopping for multi-channel virtual interfaces.
> 
> Why not return the the channel the radio is tuned to at the moment of
> the request in that case?

Mostly, you won't even know. In many cases the device will switch
internally. And even if you could know, since it's switching many times
per second it'll be completely useless.

Frankly, I think this whole thing is completely useless. IMNSHO aircrack
or whatever tool uses this is brain-dead since radiotap reports the
correct frequency for each frame *anyway*.

johannes

--
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