From: Martin Hundebøll Date: Fri, 25 Jan 2013 10:12:41 +0000 (+0100) Subject: batman-adv: network coding - code and transmit packets if possible X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~449^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c12de9a5c756b23fe7c9ab332474ece1568914c;p=pandora-kernel.git batman-adv: network coding - code and transmit packets if possible Before adding forward-skbs to the coding buffer, the buffer is searched for a potential coding opportunity. If one is found, the two packets are network coded and transmitted right away. If not, the forward-skb is added to the buffer. Network coded packets are transmitted with information about the two receivers and the two coded packets. The first receiver is given by the MAC header, while the second is given in the payload/bat-header. The second receiver uses promiscuous mode to receive the packet and check the second destination. Signed-off-by: Martin Hundebøll Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed