diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2012-06-13 14:06:06 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-14 03:08:22 -0400 |
commit | ac1073a61d73b6277794d2efc872eb7e1b706b5c (patch) | |
tree | e992e907f7fbf417981867750c5d27e76f6b00c1 /net/mac80211/debugfs_netdev.c | |
parent | 73c3df3ba3f2d7fe3ea47f944282f3cda31c5505 (diff) |
{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>
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index c429417e1322..a8cea70902e4 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -510,6 +510,10 @@ IEEE80211_IF_FILE(dot11MeshHWMPRannInterval, | |||
510 | IEEE80211_IF_FILE(dot11MeshForwarding, u.mesh.mshcfg.dot11MeshForwarding, DEC); | 510 | IEEE80211_IF_FILE(dot11MeshForwarding, u.mesh.mshcfg.dot11MeshForwarding, DEC); |
511 | IEEE80211_IF_FILE(rssi_threshold, u.mesh.mshcfg.rssi_threshold, DEC); | 511 | IEEE80211_IF_FILE(rssi_threshold, u.mesh.mshcfg.rssi_threshold, DEC); |
512 | IEEE80211_IF_FILE(ht_opmode, u.mesh.mshcfg.ht_opmode, DEC); | 512 | IEEE80211_IF_FILE(ht_opmode, u.mesh.mshcfg.ht_opmode, DEC); |
513 | IEEE80211_IF_FILE(dot11MeshHWMPactivePathToRootTimeout, | ||
514 | u.mesh.mshcfg.dot11MeshHWMPactivePathToRootTimeout, DEC); | ||
515 | IEEE80211_IF_FILE(dot11MeshHWMProotInterval, | ||
516 | u.mesh.mshcfg.dot11MeshHWMProotInterval, DEC); | ||
513 | #endif | 517 | #endif |
514 | 518 | ||
515 | #define DEBUGFS_ADD_MODE(name, mode) \ | 519 | #define DEBUGFS_ADD_MODE(name, mode) \ |
@@ -611,6 +615,8 @@ static void add_mesh_config(struct ieee80211_sub_if_data *sdata) | |||
611 | MESHPARAMS_ADD(dot11MeshGateAnnouncementProtocol); | 615 | MESHPARAMS_ADD(dot11MeshGateAnnouncementProtocol); |
612 | MESHPARAMS_ADD(rssi_threshold); | 616 | MESHPARAMS_ADD(rssi_threshold); |
613 | MESHPARAMS_ADD(ht_opmode); | 617 | MESHPARAMS_ADD(ht_opmode); |
618 | MESHPARAMS_ADD(dot11MeshHWMPactivePathToRootTimeout); | ||
619 | MESHPARAMS_ADD(dot11MeshHWMProotInterval); | ||
614 | #undef MESHPARAMS_ADD | 620 | #undef MESHPARAMS_ADD |
615 | } | 621 | } |
616 | #endif | 622 | #endif |