On Wed, 2007-12-19 at 05:15 +0100, Michael Biebl wrote: > Dan Williams schrieb: > > On Tue, 2007-12-18 at 21:28 +0100, Michael Biebl wrote: > >> Michael Biebl schrieb: > >>> Michael Biebl schrieb: > >>> > >>>> So, NM is obviously getting the wrong freq from the card. > >>> Narrowed the problem further: > >>> iw_get_ext() in nm_device_802_11_wireless_get_frequency() sets > >>> wrq.u.freq to 0. > >> Actually, it's 1.0 > > > > Hmm; it could be that NM needs to do channel -> freq conversion here. > > It's a bit undefined whether drivers pass back the channel or the > > frequency. So I guess NM needs to handle both. There's defined > > semantics in the iw_float part to flag whether the returned value is a > > channel or a frequency. > > You were completey right. I switched the ap to channel 6, > now freq is 6.0. So indeed, it seems to return the channel, not the > frequency directly.
Can you try SVN r3189 and let me know if that works for you? Thanks, Dan > > > > Another possibility is that the driver has some issue with getting the > > frequency off the card periodically. > > Doesn't seem to be the case. > > Cheers, > Michael > _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
