diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2020-12-07 06:18:32 +0100 |
---|---|---|
committer | lynxis lazus <lynxis@fe80.eu> | 2020-12-15 11:46:45 +0000 |
commit | 90ee963570429f92a70cc6d5fd36675eb56223d5 (patch) | |
tree | eb3d0d959b6262a810969c414ccc5b599d0b521c /src/gb/gprs_ns2_internal.h | |
parent | gprs_ns2_sns: use different binds for the initial connection (diff) | |
download | libosmocore-90ee963570429f92a70cc6d5fd36675eb56223d5.tar.xz libosmocore-90ee963570429f92a70cc6d5fd36675eb56223d5.zip |
gprs_ns2_sns: introduce SNS Size/Config retries
According to 3GPP Size and Config procedure can
have retries in case the timeout of the procedure runs out.
Change-Id: I00e9023a6e7adc6ad48f4016fcaef189ac8b353e
Diffstat (limited to 'src/gb/gprs_ns2_internal.h')
-rw-r--r-- | src/gb/gprs_ns2_internal.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gb/gprs_ns2_internal.h b/src/gb/gprs_ns2_internal.h index d12c6636..9e63c70f 100644 --- a/src/gb/gprs_ns2_internal.h +++ b/src/gb/gprs_ns2_internal.h @@ -15,10 +15,8 @@ struct vty; struct gprs_ns2_vc_driver; struct gprs_ns2_vc_bind; - - -#define NS_TIMERS_COUNT 8 -#define NS_TIMERS "(tns-block|tns-block-retries|tns-reset|tns-reset-retries|tns-test|tns-alive|tns-alive-retries|tsns-prov)" +#define NS_TIMERS_COUNT 10 +#define NS_TIMERS "(tns-block|tns-block-retries|tns-reset|tns-reset-retries|tns-test|tns-alive|tns-alive-retries|tsns-prov|tsns-prov-retries)" #define NS_TIMERS_HELP \ "(un)blocking Timer (Tns-block) timeout\n" \ "(un)blocking Timer (Tns-block) number of retries\n" \ @@ -27,7 +25,9 @@ struct gprs_ns2_vc_bind; "Test Timer (Tns-test) timeout\n" \ "Alive Timer (Tns-alive) timeout\n" \ "Alive Timer (Tns-alive) number of retries\n" \ - "SNS Provision Timer (Tsns-prov) timeout\n" + "SNS Provision Timer (Tsns-prov) timeout\n" \ + "SNS Size number of retries\n" \ + "SNS Config number of retries\n" \ /* Educated guess - LLC user payload is 1500 bytes plus possible headers */ #define NS_ALLOC_SIZE 3072 @@ -42,6 +42,8 @@ enum ns2_timeout { NS_TOUT_TNS_ALIVE, NS_TOUT_TNS_ALIVE_RETRIES, NS_TOUT_TSNS_PROV, + NS_TOUT_TSNS_SIZE_RETRIES, + NS_TOUT_TSNS_CONFIG_RETRIES, }; enum nsvc_timer_mode { |