<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/Documentation/ABI/testing/sysfs-class-net-mesh, branch master</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=master</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2019-03-25T09:01:12+00:00</updated>
<entry>
<title>batman-adv: ABI: Mark sysfs files as deprecated</title>
<updated>2019-03-25T09:01:12+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2019-03-03T17:02:58+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=42cdd521487f6509f52096fa08590f275073e81b'/>
<id>urn:sha1:42cdd521487f6509f52096fa08590f275073e81b</id>
<content type='text'>
The sysfs files are replaced by the batadv generic netlink family. The old
sysfs configuration interface was frowned upon by other kernel developers.
But the files cannot be removed immediately because userspace tools might
still depend on it. Instead schedule for its removal in 2021.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Simon Wunderlich &lt;sw@simonwunderlich.de&gt;
</content>
</entry>
<entry>
<title>Doc: update email address</title>
<updated>2015-12-15T16:21:40+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>antonio@meshcoding.com</email>
</author>
<published>2015-11-07T18:20:34+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=030ee5f648e2c4e04bfa870b622a359e1040e591'/>
<id>urn:sha1:030ee5f648e2c4e04bfa870b622a359e1040e591</id>
<content type='text'>
My personal email address has changed. Update it in the doc files

Signed-off-by: Antonio Quartulli &lt;antonio@meshcoding.com&gt;
</content>
</entry>
<entry>
<title>batman-adv: Modified forwarding behaviour for multicast packets</title>
<updated>2014-03-22T08:18:57+00:00</updated>
<author>
<name>Linus Lüssing</name>
<email>linus.luessing@web.de</email>
</author>
<published>2014-02-15T16:47:52+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=1d8ab8d3c176d31530b3ffd4547cf731018e2a45'/>
<id>urn:sha1:1d8ab8d3c176d31530b3ffd4547cf731018e2a45</id>
<content type='text'>
With this patch a multicast packet is not always simply flooded anymore,
the behaviour for the following cases is changed to reduce
unnecessary overhead:

If all nodes within the horizon of a certain node have signalized
multicast listener announcement capability then an IPv6 multicast packet
with a destination of IPv6 link-local scope (excluding ff02::1) coming
from the upstream of this node...

* ...is dropped if there is no according multicast listener in the
  translation table,
* ...is forwarded via unicast if there is a single node with interested
  multicast listeners
* ...and otherwise still gets flooded.

Signed-off-by: Linus Lüssing &lt;linus.luessing@web.de&gt;
Signed-off-by: Marek Lindner &lt;mareklindner@neomailbox.ch&gt;
Signed-off-by: Antonio Quartulli &lt;antonio@meshcoding.com&gt;
</content>
</entry>
<entry>
<title>batman-adv: add isolation_mark sysfs attribute</title>
<updated>2014-01-08T19:49:42+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>antonio@open-mesh.com</email>
</author>
<published>2013-11-16T11:03:47+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c42edfe382fee1c2c74550a5a3cbf50b2a28cf07'/>
<id>urn:sha1:c42edfe382fee1c2c74550a5a3cbf50b2a28cf07</id>
<content type='text'>
This attribute can be used to set and read the value and the
mask of the skb mark which will be used to classify the
source non-mesh client as ISOLATED. In this way a client can
be advertised as such and the mark can potentially be
restored at the receiving node before delivering the skb.

This can be helpful for creating network wide netfilter
policies.

This sysfs file expects a string of the shape "$mark/$mask".
Where $mark has to be a 32-bit number in any base, while
$mask must be a 32bit mask expressed in hex base. Only bits
in $mark covered by the bitmask are really stored.

Signed-off-by: Antonio Quartulli &lt;antonio@open-mesh.com&gt;
Signed-off-by: Marek Lindner &lt;mareklindner@neomailbox.ch&gt;
</content>
</entry>
<entry>
<title>batman-adv: make the AP isolation attribute VLAN specific</title>
<updated>2013-10-19T15:28:47+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>antonio@open-mesh.com</email>
</author>
<published>2013-07-02T09:04:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b8cbd81d0944cd2dc097b2b4ae8adaf639c5b4df'/>
<id>urn:sha1:b8cbd81d0944cd2dc097b2b4ae8adaf639c5b4df</id>
<content type='text'>
AP isolation has to be enabled on one VLAN interface only.
This patch moves the AP isolation attribute to the per-vlan
interface attribute set, enabling it to have a different
value depending on the selected vlan.

