Re: [B.A.T.M.A.N.] [PATCHv3 4/8] batman-adv: add WiFi penalty

Marek Lindner
2013-11-21T01:28:13Z

[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]

On Wednesday 13 November 2013 19:14:48 Simon Wunderlich wrote:
> From: Simon Wunderlich <simon@open-mesh.com>
>
> If the same interface is used for sending and receiving, there might be
> throughput degradation on half-duplex interfaces such as WiFi. Add a
> penalty if the same interface is used to reflect this problem in the
> metric. At the same time, change the hop penalty from 30 to 15 so there
> will be no change for single wifi mesh network. the effective hop
> penalty will stay at 30 due to the new wifi penalty for these networks.
>
> Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
> ---
> Changes to PATCHv2:
> * remove an obsolote check when printing if_incoming to make smatch
> happy
>
> Changes to RFCv2:
> * various style changes
>
> Changes to RFCv1:
> * use hop penalty for wifi penalty, and use half of the original hop
> penalty.
> ---
> bat_iv_ogm.c | 27 ++++++++++++++++++++++-----
> hard-interface.h | 1 +
> soft-interface.c | 2 +-
> 3 files changed, 24 insertions(+), 6 deletions(-)

Applied in revision 46e44fd.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]