]> git.baikalelectronics.ru Git - kernel.git/commit
{nl,cfg}80211: make peer link expiration time configurable
authorColleen Twitty <colleen@cozybit.com>
Mon, 3 Jun 2013 16:53:39 +0000 (09:53 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 12:16:29 +0000 (14:16 +0200)
commit8487eefb5ca435f48dc5518063ab30290610ef8c
treeeec28175ba2437205a7376db82cb0eeafdced0a7
parent1122ab0e9bbc591833ba67b800b60933d9945871
{nl,cfg}80211: make peer link expiration time configurable

If a STA has a peer that it hasn't seen any tx activity
from for a certain length of time, the peer link is
expired. This means the inactive STA is removed from the
list of peers and that STA is not considered a peer again
unless it re-peers.  Previously, this inactivity time was
always 30 minutes.  Now, add it to the mesh configuration
and allow it to be configured.  Retain 30 minutes as a
default value.

Signed-off-by: Colleen Twitty <colleen@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/mesh.c
net/wireless/nl80211.c