aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_netdev.c
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2011-08-09 19:45:10 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-24 13:59:43 -0400
commit0507e159a2b590666982b53ecf6fb2843a5bb423 (patch)
treea5c0aefae3ea789fb1b0ef9019372e534b93aecc /net/mac80211/debugfs_netdev.c
parent699403dbd41998a56d1d92d612ac261e5085a99f (diff)
{nl,cfg,mac}80211: let userspace set RANN interval
Allow userspace to set Root Announcement Interval for our mesh interface. Also, RANN interval is now in proper units of TUs. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r--net/mac80211/debugfs_netdev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c
index 75ece3d3b6dd..bac94434a874 100644
--- a/net/mac80211/debugfs_netdev.c
+++ b/net/mac80211/debugfs_netdev.c
@@ -372,6 +372,8 @@ IEEE80211_IF_FILE(min_discovery_timeout,
372 u.mesh.mshcfg.min_discovery_timeout, DEC); 372 u.mesh.mshcfg.min_discovery_timeout, DEC);
373IEEE80211_IF_FILE(dot11MeshHWMPRootMode, 373IEEE80211_IF_FILE(dot11MeshHWMPRootMode,
374 u.mesh.mshcfg.dot11MeshHWMPRootMode, DEC); 374 u.mesh.mshcfg.dot11MeshHWMPRootMode, DEC);
375IEEE80211_IF_FILE(dot11MeshHWMPRannInterval,
376 u.mesh.mshcfg.dot11MeshHWMPRannInterval, DEC);
375#endif 377#endif
376 378
377 379
@@ -486,6 +488,7 @@ static void add_mesh_config(struct ieee80211_sub_if_data *sdata)
486 MESHPARAMS_ADD(path_refresh_time); 488 MESHPARAMS_ADD(path_refresh_time);
487 MESHPARAMS_ADD(min_discovery_timeout); 489 MESHPARAMS_ADD(min_discovery_timeout);
488 MESHPARAMS_ADD(dot11MeshHWMPRootMode); 490 MESHPARAMS_ADD(dot11MeshHWMPRootMode);
491 MESHPARAMS_ADD(dot11MeshHWMPRannInterval);
489#undef MESHPARAMS_ADD 492#undef MESHPARAMS_ADD
490} 493}
491#endif 494#endif