Search Linux Wireless

Re: [PATCH] hostapd: use nl80211 instead of prism ioctls to create interfaces

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

 



On Mon, 2007-09-03 at 18:16 -0700, Jouni Malinen wrote:

> Where are things like NL80211_ATTR_IFNAME and
> NL80211_CMD_ADD_VIRTUAL_INTERFACE defined? I would assume these are from
> linux/nl80211.h, but where should I get the version that includes these?

You have to use the one from wireless-dev as we don't ship it from
mainline yet.

> This is making it a bit difficult to build driver_devicescape.c and same
> goes for the requirement for svn trunk version of libnl.. Any idea how
> much code from libnl is needed here? Would it be major effort to do the
> needed calls without having to rely on libnl at or (or at least not on
> an unreleased svn trunk version)?

There's a whole bunch of code in libnl I use, all the generic netlink
family resolving etc. Maybe Thomas can prerelease a libnl with generic
netlink support?

> This is not good direction to go to.. I would really not like to include
> linux/*.h unless absolutely needed since these header files have been
> very likely to conflict with glibc ones and there is not really that
> much guarantees in people wanting to keep kernel header files suitable
> for inclusion into user space programs.

Actually, the latter point hasn't been true for a long time, ever since
David Woodhouse cleaned up exporting kernel headers to userspace glibc
has happily shipped them.

> I would much rather use these for now and should the /usr/include/linux
> directory in most distributions some day have all the needed stuff, then
> we could move towards using those.

It really ought to have the wireless stuff except for nl80211.h

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