On Wednesday 13 November 2013 19:14:48 Simon Wunderlich wrote:
From: Simon Wunderlich email@example.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 firstname.lastname@example.org
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.