File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
test/nanostack/unittest/6LoWPAN/ws_cfg_settings Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ static void ws_cfg_network_size_config_set_large(ws_cfg_nw_size_t *cfg)
458
458
cfg -> sec_prot .initial_key_retry_delay = NONE_INITIAL_KEY_RETRY_TIMER ;
459
459
cfg -> sec_prot .initial_key_imin = LARGE_NW_INITIAL_KEY_TRICKLE_IMIN_SECS ;
460
460
cfg -> sec_prot .initial_key_imax = LARGE_NW_INITIAL_KEY_TRICKLE_IMAX_SECS ;
461
- cfg -> sec_prot .initial_key_retry_cnt = DEFAULT_INITIAL_KEY_RETRY_COUNT ;
461
+ cfg -> sec_prot .initial_key_retry_cnt = LARGE_NW_INITIAL_KEY_RETRY_COUNT ;
462
462
}
463
463
464
464
static void ws_cfg_network_size_config_set_xlarge (ws_cfg_nw_size_t * cfg )
Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ extern uint8_t DEVICE_MIN_SENS;
251
251
// Large network trickle values for sending of initial EAPOL-key
252
252
#define LARGE_NW_INITIAL_KEY_TRICKLE_IMIN_SECS 600 /* 10 to 20 minutes */
253
253
#define LARGE_NW_INITIAL_KEY_TRICKLE_IMAX_SECS 1200
254
+ #define LARGE_NW_INITIAL_KEY_RETRY_COUNT 4
254
255
255
256
// Very slow network values for sending of initial EAPOL-key
256
257
#define EXTRA_LARGE_NW_INITIAL_KEY_TRICKLE_IMIN_SECS 600 /* 10 to 20 minutes */
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ static const ws_cfg_t ws_cfg_defaults_large = {
248
248
.sec_prot .initial_key_retry_delay = 0 , // network size affects
249
249
.sec_prot .initial_key_imin = 600 , // network size affects
250
250
.sec_prot .initial_key_imax = 1200 , // network size affects
251
- .sec_prot .initial_key_retry_cnt = 2 , // network size affects
251
+ .sec_prot .initial_key_retry_cnt = 4 , // network size affects
252
252
};
253
253
254
254
// large network size
You can’t perform that action at this time.
0 commit comments