[PATCH] libosmo-abis[master]: lapd: Reduce N200 (SABM retransmission count)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Tue Mar 14 17:37:34 UTC 2017


Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/2010

to look at the new patch set (#2).

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
---
M src/input/lapd.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/10/2010/2

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 @@
  * 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,

-- 
To view, visit https://gerrit.osmocom.org/2010
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4f56f9d00520adc0c0a4497547762cd054030867
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>



More information about the gerrit-log mailing list