Subject: CVS commit: src/sys/net80211
To: None <>
From: David Young <>
List: source-changes
Date: 09/07/2003 01:22:23
Module Name:	src
Committed By:	dyoung
Date:		Sun Sep  7 01:22:23 UTC 2003

Modified Files:
	src/sys/net80211: ieee80211.c ieee80211_crypto.c ieee80211_input.c
	    ieee80211_ioctl.c ieee80211_ioctl.h ieee80211_node.c
	    ieee80211_node.h ieee80211_output.c ieee80211_proto.c
Added Files:
	src/sys/net80211: ieee80211_compat.c ieee80211_compat.h

Log Message:
First stab at producing a unified NetBSD/FreeBSD 802.11 layer,
striving to keep the diffs short and simple.

  * Replace FreeBSDisms (e.g. struct arpcom) with conditionally-compiled
    NetBSDism (struct ethercom).

  * Add compatibility shims in ieee80211_compat.*: provide NetBSD with
    if_printf, for example.

  * Convert FreeBSD node mutex uses to generic node critical-section
    protection (ieee80211_node_critsect_begin, _end), replace
    FreeBSD atomic arithmetic with generic alternative, and implement
    generics in NetBSD

  * Provide NetBSD-style 802.11 ioctls

  * Style nits

To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 src/sys/net80211/ieee80211.c \
    src/sys/net80211/ieee80211_crypto.c src/sys/net80211/ieee80211_input.c \
    src/sys/net80211/ieee80211_ioctl.c src/sys/net80211/ieee80211_ioctl.h \
    src/sys/net80211/ieee80211_node.c src/sys/net80211/ieee80211_node.h \
    src/sys/net80211/ieee80211_output.c src/sys/net80211/ieee80211_proto.c \
cvs rdiff -r0 -r1.1 src/sys/net80211/ieee80211_compat.c \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.