summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* The license permits us to redistribute this code under the BSD or the GPLv2.damien2007-06-061-5/+1
| | | | | | Choose the BSD license so that future enhancements will be BSD-only. ok jsg@ reyk@ deraadt@
* typo.fgsch2006-04-221-2/+2
|
* mostly knfreyk2005-09-081-3/+6
| | | | ok jsg@
* add ifconfig -M option to replace wicontrol -L and -l for ap scanningreyk2005-05-251-1/+32
| | | | | | | and node listing. wicontrol is not supported by net80211 drivers anymore. further improvements will be done. ok dlg@, jsg@
* derived from NetBSD:reyk2005-02-171-12/+82
| | | | | | | | | | | | | | | | | | --- Make the node table into an LRU cache: least-recently used nodes are at the end of the node queue. Change the reference-counting discipline: ni->ni_refcnt indicates how many times net80211 has granted ni to the driver. Every node in the table with ni_refcnt=0 is eligible to be garbage-collected. The mere presence of a node in the table does not any longer indicate its auth/assoc state; nodes have a ni_state variable, now. While I am here, patch ieee80211_find_node_for_beacon to do a "best match" by bssid/ssid/channel, not a "perfect match." This keeps net80211 from caching duplicate nodes in the table. --- ok deraadt@ dlg@, looks good jsg@
* replace __attribute__((__packed__)) with __packed.reyk2004-12-301-15/+15
|
* Sync with recent NetBSD ieee80211_compute_duration() changes.jsg2004-12-281-2/+2
|
* in real C, there is not , after the last enum entry; ok reykderaadt2004-12-251-6/+6
|
* From dyoung@NetBSD:jsg2004-12-231-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* From dyoung@NetBSD:jsg2004-12-231-3/+43
| | | | | | | | | | | | | | | | | Define for more bits in the Service field of the 802.11 PLCP Header. For use by the subroutine ieee80211_compute_duration, add struct ieee80211_duration, and #define a number of microsecond constants used for the transmit timing of 802.11 packets. Add the subroutine ieee80211_compute_duration, which computes for any packet the appropriate 802.11 Duration field, the PLCP Length field, as well as the Duration and Length fields for an RTS frame. atw(4), rtw(4), future drivers, and possibly ath(4) will share ieee80211_compute_duration. ok millert@
* CAPINFO_BITS from the current net/if_ieee80211.h header; fixesfgsch2004-10-201-1/+4
| | | | CHNL_AGILITY printing too. deraadt ok.
* Import current NetBSD/FreeBSD 802.11 framework.millert2004-06-221-0/+548
Based in part on a diff from Matthew Gream.