mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
{nl,cfg,mac}80211: implement dot11MeshHWMProotInterval and dot11MeshHWMPactivePathToRootTimeout
Add the mesh configuration parameters dot11MeshHWMProotInterval and dot11MeshHWMPactivePathToRootTimeout to be used by proactive PREQ mechanism. Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> [line-break commit log] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
73c3df3ba3
commit
ac1073a61d
@@ -14,6 +14,8 @@
|
||||
|
||||
#define MESH_PATH_TIMEOUT 5000
|
||||
#define MESH_RANN_INTERVAL 5000
|
||||
#define MESH_PATH_TO_ROOT_TIMEOUT 6000
|
||||
#define MESH_ROOT_INTERVAL 5000
|
||||
|
||||
/*
|
||||
* Minimum interval between two consecutive PREQs originated by the same
|
||||
@@ -62,6 +64,8 @@ const struct mesh_config default_mesh_config = {
|
||||
.dot11MeshForwarding = true,
|
||||
.rssi_threshold = MESH_RSSI_THRESHOLD,
|
||||
.ht_opmode = IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED,
|
||||
.dot11MeshHWMPactivePathToRootTimeout = MESH_PATH_TO_ROOT_TIMEOUT,
|
||||
.dot11MeshHWMProotInterval = MESH_ROOT_INTERVAL,
|
||||
};
|
||||
|
||||
const struct mesh_setup default_mesh_setup = {
|
||||
|
Reference in New Issue
Block a user