[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Reyk Floeter <reyk_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 17 Feb 2005 11:28:06 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: reyk_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2005/02/17 11:28:06
Modified files:
sys/dev/ic : ath.c atw.c ral.c rtw.c
sys/dev/pci : if_ipw.c if_iwi.c
sys/dev/usb : if_atu.c
sys/net80211 : ieee80211.c ieee80211.h ieee80211_input.c
ieee80211_ioctl.c ieee80211_node.c
ieee80211_node.h ieee80211_output.c
ieee80211_proto.c ieee80211_regdomain.c
ieee80211_regdomain.h ieee80211_var.h
Log message:
derived from NetBSD:
---
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@
Visit your host, monkey.org