aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-10-28 16:52:48 +0200
committerHarald Welte <laforge@gnumonks.org>2016-11-03 12:31:37 +0000
commitacfccb3f028c8417df42de9a6400896eb269a614 (patch)
treed2dc8cc8bd1a8b3de865e9f295f4dca53745f67a /src/common/bts.c
parent4008ebb9258b551e23ff66c5f5abf8880f4398d7 (diff)
DTX fix ONSET handling
* re-introduce ST_ONSET_F to guard from repetitive ONSET messages in case multiple FACCH occur duriing DTX silence period. * produce ONSET event after both SID FIRST and UPDATE in case of AMR FR. * always dispatch E_SID_F (SID FIRST) signal if in talkspurt. * allow E_SID_* right after ONSET (zero-length talkspurt). * add missing E_ONSET signal description. * fix FSM transitions for AMR HR *Inhibited and First P*. * fix incorrect return from l1if_tch_encode() in ONSET FACCH with incoming SID UPDATE Change-Id: I0e9033c5f169da46aed9a0d1295faff489778dcf Related: OS#1801
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 6f621c4d..2005e427 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -40,6 +40,7 @@
#include <osmo-bts/abis.h>
#include <osmo-bts/bts.h>
#include <osmo-bts/bts_model.h>
+#include <osmo-bts/dtx_dl_amr_fsm.h>
#include <osmo-bts/pcu_if.h>
#include <osmo-bts/rsl.h>
#include <osmo-bts/oml.h>
@@ -176,6 +177,8 @@ int bts_init(struct gsm_bts *bts)
INIT_LLIST_HEAD(&btsb->smscb_state.queue);
INIT_LLIST_HEAD(&btsb->oml_queue);
+ /* register DTX DL FSM */
+ osmo_fsm_register(&dtx_dl_amr_fsm);
return rc;
}