* 802.11 headers
@ 2006-08-17 7:48 Johannes Berg
2006-08-17 12:34 ` Jiri Benc
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2006-08-17 7:48 UTC (permalink / raw)
To: netdev; +Cc: Jiri Benc, Jouni Malinen, David Woodhouse
The d80211 headers are messy. Before merging, we definitely need to
clean them up and split them between userland-visible and kernel-only
headers, or else ... ;)
My current thoughts:
- net/d80211_common.h can die sometime soon due to being replaced with
linux/nl80211.h (to be published today).
- net/d80211_mgmt.h needs cleaning up (I know Michael has been doing
some of that), and then should probably be renamed to
linux/ieee80211.h and be userland-visible, and contain a bunch of
other frame definitions as well. A bit like net/ieee80211.h now,
though more protocol-centric.
- net/ieee80211_radiotap.h should be userland-visible, and hence
linux/radiotap.h or such.
- net/d80211_shared.h probably has the same fate as
net/d80211_common.h, except for the _RATE_* thingies, but I'm not
sure why they should be userland-visible.
- net/d80211.h can stay there as-is, it's in-kernel only API.
Or put another way, my suggestions:
- put all in-kernel API (for drivers) into net/d80211.h
- put stuff defined in the IEEE 802.11 specification series into
linux/ieee80211.h, make user-visible (headers-y in Kbuild!). This
serves just as a reference. It's not really necessary that the kernel
ships this, but we need it in the kernel and probably won't be
pulling it from some other source. Besides, I wouldn't know where
else to maintain it.
- radiotap simply moves to linux/ and gets to be userland-visible. Of
course, d80211 should actually start using it too ;)
- all the other userland stuff seems to be configuration related and
hence moves over to linux/nl80211.h
Comments?
johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 802.11 headers
2006-08-17 7:48 802.11 headers Johannes Berg
@ 2006-08-17 12:34 ` Jiri Benc
2006-08-17 12:43 ` John W. Linville
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Benc @ 2006-08-17 12:34 UTC (permalink / raw)
To: Johannes Berg; +Cc: netdev, Jouni Malinen, David Woodhouse
On Thu, 17 Aug 2006 09:48:19 +0200, Johannes Berg wrote:
> My current thoughts:
> - net/d80211_common.h can die sometime soon due to being replaced with
> linux/nl80211.h (to be published today).
> - net/d80211_mgmt.h needs cleaning up (I know Michael has been doing
> some of that), and then should probably be renamed to
> linux/ieee80211.h and be userland-visible, and contain a bunch of
> other frame definitions as well. A bit like net/ieee80211.h now,
> though more protocol-centric.
> - net/ieee80211_radiotap.h should be userland-visible, and hence
> linux/radiotap.h or such.
> - net/d80211_shared.h probably has the same fate as
d80211_shared.h should probably be merged into d80211.h.
> net/d80211_common.h, except for the _RATE_* thingies, but I'm not
> sure why they should be userland-visible.
> - net/d80211.h can stay there as-is, it's in-kernel only API.
>
> Or put another way, my suggestions:
> - put all in-kernel API (for drivers) into net/d80211.h
> - put stuff defined in the IEEE 802.11 specification series into
> linux/ieee80211.h, make user-visible (headers-y in Kbuild!). This
> serves just as a reference. It's not really necessary that the kernel
> ships this, but we need it in the kernel and probably won't be
> pulling it from some other source. Besides, I wouldn't know where
> else to maintain it.
> - radiotap simply moves to linux/ and gets to be userland-visible. Of
> course, d80211 should actually start using it too ;)
> - all the other userland stuff seems to be configuration related and
> hence moves over to linux/nl80211.h
>
> Comments?
I like this proposal.
Jiri
--
Jiri Benc
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 802.11 headers
2006-08-17 12:34 ` Jiri Benc
@ 2006-08-17 12:43 ` John W. Linville
0 siblings, 0 replies; 3+ messages in thread
From: John W. Linville @ 2006-08-17 12:43 UTC (permalink / raw)
To: Jiri Benc; +Cc: Johannes Berg, netdev, Jouni Malinen, David Woodhouse
On Thu, Aug 17, 2006 at 02:34:43PM +0200, Jiri Benc wrote:
> On Thu, 17 Aug 2006 09:48:19 +0200, Johannes Berg wrote:
> > Or put another way, my suggestions:
> > - put all in-kernel API (for drivers) into net/d80211.h
> > - put stuff defined in the IEEE 802.11 specification series into
> > linux/ieee80211.h, make user-visible (headers-y in Kbuild!). This
> > serves just as a reference. It's not really necessary that the kernel
> > ships this, but we need it in the kernel and probably won't be
> > pulling it from some other source. Besides, I wouldn't know where
> > else to maintain it.
> > - radiotap simply moves to linux/ and gets to be userland-visible. Of
> > course, d80211 should actually start using it too ;)
> > - all the other userland stuff seems to be configuration related and
> > hence moves over to linux/nl80211.h
> >
> > Comments?
>
> I like this proposal.
I second that.
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-17 12:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-17 7:48 802.11 headers Johannes Berg
2006-08-17 12:34 ` Jiri Benc
2006-08-17 12:43 ` John W. Linville
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).