aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bnetz/bnetz.c3
-rw-r--r--src/common/loss.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/bnetz/bnetz.c b/src/bnetz/bnetz.c
index 94e704e..a741e32 100644
--- a/src/bnetz/bnetz.c
+++ b/src/bnetz/bnetz.c
@@ -45,9 +45,6 @@ static int new_callref = 0x40000000;
#define DIALING_TO 3.8 /* timeout after channel allocation "Kanalbelegung" */
#define DIALING_TO2 0.5 /* timeout while receiving digits */
-/* radio loss condition */
-#define LOSS_OF_SIGNAL 12.5 /* duration of carrier loss until release */
-
/* mobile terminating call */
#define ALERTING_TO 60 /* timeout after 60 seconds alerting the MS */
#define PAGING_TO 2.1 /* 700..2100 ms timeout after paging "Selektivruf" */
diff --git a/src/common/loss.c b/src/common/loss.c
index d8ce2a5..0e37f95 100644
--- a/src/common/loss.c
+++ b/src/common/loss.c
@@ -51,7 +51,7 @@ void audio_reset_loss(loss_t *loss)
loss->level_count = 0;
}
-#define LOSS_MAX_DIFF 1.1 /* 10 % difference */
+#define LOSS_MAX_DIFF 1.2 /* 20 % difference */
/* call this for every interval */
int audio_detect_loss(loss_t *loss, double level)