aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean-Francois Dionne <jf.dionne@nutaq.com>2017-01-24 12:10:13 -0500
committerHarald Welte <laforge@gnumonks.org>2017-02-01 19:13:16 +0000
commita760a043c4153770fe9577259989169cb2286a82 (patch)
treec9eae9c50a3e6bc6124f7e5c6a1b304d699c6bf1 /include
parent16b4179fbeaf3289e7aa41e4f9a0ac5d9d6206f6 (diff)
Fix AMR HR DTX FSM logic.
Fix SID_FIRST_INH detection during speech and when SID_FIRST is interrupted by FACCH. Fix SID_UPDATE_INH detection during silence and when SID_UPDATE is interrupted by FACCH. Add a delay for SID_FIRST to appear at the right time after FACCH. Fix extra byte sent in downlink for SID_FIRST and SID_UPDATE. Change-Id: Ia811305e15541f2376005df736bd610e8b0d2f69
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/dtx_dl_amr_fsm.h12
-rw-r--r--include/osmo-bts/rsl.h1
2 files changed, 9 insertions, 4 deletions
diff --git a/include/osmo-bts/dtx_dl_amr_fsm.h b/include/osmo-bts/dtx_dl_amr_fsm.h
index f747f9f1..c66ac7d6 100644
--- a/include/osmo-bts/dtx_dl_amr_fsm.h
+++ b/include/osmo-bts/dtx_dl_amr_fsm.h
@@ -12,11 +12,15 @@ enum dtx_dl_amr_fsm_states {
ST_VOICE,
ST_SID_F1,
ST_SID_F2,
- ST_F1_INH,
- ST_U_INH,
+ ST_F1_INH_V,
+ ST_F1_INH_F,
+ ST_U_INH_V,
+ ST_U_INH_F,
ST_U_NOINH,
- ST_F1_INH_REC,
- ST_U_INH_REC,
+ ST_F1_INH_V_REC,
+ ST_F1_INH_F_REC,
+ ST_U_INH_V_REC,
+ ST_U_INH_F_REC,
ST_SID_U,
ST_ONSET_V,
ST_ONSET_F,
diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h
index a2a6e3d9..d5d0f1a3 100644
--- a/include/osmo-bts/rsl.h
+++ b/include/osmo-bts/rsl.h
@@ -13,6 +13,7 @@ enum {
};
#define LCHAN_FN_DUMMY 0xFFFFFFFF
+#define LCHAN_FN_WAIT 0xFFFFFFFE
int msgb_queue_flush(struct llist_head *list);