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



The package that provides headers in /usr/include/linux is
linux-libc-dev which is not updated with custom kernels :)


On Thu, 2009-09-24 at 12:05 -0700, Dan Williams wrote:
> On Thu, 2009-09-24 at 21:57 +0300, Valmantas Palikša wrote:
> > 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.
> 
> So, you've got an updated kernel with the necessary nl80211 commands,
> but not updated kernel headers?  The kernel devel headers should be
> shipped with your kernel.
> 
> Dan
> 
> > 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]