Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 06/27/2005 05:49:13
Module Name:	src
Committed By:	dyoung
Date:		Mon Jun 27 05:49:13 UTC 2005

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

Log Message:
rtw:      Try to get hardware WEP to work.  It seems to work in
	  the RX direction, but not in the TX direction.  The
	  net80211 crypto framework doesn't seem to cope very well
	  with the assymetry (I'm probably missing something), so
	  I will use software WEP for now.

net80211: In ieee80211_compute_duration, figure out whether to add
	  the WEP header to the packet overhead by checking the
	  WEP bit in the Frame Control field of the 802.11 header,
	  instead of checking the IEEE80211_F_PRIVACY flag.

	  Also, if the WEP bit is present, assume that the frame
	  described by (wh, len) has already already been WEP
	  encapsulated, and adjust the payload length accordingly.
	  XXX that's a grotty hack that I will have to revisit,
	  later.


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 src/sys/dev/ic/rtw.c
cvs rdiff -r1.23 -r1.24 src/sys/dev/ic/rtwvar.h
cvs rdiff -r1.31 -r1.32 src/sys/net80211/ieee80211_output.c
cvs rdiff -r1.10 -r1.11 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.