Subject: CVS commit: src/sys/net80211
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/19/2004 08:08:06
Module Name:	src
Committed By:	dyoung
Date:		Sun Dec 19 08:08:06 UTC 2004

Modified Files:
	src/sys/net80211: ieee80211.h ieee80211_output.c ieee80211_proto.h

Log Message:
Define for more bits in the Service field of the 802.11 PLCP Header.

For use by the subroutine ieee80211_compute_duration, add struct
ieee80211_duration, and #define a number of microsecond constants
used for the transmit timing of 802.11 packets.

Add the subroutine ieee80211_compute_duration, which computes for
any packet the appropriate 802.11 Duration field, the PLCP Length
field, as well as the Duration and Length fields for an RTS frame.

atw(4), rtw(4), future drivers, and possibly ath(4) will share
ieee80211_compute_duration.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/net80211/ieee80211.h
cvs rdiff -r1.17 -r1.18 src/sys/net80211/ieee80211_output.c
cvs rdiff -r1.5 -r1.6 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.