diff options
author | Javier Cardona <javier@cozybit.com> | 2011-08-09 19:45:10 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-24 13:59:43 -0400 |
commit | 0507e159a2b590666982b53ecf6fb2843a5bb423 (patch) | |
tree | a5c0aefae3ea789fb1b0ef9019372e534b93aecc /include | |
parent | 699403dbd41998a56d1d92d612ac261e5085a99f (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 'include')
-rw-r--r-- | include/linux/nl80211.h | 4 | ||||
-rw-r--r-- | include/net/cfg80211.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 89dec16b4697..20353bb44840 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -1861,6 +1861,9 @@ enum nl80211_mntr_flags { | |||
1861 | * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a | 1861 | * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a |
1862 | * source mesh point for path selection elements. | 1862 | * source mesh point for path selection elements. |
1863 | * | 1863 | * |
1864 | * @NL80211_MESHCONF_HWMP_RANN_INTERVAL: The interval of time (in TUs) between | ||
1865 | * root announcements are transmitted. | ||
1866 | * | ||
1864 | * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute | 1867 | * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute |
1865 | * | 1868 | * |
1866 | * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use | 1869 | * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use |
@@ -1882,6 +1885,7 @@ enum nl80211_meshconf_params { | |||
1882 | NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME, | 1885 | NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME, |
1883 | NL80211_MESHCONF_HWMP_ROOTMODE, | 1886 | NL80211_MESHCONF_HWMP_ROOTMODE, |
1884 | NL80211_MESHCONF_ELEMENT_TTL, | 1887 | NL80211_MESHCONF_ELEMENT_TTL, |
1888 | NL80211_MESHCONF_HWMP_RANN_INTERVAL, | ||
1885 | 1889 | ||
1886 | /* keep last */ | 1890 | /* keep last */ |
1887 | __NL80211_MESHCONF_ATTR_AFTER_LAST, | 1891 | __NL80211_MESHCONF_ATTR_AFTER_LAST, |
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index d29d11a31f5a..4f0d12e349d1 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -755,6 +755,7 @@ struct mesh_config { | |||
755 | u16 dot11MeshHWMPpreqMinInterval; | 755 | u16 dot11MeshHWMPpreqMinInterval; |
756 | u16 dot11MeshHWMPnetDiameterTraversalTime; | 756 | u16 dot11MeshHWMPnetDiameterTraversalTime; |
757 | u8 dot11MeshHWMPRootMode; | 757 | u8 dot11MeshHWMPRootMode; |
758 | u16 dot11MeshHWMPRannInterval; | ||
758 | }; | 759 | }; |
759 | 760 | ||
760 | /** | 761 | /** |