Search Linux Wireless

Re: iwl4965 - wpa_supplicant can't see 5Ghz frequencies - 2.6.26-rc1 kernel

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

 



> >         memset(&iwe, 0, sizeof(iwe));
> >         iwe.cmd = SIOCGIWFREQ;
> > -       iwe.u.freq.m = bss->freq;
> > -       iwe.u.freq.e = 6;
> > +       iwe.u.freq.m = ieee80211_frequency_to_channel(bss->freq);
> > +       iwe.u.freq.e = 0;
> >         current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe,
> >                                           IW_EV_FREQ_LEN);
> > 
> >         memset(&iwe, 0, sizeof(iwe));
> >         iwe.cmd = SIOCGIWFREQ;
> > -       iwe.u.freq.m = ieee80211_frequency_to_channel(bss->freq);
> > -       iwe.u.freq.e = 0;
> > +       iwe.u.freq.m = bss->freq;
> > +       iwe.u.freq.e = 6;
> >         current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe,
> >                                           IW_EV_FREQ_LEN);
> 
> Wait a minute; what's mac80211 sending _two_ FREQ events for?  That's
> not right.

Why not? It has always done that, different units, one with channel and
one with freq, iwlist will show both which is very useful.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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