diff options
Diffstat (limited to 'Documentation/networking/batman-adv.txt')
-rw-r--r-- | Documentation/networking/batman-adv.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt index 18afcd8afd51..713f7c0c4ab3 100644 --- a/Documentation/networking/batman-adv.txt +++ b/Documentation/networking/batman-adv.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | [state: 27-01-2011] | 1 | [state: 17-04-2011] |
2 | 2 | ||
3 | BATMAN-ADV | 3 | BATMAN-ADV |
4 | ---------- | 4 | ---------- |
@@ -19,6 +19,7 @@ duce the overhead to a minimum. It does not depend on any (other) | |||
19 | network driver, and can be used on wifi as well as ethernet lan, | 19 | network driver, and can be used on wifi as well as ethernet lan, |
20 | vpn, etc ... (anything with ethernet-style layer 2). | 20 | vpn, etc ... (anything with ethernet-style layer 2). |
21 | 21 | ||
22 | |||
22 | CONFIGURATION | 23 | CONFIGURATION |
23 | ------------- | 24 | ------------- |
24 | 25 | ||
@@ -160,13 +161,13 @@ face. Each entry can/has to have the following values: | |||
160 | -> "TQ mac value" - src mac's link quality towards mac address | 161 | -> "TQ mac value" - src mac's link quality towards mac address |
161 | of a neighbor originator's interface which | 162 | of a neighbor originator's interface which |
162 | is being used for routing | 163 | is being used for routing |
163 | -> "HNA mac" - HNA announced by source mac | 164 | -> "TT mac" - TT announced by source mac |
164 | -> "PRIMARY" - this is a primary interface | 165 | -> "PRIMARY" - this is a primary interface |
165 | -> "SEC mac" - secondary mac address of source | 166 | -> "SEC mac" - secondary mac address of source |
166 | (requires preceding PRIMARY) | 167 | (requires preceding PRIMARY) |
167 | 168 | ||
168 | The TQ value has a range from 4 to 255 with 255 being the best. | 169 | The TQ value has a range from 4 to 255 with 255 being the best. |
169 | The HNA entries are showing which hosts are connected to the mesh | 170 | The TT entries are showing which hosts are connected to the mesh |
170 | via bat0 or being bridged into the mesh network. The PRIMARY/SEC | 171 | via bat0 or being bridged into the mesh network. The PRIMARY/SEC |
171 | values are only applied on primary interfaces | 172 | values are only applied on primary interfaces |
172 | 173 | ||
@@ -199,7 +200,7 @@ abled during run time. Following log_levels are defined: | |||
199 | 200 | ||
200 | 0 - All debug output disabled | 201 | 0 - All debug output disabled |
201 | 1 - Enable messages related to routing / flooding / broadcasting | 202 | 1 - Enable messages related to routing / flooding / broadcasting |
202 | 2 - Enable route or hna added / changed / deleted | 203 | 2 - Enable route or tt entry added / changed / deleted |
203 | 3 - Enable all messages | 204 | 3 - Enable all messages |
204 | 205 | ||
205 | The debug output can be changed at runtime using the file | 206 | The debug output can be changed at runtime using the file |
@@ -207,7 +208,7 @@ The debug output can be changed at runtime using the file | |||
207 | 208 | ||
208 | # echo 2 > /sys/class/net/bat0/mesh/log_level | 209 | # echo 2 > /sys/class/net/bat0/mesh/log_level |
209 | 210 | ||
210 | will enable debug messages for when routes or HNAs change. | 211 | will enable debug messages for when routes or TTs change. |
211 | 212 | ||
212 | 213 | ||
213 | BATCTL | 214 | BATCTL |