The implementation of OLSR (v0.8.8) by Francisco J. Ros at the University of Murcia, Spain works very good for simulations with OLSR. However, if you want to adjust the intervals of HELLO and TC, especially with decimals, note that the hello_ival, tc_ival_ and mid_ival_ variables are declared as integers in OLSR.h, so any alterations to these variables in the script file will be converted to an integer value. Change these and the inline methods hello_ival() etc. to doubles. Also, the defined macros OLSR_REFRESH_INTERVAL, OLSR_HELLO_INTERVAL and OLSR_TC_INTERVAL in OLSR.h must be updated to match the tcl script file’s definitions.

Advertisements