aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>2012-01-20 12:02:16 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-01-27 14:56:56 -0500
commit94f9065648a2645b28187b44ec7778c30cf58758 (patch)
tree734ee883e3fbd99de04240da97716d773d64bb6d /include/linux/nl80211.h
parent2da8f419e78a0ebccc91c095328278fe668a7932 (diff)
{nl,cfg,mac}80211: Add support of setting non-forwarding entity in Mesh
A mesh node that joins the mesh network is by default a forwarding entity. This patch allows the mesh node to set as non-forwarding entity. Whenever dot11MeshForwarding is set to 0, the mesh node can prevent itself from forwarding the traffic which is not destined to him. Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 0f5ff3739820..4f98fae13307 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -2104,6 +2104,9 @@ enum nl80211_mntr_flags {
2104 * TUs) during which a mesh STA can send only one Action frame containing a 2104 * TUs) during which a mesh STA can send only one Action frame containing a
2105 * PERR element. 2105 * PERR element.
2106 * 2106 *
2107 * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
2108 * or forwarding entity (default is TRUE - forwarding entity)
2109 *
2107 * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute 2110 * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute
2108 * 2111 *
2109 * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use 2112 * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use
@@ -2128,6 +2131,7 @@ enum nl80211_meshconf_params {
2128 NL80211_MESHCONF_HWMP_RANN_INTERVAL, 2131 NL80211_MESHCONF_HWMP_RANN_INTERVAL,
2129 NL80211_MESHCONF_GATE_ANNOUNCEMENTS, 2132 NL80211_MESHCONF_GATE_ANNOUNCEMENTS,
2130 NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL, 2133 NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL,
2134 NL80211_MESHCONF_FORWARDING,
2131 2135
2132 /* keep last */ 2136 /* keep last */
2133 __NL80211_MESHCONF_ATTR_AFTER_LAST, 2137 __NL80211_MESHCONF_ATTR_AFTER_LAST,