CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2012/01/21 12:42:16
Modified files: sys/net80211 : ieee80211_node.c ieee80211_node.h ieee80211_var.h Log message: Implement missing bits of node inactivity accounting in hostap mode. Small parts of code for this feature were already present but unused. A node becomes inactive after not sending or receiving a frame within 5 minutes. Inactive cached nodes (not authenticated or associated) are automatically cleared from the cache once every hour, making room for new nodes. If the node cache is full and room must be made for a new node, clean either a cached node (active or inactive), or an inactive authenticated or associated node. Also, do not send de-auth frames to nodes which never authenticated, and only send a de-auth frame once for a given node. This part was contributed by Steven Chamberlain, thanks! Tested by myself, krw@, edd@, Steven Chamberlain, and Markus Schatzl. ok deraadt@