summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_node.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* s/roundup/howmany/ where it makes sense.damien2006-11-151-2/+2
|
* fix a possible NULL deref.damien2006-11-131-3/+3
|
* unbreak the code if compiled with IEEE80211_DEBUG by using the rightreyk2006-06-191-2/+2
| | | | | | node attribute. ok damien@, figured out by claudio@
* Improve 802.11b/g interoperability and move toward better compliancedamien2006-06-181-6/+145
| | | | | | | | | | | | | | | | | 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@
* Fix a comment in ieee80211_next_scan().damien2006-02-191-2/+2
|
* if the wireless hostap interface belongs to a bridge, learn the node'sreyk2005-10-091-1/+26
| | | | | | | address dynamically on this interface after successful association. this could speed wireless roaming to openbsd accesspoints. ok jason@, jsg@ can't see anything obectionable
* minor knfreyk2005-10-071-2/+3
|
* replace the node hash table with a red-black tree. this fixes somereyk2005-09-131-84/+46
| | | | | | | 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@
* mostly knfreyk2005-09-081-19/+20
| | | | ok jsg@
* Remove the last of the FreeBSD compatiblity goop.jsg2005-09-081-7/+7
| | | | ok reyk@
* Remove FreeBSD if_printf compat function from net80211.jsg2005-09-081-4/+4
| | | | ok reyk@
* reset the scan state for each new modereyk2005-09-081-14/+14
| | | | ok jsg@
* Remove FreeBSD/NetBSD ifdef mess. We are not likely to bejsg2005-09-071-32/+1
| | | | | doing a wholesale merge with them in future. very enthusiastic ok from reyk@
* add ifconfig -M option to replace wicontrol -L and -l for ap scanningreyk2005-05-251-6/+32
| | | | | | | and node listing. wicontrol is not supported by net80211 drivers anymore. further improvements will be done. ok dlg@, jsg@
* scan the next mode if nothing has been found. this is necessary if thereyk2005-04-211-1/+16
| | | | | | | device supports different incompatible modes in the same channel range, like like 11b and "pure" 11G mode. ok dlg@ pvalchev@
* derived from NetBSD:reyk2005-02-171-171/+301
| | | | | | | | | | | | | | | | | | --- 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@
* Don't call memset() if MALLOC returns NULL; also fix the rcs ID.millert2004-11-021-2/+3
| | | | From Patrick Latifi; OK reyk@
* Import current NetBSD/FreeBSD 802.11 framework.millert2004-06-221-0/+877
Based in part on a diff from Matthew Gream.