Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/29/2005 21:08:26
Module Name:	src
Committed By:	dyoung
Date:		Thu Dec 29 21:08:26 UTC 2005

Modified Files:
	src/sys/dev/ic: atw.c atwvar.h rtw.c
	src/sys/net80211: ieee80211_output.c ieee80211_proto.h

Log Message:
In atw(4), use ieee80211_compute_duration() to compute IEEE 802.11
Duration and PLCP Length fields, and delete the abominable
atw_frame_setdurs() subroutine.

Make rtw(4) use the new ieee80211_compute_duration() calling
convention.

Add an ieee80211_key argument to ieee80211_compute_duration() and
lightly constify arguments.  Get the crypto header length from the
key argument instead of blithely assuming a WEP header.  Add some
inline documentation.  Account for data padding (IEEE80211_F_DATAPAD).


To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 src/sys/dev/ic/atw.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/ic/atwvar.h
cvs rdiff -r1.61 -r1.62 src/sys/dev/ic/rtw.c
cvs rdiff -r1.40 -r1.41 src/sys/net80211/ieee80211_output.c
cvs rdiff -r1.14 -r1.15 src/sys/net80211/ieee80211_proto.h

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