summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_diskqueue.h
diff options
context:
space:
mode:
authordyoung <dyoung@NetBSD.org>2008-06-17 02:01:58 +0000
committerdyoung <dyoung@NetBSD.org>2008-06-17 02:01:58 +0000
commitfac54884d4c2da8b9489f87108cb3f91797a7c73 (patch)
tree678e26603395b3bd36ece5c00b640efff5c736eb /sys/dev/raidframe/rf_diskqueue.h
parent842f96408cee6cd161be75e0da174685580c8712 (diff)
Repair a discrepancy between the 802.11 standard and ath(4) operation
where transmit fragmentation is concerned. Extract from ath_tx_start() the code for subtracting padding from the packet length, creating subroutine deduct_pad_bytes(). Note that the arithmetic in deduct_pad_bytes() is suspicious. Use deduct_pad_bytes() to repair the computation of the 802.11 Duration field for fragments. The computation used to leave out the FCS, among other things. Some discrepancies between ath(4) operation and the standard may still remain. According to my observations, the gaps between transmitted fragments may be approximately 8 microseconds too long.
Diffstat (limited to 'sys/dev/raidframe/rf_diskqueue.h')
0 files changed, 0 insertions, 0 deletions