mac80211: add TDLS connection timeout
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 4 Sep 2014 05:28:40 +0000 (08:28 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Sep 2014 10:18:47 +0000 (12:18 +0200)
commit9d58f25b12f70f52581a5a1fdb1e59d322c4c729
tree28740298c051b41408729bd456c6347efdb23da8
parent5935839ad73583781b8bbe8d91412f6826e218a4
mac80211: add TDLS connection timeout

Adding a timeout for tearing down a TDLS connection that
hasn't had ACKed traffic sent through it for a certain
amount of time.

Since we have no other monitoring facility to indicate the
existance (or non-existance) of a peer, this patch will
cause a peer to be considered as unavailable if for some X
time at least some Y packets have all not been ACKed.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.h
net/mac80211/status.c