summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_proto.c
AgeCommit message (Collapse)Author
2006-08-29Change the way ieee80211_fix_rate() handles the IEEE80211_F_DOFRATE flag.Damien Bergamini
Instead of removing the rates from the node's rate set, just check that the fixed rate is present in the rate set. Otherwise, the node will be marked non-ERP which will force the use of protection mode (either CTS-to-self or RTS/CTS) in an 802.11g network and degrade performance. This fixes HostAP mode for 11g with a fixed rate. Problem originally reported by Sam Fourman Jr. Code from FreeBSD. ok reyk@, "no objections here" jsg@
2006-08-19move computation of mbps after checking the value of ni->ni_txrateDamien Bergamini
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@
2005-09-13replace the node hash table with a red-black tree. this fixes someReyk Floeter
bugs in the node table (like duplicate nodes in hostap mode), we get rid of possible hash collisions, and it simplifies the code. tested by many, ok damien@, jsg@
2005-09-08mostly knfReyk Floeter
ok jsg@
2005-09-08Remove the last of the FreeBSD compatiblity goop.Jonathan Gray
ok reyk@
2005-09-08Remove FreeBSD if_printf compat function from net80211.Jonathan Gray
ok reyk@
2005-09-07Remove FreeBSD/NetBSD ifdef mess. We are not likely to beJonathan Gray
doing a wholesale merge with them in future. very enthusiastic ok from reyk@
2005-03-13fix whitespaceReyk Floeter
2005-02-17derived from NetBSD:Reyk Floeter
--- 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@
2004-07-04fix a NetBSDism and a pasto left over from the import; ok millert@Christian Weisgerber
2004-06-22Import current NetBSD/FreeBSD 802.11 framework.Todd C. Miller
Based in part on a diff from Matthew Gream.