diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-02-01 13:51:03 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-03-14 18:32:33 +0100 |
commit | d75bac40d1b51a702cd14b35add6ff51d38d3994 (patch) | |
tree | 3f710c60108e5a14c8cba96d5a799bf3c6cb07c6 /src | |
parent | beb10ef02a10d73537a97f6f21aad36664c9b266 (diff) |
lapd: Reduce N200 (SABM retransmission count)
N200, which controls the maxium number of LAPD retransmissions,
is set to 300. This will cause a long waiting time until
LAPD detects a failed link. This commit reduces the retransmission
count to 50 in order to get a faster link re-establishment in
case of link failure. This patch will only affect the ericsson
LAPD profile, all other lapd profiles will not be touched.
Change-Id: I4f56f9d00520adc0c0a4497547762cd054030867
Diffstat (limited to 'src')
-rw-r--r-- | src/input/lapd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/lapd.c b/src/input/lapd.c index f5909b4..370697d 100644 --- a/src/input/lapd.c +++ b/src/input/lapd.c @@ -101,12 +101,12 @@ const struct lapd_profile lapd_profile_abis = { * periodically scanning through all timeslots to find the timeslot * where the bsc is transmitting its sabm frames the normal maximum * retransmission (n200) of 3 is not enough. In order not to miss - * the bts, n200 has been increased to 300, which is an educated + * the bts, n200 has been increased to 50, which is an educated * guess. */ const struct lapd_profile lapd_profile_abis_ericsson = { .k = LAPD_SET_K(2,1), - .n200 = 300, + .n200 = 50, .n201 = 260, .n202 = 0, /* infinite */ .t200_sec = 0, .t200_usec = 300000, |