summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_node.c
AgeCommit message (Collapse)Author
2006-11-15s/roundup/howmany/ where it makes sense.Damien Bergamini
2006-11-13fix a possible NULL deref.Damien Bergamini
2006-06-19unbreak the code if compiled with IEEE80211_DEBUG by using the rightReyk Floeter
node attribute. ok damien@, figured out by claudio@
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-02-19Fix a comment in ieee80211_next_scan().Damien Bergamini
2005-10-09if the wireless hostap interface belongs to a bridge, learn the node'sReyk Floeter
address dynamically on this interface after successful association. this could speed wireless roaming to openbsd accesspoints. ok jason@, jsg@ can't see anything obectionable
2005-10-07minor knfReyk Floeter
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-08reset the scan state for each new modeReyk Floeter
ok jsg@
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-05-25add ifconfig -M option to replace wicontrol -L and -l for ap scanningReyk Floeter
and node listing. wicontrol is not supported by net80211 drivers anymore. further improvements will be done. ok dlg@, jsg@
2005-04-21scan the next mode if nothing has been found. this is necessary if theReyk Floeter
device supports different incompatible modes in the same channel range, like like 11b and "pure" 11G mode. ok dlg@ pvalchev@
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-11-02Don't call memset() if MALLOC returns NULL; also fix the rcs ID.Todd C. Miller
From Patrick Latifi; OK reyk@
2004-06-22Import current NetBSD/FreeBSD 802.11 framework.Todd C. Miller
Based in part on a diff from Matthew Gream.