Skip to content

Commit b4091c0

Browse files
author
Juha Heiskanen
committed
Defined WS RPL default configure
Put Back Small network recommendation to to use imin 15 and doublings to 2. Dynamic Configure small network will set imin 14, doublings to 3. Change-Id: Iaca0944b2c0e4a63e8b2dd8e3f3fb15038b87115
1 parent a5fe76f commit b4091c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/6LoWPAN/ws/ws_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ void ws_common_network_size_configure(protocol_interface_info_entry_t *cur, uint
302302
// imin: 14 (16s)
303303
// doublings:3 (128s)
304304
// redundancy; 0 Disabled
305-
ws_bbr_rpl_config(0, 0, 0);// set the default values
305+
ws_bbr_rpl_config(14, 3, 0);
306306
} else if (network_size < 300) {
307307
// Configure the Wi-SUN discovery trickle parameters
308308
cur->ws_info->trickle_params_pan_discovery = trickle_params_pan_discovery_medium;

source/6LoWPAN/ws/ws_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
*
2828
*/
2929

30-
#define WS_RPL_DIO_IMIN 14
31-
#define WS_RPL_DIO_DOUBLING 3
30+
#define WS_RPL_DIO_IMIN 15
31+
#define WS_RPL_DIO_DOUBLING 2
3232
#define WS_RPL_DIO_REDUNDANCY 0
3333

3434

0 commit comments

Comments
 (0)