File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
test/nanostack/unittest/6LoWPAN/ws_cfg_settings Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -456,9 +456,9 @@ static void ws_cfg_network_size_config_set_large(ws_cfg_nw_size_t *cfg)
456
456
cfg -> sec_prot .initial_key_imax = VERY_SLOW_NW_INITIAL_KEY_TRICKLE_IMAX_SECS ;
457
457
cfg -> sec_prot .initial_key_retry_cnt = DEFAULT_INITIAL_KEY_RETRY_COUNT ;
458
458
} else {
459
- cfg -> sec_prot .initial_key_retry_delay = DEFAULT_INITIAL_KEY_RETRY_TIMER ;
460
- cfg -> sec_prot .initial_key_imin = DEFAULT_INITIAL_KEY_TRICKLE_IMIN_SECS ;
461
- cfg -> sec_prot .initial_key_imax = DEFAULT_INITIAL_KEY_TRICKLE_IMAX_SECS ;
459
+ cfg -> sec_prot .initial_key_retry_delay = NONE_INITIAL_KEY_RETRY_TIMER ;
460
+ cfg -> sec_prot .initial_key_imin = LARGE_NW_INITIAL_KEY_TRICKLE_IMIN_SECS ;
461
+ cfg -> sec_prot .initial_key_imax = LARGE_NW_INITIAL_KEY_TRICKLE_IMAX_SECS ;
462
462
cfg -> sec_prot .initial_key_retry_cnt = DEFAULT_INITIAL_KEY_RETRY_COUNT ;
463
463
}
464
464
}
Original file line number Diff line number Diff line change @@ -235,6 +235,10 @@ extern uint8_t DEVICE_MIN_SENS;
235
235
#define DEFAULT_INITIAL_KEY_TRICKLE_IMIN_SECS 360 /* 6 to 12 minutes */
236
236
#define DEFAULT_INITIAL_KEY_TRICKLE_IMAX_SECS 720
237
237
238
+ // Large network trickle values for sending of initial EAPOL-key
239
+ #define LARGE_NW_INITIAL_KEY_TRICKLE_IMIN_SECS 480 /* 8 to 20 minutes */
240
+ #define LARGE_NW_INITIAL_KEY_TRICKLE_IMAX_SECS 1200
241
+
238
242
// Very slow network values for sending of initial EAPOL-key
239
243
#define VERY_SLOW_NW_INITIAL_KEY_TRICKLE_IMIN_SECS 600 /* 10 to 60 minutes */
240
244
#define VERY_SLOW_NW_INITIAL_KEY_TRICKLE_IMAX_SECS 3600
Original file line number Diff line number Diff line change @@ -245,9 +245,9 @@ static const ws_cfg_t ws_cfg_defaults_large = {
245
245
.sec_prot .sec_prot_trickle_imax = 240 , // network size affects
246
246
.sec_prot .sec_prot_trickle_timer_exp = 2 , // network size affects
247
247
.sec_prot .sec_max_ongoing_authentication = 100 , // network size affects
248
- .sec_prot .initial_key_retry_delay = 120 , // network size affects
249
- .sec_prot .initial_key_imin = 360 , // network size affects
250
- .sec_prot .initial_key_imax = 720 , // network size affects
248
+ .sec_prot .initial_key_retry_delay = 0 , // network size affects
249
+ .sec_prot .initial_key_imin = 480 , // network size affects
250
+ .sec_prot .initial_key_imax = 1200 , // network size affects
251
251
.sec_prot .initial_key_retry_cnt = 2 // network size affects
252
252
};
253
253
You can’t perform that action at this time.
0 commit comments