From 44011457c989b61c509196d04bad922a4e51fa66 Mon Sep 17 00:00:00 2001
From: Daniel Golle <daniel@makrotopia.org>
Date: Sun, 18 Jan 2015 08:07:43 +0100
Subject: [PATCH] docs: add docs and example for mesh_vlan site parameter

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 docs/site-example/site.conf | 4 ++++
 docs/user/site.rst          | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/docs/site-example/site.conf b/docs/site-example/site.conf
index c4e7f8ad9..6f95e78db 100644
--- a/docs/site-example/site.conf
+++ b/docs/site-example/site.conf
@@ -51,6 +51,9 @@
 
     -- Bitrate used for multicast/broadcast packets.
     mesh_mcast_rate = 12000,
+
+    -- (optional) mesh VLAN on 802.11 ad-hoc interface (1-4095)
+    -- mesh_vlan = 14,
   },
 
   -- Wireless configuration for 5 GHz interfaces.
@@ -63,6 +66,7 @@
     mesh_ssid = 'XX:XX:XX:XX:XX:XX',
     mesh_bssid = 'XX:XX:XX:XX:XX:XX',
     mesh_mcast_rate = 12000,
+    -- mesh_vlan = 14,
   },
 
   -- The next node feature allows clients to always reach the node it is
diff --git a/docs/user/site.rst b/docs/user/site.rst
index 286228107..2b5cd7a6d 100644
--- a/docs/user/site.rst
+++ b/docs/user/site.rst
@@ -66,6 +66,8 @@ wifi24
     of ``ssid`` of your client network, the ``channel`` your community is using,
     ``htmode``, the adhoc ssid ``mesh_ssid`` used between devices, the adhoc
     bssid ``mesh_bssid`` and the adhoc multicast rate ``mesh_mcast_rate``.
+    Optionally ``mesh_vlan`` can be used to setup VLAN on top of the 802.11
+    ad-hoc interface.
     Combined in an dictionary, e.g.:
     ::
 
-- 
GitLab