Skip to content

Commit 52f7741

Browse files
author
marek
committed
[batman] reverting global tq change - should go to bed soon ;-)
git-svn-id: http://downloads.open-mesh.org/svn/batman/trunk/batman@1381 45894c77-fb22-0410-b583-ff6e7d5dbf6c
1 parent 175ebfc commit 52f7741

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

batman.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#define TTL 50 /* Time To Live of broadcast messages */
7777
#define PURGE_TIMEOUT 200000u /* purge originators after time in ms if no valid packet comes in -> TODO: check influence on TQ_LOCAL_WINDOW_SIZE */
7878
#define TQ_LOCAL_WINDOW_SIZE 64 /* sliding packet range of received originator messages in squence numbers (should be a multiple of our word size) */
79-
#define TQ_GLOBAL_WINDOW_SIZE 10
79+
#define TQ_GLOBAL_WINDOW_SIZE 5
8080
#define TQ_LOCAL_BIDRECT_SEND_MINIMUM 1
8181
#define TQ_LOCAL_BIDRECT_RECV_MINIMUM 1
8282
#define TQ_TOTAL_BIDRECT_LIMIT 1
@@ -85,7 +85,7 @@
8585
* hop penalty is applied "twice"
8686
* when the packet comes in and if rebroadcasted via the same interface
8787
*/
88-
#define TQ_HOP_PENALTY 5
88+
#define TQ_HOP_PENALTY 10
8989
#define DEFAULT_ROUTING_CLASS 30
9090

9191

0 commit comments

Comments
 (0)