summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umidi_quirks.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2004-12-23 12:27:26 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2004-12-23 12:27:26 +0000
commit5b3741465a246af2b76c661980d5cbda025f0a91 (patch)
tree4473c8672ea5c1430160978759bf4ce98ae0b36f /sys/dev/usb/umidi_quirks.c
parent807cdc363609813a12255e42680c9488df2b7e9e (diff)
From dyoung@NetBSD:
ieee80211.h r 1.9 #define the difference in microseconds between a fast and a slow preamble and PLCP header. ieee80211_output.c r 1.19 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.
Diffstat (limited to 'sys/dev/usb/umidi_quirks.c')
0 files changed, 0 insertions, 0 deletions