Since 2.6.35 calling ioctl(x, SIOCSIWFREQ, &z) for getting the frequency the card is set onto fails, regardless of the driver. works fine in 2.6.34.
Whoops i means GIWFREQ not SIWFREQ of course...
What is the device you are using? Perhaps you could post the source code with your ioctl call as well?
On Friday, July 23, 2010, John W. Linville wrote: > On Fri, Jul 23, 2010 at 01:47:29PM +0200, Rafael J. Wysocki wrote: > > This message has been generated automatically as a part of a summary report > > of recent regressions. > > > > The following bug entry is on the current list of known regressions > > from 2.6.34. Please verify if it still should be listed and let the > tracking team > > know (either way). > > > > > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=16201 > > Subject : SIOCGIWFREQ ioctl fails to get frequency info > > Submitter : nuh <nuh@mailinator.net> > > Date : 2010-06-14 10:45 (40 days old) > > No response for the submitter, no reproducer -- I think it should be closed.
I have the same problem while using RTL8187 wifi adapter. It worked flawlessly before, and now it fails to report the frequency info. When I run airodump-ng (v1.1), it reports the problem as "fixed channel mon0: -1", where "-1" is the error value from wi_get_channel(), which relies on SIOCGIWFREQ in linux_get_channel().