Discussion:
ieee80211_proto.h
(too old to reply)
Jukka Ruohonen
2008-07-17 18:24:38 UTC
Permalink
Hi.

A small problem: inclusion of <net80211/ieee80211_proto.h> results undefined
references in userspace due to the IASSERT in the function
ieee80211_hdrsize(). I didn't prepare a diff, but perhaps the whole
assertion could be omitted or handled differently?

Thanks,

Jukka R.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2008-07-17 18:48:09 UTC
Permalink
Post by Jukka Ruohonen
Hi.
A small problem: inclusion of <net80211/ieee80211_proto.h> results undefined
references in userspace due to the IASSERT in the function
ieee80211_hdrsize(). I didn't prepare a diff, but perhaps the whole
assertion could be omitted or handled differently?
ieee80211_proto.h is probably not meant to be included from userspace.
What are you trying to do? There may be another way.

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933 ext 24

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Jukka Ruohonen
2008-07-17 19:55:53 UTC
Permalink
Post by David Young
ieee80211_proto.h is probably not meant to be included from userspace.
What are you trying to do? There may be another way.
I am working on a small wireless sniffer (i.e. everything is passed directly
to userspace via bpf; no libpcap involved). One design solution was to
follow the generic ieee80211(4)-framework as closely as is possible.

It works very well for this purpose too and I can naturally roll my own
functions/macros, but given that I use ieee80211.h-structures, it feels
stupid to rewrite something that is already there.

So not a problem as such. Can you give any other hints about kernel-only
headers in this context?


- Jukka R.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...