aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/mesh.c')
-rw-r--r--net/wireless/mesh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/mesh.c b/net/wireless/mesh.c
index 5c116083eeca..b7b7868f4128 100644
--- a/net/wireless/mesh.c
+++ b/net/wireless/mesh.c
@@ -1,4 +1,5 @@
1#include <linux/ieee80211.h> 1#include <linux/ieee80211.h>
2#include <linux/export.h>
2#include <net/cfg80211.h> 3#include <net/cfg80211.h>
3#include "nl80211.h" 4#include "nl80211.h"
4#include "core.h" 5#include "core.h"
@@ -12,6 +13,7 @@
12#define MESH_HOLD_T 100 13#define MESH_HOLD_T 100
13 14
14#define MESH_PATH_TIMEOUT 5000 15#define MESH_PATH_TIMEOUT 5000
16#define MESH_RANN_INTERVAL 5000
15 17
16/* 18/*
17 * Minimum interval between two consecutive PREQs originated by the same 19 * Minimum interval between two consecutive PREQs originated by the same
@@ -49,6 +51,8 @@ const struct mesh_config default_mesh_config = {
49 .dot11MeshHWMPmaxPREQretries = MESH_MAX_PREQ_RETRIES, 51 .dot11MeshHWMPmaxPREQretries = MESH_MAX_PREQ_RETRIES,
50 .path_refresh_time = MESH_PATH_REFRESH_TIME, 52 .path_refresh_time = MESH_PATH_REFRESH_TIME,
51 .min_discovery_timeout = MESH_MIN_DISCOVERY_TIMEOUT, 53 .min_discovery_timeout = MESH_MIN_DISCOVERY_TIMEOUT,
54 .dot11MeshHWMPRannInterval = MESH_RANN_INTERVAL,
55 .dot11MeshGateAnnouncementProtocol = false,
52}; 56};
53 57
54const struct mesh_setup default_mesh_setup = { 58const struct mesh_setup default_mesh_setup = {