Re: [PATCH] Use libnl and nl80211 to get bitrate information



Well, iw does it, and i think the reason is to make it build on older
systems, for example here on jaunty, <linux/nl80211.h> is tad outdated,
and doesn't have the necessary symbols. If we don't ship our own version
- compilation fails, if we do ship, then it will fail on runtime and
automatically fall back to wext.

On Thu, 2009-09-24 at 10:56 -0700, Dan Williams wrote:
> On Thu, 2009-09-24 at 19:20 +0300, Valmantas Palikša wrote:
> > On Thu, 2009-09-24 at 18:13 +0200, drago01 wrote:
> > > 2009/9/24 Valmantas Palikša <walmis gmail com>:
> > > > This patch allows us to see 11n bitrates in nm-applet's connection
> > > > properties.
> > > >
> > > > Comments/suggestions?
> > > 
> > > Doesn't this break bitrate reporting on wext only drivers?
> > 
> > Good point.
> > Maybe I should first try nl80211 and then revert back to wext if it
> > fails.
> 
> Also, we probably don't want to include our own private copy of
> nl80211.h the same way we don't have our own private copy of wireless.h
> 
> Dan
> 
> 



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