Signed-off-by: Antonio Quartulli &lt;antonio@open-mesh.com&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
</entry>
<entry>
<title>batman-adv: update email address for Marek Lindner</title>
<updated>2013-10-19T12:53:48+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>mareklindner@neomailbox.ch</email>
</author>
<published>2013-10-12T14:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bc58eeef744df93e141678ef44452f0869cd563d'/>
<id>urn:sha1:bc58eeef744df93e141678ef44452f0869cd563d</id>
<content type='text'>
Signed-off-by: Marek Lindner &lt;mareklindner@neomailbox.ch&gt;
Signed-off-by: Antonio Quartulli &lt;antonio@meshcoding.com&gt;
</content>
</entry>
<entry>
<title>batman-adv: update email address for Antonio Quartulli</title>
<updated>2013-10-19T12:53:47+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>antonio@meshcoding.com</email>
</author>
<published>2013-10-11T06:30:30+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9f6869518ebc105a53735c0cfd7ed2c241aa4417'/>
<id>urn:sha1:9f6869518ebc105a53735c0cfd7ed2c241aa4417</id>
<content type='text'>
Signed-off-by: Antonio Quartulli &lt;antonio@meshcoding.com&gt;
Signed-off-by: Marek Lindner &lt;mareklindner@neomailbox.ch&gt;
</content>
</entry>
<entry>
<title>batman-adv: update email address for Simon Wunderlich</title>
<updated>2013-10-19T12:53:41+00:00</updated>
<author>
<name>Simon Wunderlich</name>
<email>sw@simonwunderlich.de</email>
</author>
<published>2013-10-10T21:59:10+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c679ff8fb246cf1fa7f79fbf25a35048daebc84c'/>
<id>urn:sha1:c679ff8fb246cf1fa7f79fbf25a35048daebc84c</id>
<content type='text'>
My university will stop email service for alumni in january 2014, please
use my new e-mail address instead.

Signed-off-by: Simon Wunderlich &lt;sw@simonwunderlich.de&gt;
Signed-off-by: Marek Lindner &lt;mareklindner@neomailbox.ch&gt;
</content>
</entry>
<entry>
<title>batman-adv: remove vis functionality</title>
<updated>2013-10-09T19:22:32+00:00</updated>
<author>
<name>Simon Wunderlich</name>
<email>siwu@hrz.tu-chemnitz.de</email>
</author>
<published>2013-04-25T09:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9f4980e68b4b72e6a4d7caadfacc54260d05ebf6'/>
<id>urn:sha1:9f4980e68b4b72e6a4d7caadfacc54260d05ebf6</id>
<content type='text'>
This is replaced by a userspace program, we don't need this
functionality to bloat the kernel.

Signed-off-by: Simon Wunderlich &lt;siwu@hrz.tu-chemnitz.de&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Antonio Quartulli &lt;antonio@meshcoding.com&gt;
</content>
</entry>
<entry>
<title>batman-adv: network coding - add the initial infrastructure code</title>
<updated>2013-03-13T21:53:48+00:00</updated>
<author>
<name>Martin Hundebøll</name>
<email>martin@hundeboll.net</email>
</author>
<published>2013-01-25T10:12:38+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d353d8d4d9f0184ac43a90c6e04b593c33bd28ea'/>
<id>urn:sha1:d353d8d4d9f0184ac43a90c6e04b593c33bd28ea</id>
<content type='text'>
Network coding exploits the 802.11 shared medium to allow multiple
packets to be sent in a single transmission. In brief, a relay can XOR
two packets, and send the coded packet to two destinations. The
receivers can decode one of the original packets by XOR'ing the coded
packet with the other original packet. This will lead to increased
throughput in topologies where two packets cross one relay.

In a simple topology with three nodes, it takes four transmissions
without network coding to get one packet from Node A to Node B and one
from Node B to Node A:

 1.  Node A  ---- p1 ---&gt;  Node R                Node B
 2.  Node A                Node R  &lt;--- p2 ----  Node B
 3.  Node A  &lt;--- p2 ----  Node R                Node B
 4.  Node A                Node R  ---- p1 ---&gt;  Node B

With network coding, the relay only needs one transmission, which saves
us one slot of valuable airtime:

 1.  Node A  ---- p1 ---&gt;  Node R                Node B
 2.  Node A                Node R  &lt;--- p2 ----  Node B
 3.  Node A  &lt;- p1 x p2 -  Node R  - p1 x p2 -&gt;  Node B

The same principle holds for a topology including five nodes. Here the
packets from Node A and Node B are overheard by Node C and Node D,
respectively. This allows Node R to send a network coded packet to save
one transmission:

   Node A                  Node B

    |     \              /    |
    |      p1          p2     |
    |       \          /      |
    p1       &gt; Node R &lt;       p2
    |                         |
    |         /      \        |
    |    p1 x p2    p1 x p2   |
    v       /          \      v
           /            \
   Node C &lt;              &gt; Node D

More information is available on the open-mesh.org wiki[1].

This patch adds the initial code to support network coding in
batman-adv. It sets up a worker thread to do house keeping and adds a
sysfs file to enable/disable network coding. The feature is disabled by
default, as it requires a wifi-driver with working promiscuous mode, and
also because it adds a small delay at each hop.

[1] http://www.open-mesh.org/projects/batman-adv/wiki/Catwoman

Signed-off-by: Martin Hundebøll &lt;martin@hundeboll.net&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
</content>
</entry>
</feed>
