summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_proto.c
AgeCommit message (Collapse)Author
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.