summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.h
diff options
context:
space:
mode:
authorColleen Twitty <colleen@cozybit.com>2013-06-03 18:53:40 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-06-11 14:16:29 +0200
commit66de671374f003467b5ef7c65ecbe1930480c8c9 (patch)
tree1cf849085a6c8b7c0aeb1b2329dbf53c8c605f73 /net/mac80211/mesh.h
parent{nl,cfg}80211: make peer link expiration time configurable (diff)
downloadlinux-66de671374f003467b5ef7c65ecbe1930480c8c9.tar.xz
linux-66de671374f003467b5ef7c65ecbe1930480c8c9.zip
mac80211: expire mesh peers based on mesh configuration
The time it takes to see the peer link expire may differ by a minute since sta_expire() is run once a minute as a mesh housekeeping task. Signed-off-by: Colleen Twitty <colleen@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r--net/mac80211/mesh.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h
index 8b4d9a3e9eee..01a28bca6e9b 100644
--- a/net/mac80211/mesh.h
+++ b/net/mac80211/mesh.h
@@ -188,7 +188,6 @@ struct mesh_rmc {
u32 idx_mask;
};
-#define IEEE80211_MESH_PEER_INACTIVITY_LIMIT (1800 * HZ)
#define IEEE80211_MESH_HOUSEKEEPING_INTERVAL (60 * HZ)
#define MESH_PATH_EXPIRE (600 * HZ)