[Olsr-cvs] olsrd-current/src/cfgparser olsrd_conf.c, 1.44, 1.45 oparse.y, 1.26, 1.27 oscan.lex, 1.17, 1.18

Thomas Lopatic (spam-protected)
Thu Nov 17 02:58:54 CET 2005


Update of /cvsroot/olsrd/olsrd-current/src/cfgparser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3775/src/cfgparser

Modified Files:
	olsrd_conf.c oparse.y oscan.lex 
Log Message:
Added experimental LinkQualityFishEye configuration option, which enables
us to shrink LQ TC intervals without swamping the network with LQ TCs. Look
at create_lq_tc() in lq_packet.c.


Index: oscan.lex
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/oscan.lex,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** oscan.lex	20 Feb 2005 19:54:18 -0000	1.17
--- oscan.lex	17 Nov 2005 01:58:52 -0000	1.18
***************
*** 368,371 ****
--- 368,376 ----
  }
  
+ "LinkQualityFishEye" {
+   yylval = NULL;
+   return TOK_LQ_FISH;
+ }
+ 
  "LinkQualityWinSize" {
    yylval = NULL;

Index: olsrd_conf.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/olsrd_conf.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** olsrd_conf.c	15 Nov 2005 23:46:20 -0000	1.44
--- olsrd_conf.c	17 Nov 2005 01:58:52 -0000	1.45
***************
*** 453,456 ****
--- 453,457 ----
      cnf->mpr_coverage = MPR_COVERAGE;
      cnf->lq_level = DEF_LQ_LEVEL;
+     cnf->lq_fish = DEF_LQ_FISH;
      cnf->lq_wsize = DEF_LQ_WSIZE;
      cnf->clear_screen = DEF_CLEAR_SCREEN;

Index: oparse.y
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/oparse.y,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** oparse.y	25 Feb 2005 16:03:19 -0000	1.26
--- oparse.y	17 Nov 2005 01:58:52 -0000	1.27
***************
*** 149,152 ****
--- 149,153 ----
  %token TOK_MPRCOVERAGE
  %token TOK_LQ_LEVEL
+ %token TOK_LQ_FISH
  %token TOK_LQ_WSIZE
  %token TOK_LQ_MULT
***************
*** 199,202 ****
--- 200,204 ----
            | amprcoverage
            | alq_level
+           | alq_fish
            | alq_wsize
            | bclear_screen
***************
*** 896,899 ****
--- 898,909 ----
  ;
  
+ alq_fish: TOK_LQ_FISH TOK_INTEGER
+ {
+   if(PARSER_DEBUG) printf("Link quality fish eye %d\n", $2->integer);
+   cnf->lq_fish = $2->integer;
+   free($2);
+ }
+ ;
+ 
  alq_wsize: TOK_LQ_WSIZE TOK_INTEGER
  {





More information about the Olsr-cvs mailing list