summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_proto.h
AgeCommit message (Collapse)Author
2006-06-18Improve 802.11b/g interoperability and move toward better complianceDamien Bergamini
with IEEE Std 802.11g-2003 standard: - add ERP Information Element in probe responses and beacons - keep track of the number of associated non-ERP STAs and non-short slot time capable STAs in the BSS - enable use of RTS/CTS or CTS-to-self protection when required by the BSS - add a ic_updateslot() callback to notify drivers of slot time changes - cleanup computation of mgmt frames sizes in ieee80211_output.c - nuke unnecessary <sys/cdefs.h> includes - remove an unused macro (LOGICALLY_EQUAL) while i'm here From {free,net}bsd, with additional fixes. ok brad@, reyk@
2006-05-19- export ieee80211_add_ssid() just like ieee80211_add_(x)rates() so I don'tDamien Bergamini
need to duplicate the code in wpi(4) - fix ieee80211_alloc_beacon() - clean two comments while i'm here
2005-04-20send raw 802.11 frames with bpf(4) using the IEEE802_11 orReyk Floeter
IEEE802_11_RADIO data link types. ok canacar@ damien@
2005-03-03addtion of a generic function for allocating beacons: ieee80211_beacon_alloc().Damien Bergamini
ok jsg@, reyk@, dlg@
2004-12-25in real C, there is not , after the last enum entry; ok reykTheo de Raadt
2004-12-23From dyoung@NetBSD:Jonathan Gray
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.
2004-12-23From dyoung@NetBSD:Jonathan Gray
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@
2004-11-02some changes merged in from netbsd. ieee80211_regdomain.# will be usedReyk Floeter
by sdr (software defined radios). ok deraadt@ millert@ damien@
2004-06-22Import current NetBSD/FreeBSD 802.11 framework.Todd C. Miller
Based in part on a diff from Matthew Gream.