Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   dyoung
Date:           Thu Dec 23 06:08:52 UTC 2004

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

Log Message:
Fix a bug in ieee80211_compute_duration: the 802.11 Duration field
in an 802.11 unicast data packet is equal to the duration of the
SIFS and Acknowledgement.  That is, the amount of time reserved
*after* the packet has finished transmitting.

Change the arguments to ieee80211_compute_duration: pass the entire
packet length, not just the payload length.  Add a 'debug' argument
to ieee80211_compute_duration and its helper subroutine,
ieee80211_compute_duration1.

If debug != 0, ieee80211_compute_duration printfs its arguments
and several local variables.

In rtw(4), load the 802.11 Duration field with the result from
ieee80211_compute_duration.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sys/dev/ic/rtw.c
cvs rdiff -r1.18 -r1.19 src/sys/net80211/ieee80211_output.c
cvs rdiff -r1.6 -r1.7 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.




Home | Main Index | Thread Index | Old Index