NetBSD/sys/net80211
dyoung 24ba04b962 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.
2004-12-23 06:08:52 +00:00
..
ieee80211_channel.h Move ieee80211_channel definition and channel flags into 2004-07-16 02:56:50 +00:00
ieee80211_compat.c
ieee80211_compat.h NetBSD's KASSERT takes just one argument while FreeBSD's takes two, 2004-01-13 23:37:29 +00:00
ieee80211_crypto.c Synchronize with FreeBSD sources from 12 Dec 2003. 2003-12-14 09:56:53 +00:00
ieee80211_crypto.h
ieee80211_input.c Make the node table into an LRU cache: least-recently used nodes 2004-08-10 00:57:20 +00:00
ieee80211_ioctl.c Add SIOCG80211ZSTATS to atomically get/clear 802.11 statistics. 2004-12-20 23:03:39 +00:00
ieee80211_ioctl.h Add SIOCG80211ZSTATS to atomically get/clear 802.11 statistics. 2004-12-20 23:03:39 +00:00
ieee80211_netbsd.h First part of this file -- ieee80211_node locking macros. 2004-07-23 10:16:00 +00:00
ieee80211_node.c Drivers are not expected to call ieee80211_find_node_for_beacon, 2004-10-04 07:35:48 +00:00
ieee80211_node.h Make the node table into an LRU cache: least-recently used nodes 2004-08-10 00:57:20 +00:00
ieee80211_output.c Fix a bug in ieee80211_compute_duration: the 802.11 Duration field 2004-12-23 06:08:52 +00:00
ieee80211_proto.c Adjust caller for net/if_ieee80211subr.c rev 1.11 change; the argument 2004-09-07 01:07:40 +00:00
ieee80211_proto.h Fix a bug in ieee80211_compute_duration: the 802.11 Duration field 2004-12-23 06:08:52 +00:00
ieee80211_radiotap.h Define IEEE80211_RADIOTAP_HDRLEN, the length of a radiotap header. 2004-06-06 04:13:28 +00:00
ieee80211_rssadapt.c Diff reduction vs. madwifi. 2004-07-23 06:44:55 +00:00
ieee80211_rssadapt.h Create ieee80211_rssadapt_debug to control rssadapt(9) debug messages 2004-05-06 03:03:20 +00:00
ieee80211_sysctl.h Add sysctl access to 802.11 node tables, step #1. 2004-07-16 03:01:09 +00:00
ieee80211_var.h Make the node table into an LRU cache: least-recently used nodes 2004-08-10 00:57:20 +00:00
ieee80211.c Make the node table into an LRU cache: least-recently used nodes 2004-08-10 00:57:20 +00:00
ieee80211.h #define the difference in microseconds between a fast and a slow 2004-12-23 05:25:41 +00:00
Makefile Add sysctl access to 802.11 node tables, step #2. 2004-07-16 03:02:41 +00:00