aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data_shared.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-08-01 20:43:45 +0200
committerlaforge <laforge@gnumonks.org>2019-09-10 12:26:21 +0000
commitec228cc08cd5a8c8b254fe40d0bfc9751d46d9dd (patch)
tree9e28b351b65711e5ddd25a982f7987bd6e778601 /include/osmo-bts/gsm_data_shared.h
parente6a72c2b8088ece6ade4c64fe18e24763a57441a (diff)
osmo-bts-trx: migrate to new generic ECU abstraction
libosmocodec has recently introduced a generic ECU abstraction layer which supports (pluggable) Error Concealment Units for not only the FR codec, but potentially any other codec, too. Change-Id: I001005aae6de76d4e045b8dc572239f057bb150d Depends: libosmocore I4d33c9c7c2d4c7462ff38a49c178b65accae1915
Diffstat (limited to 'include/osmo-bts/gsm_data_shared.h')
-rw-r--r--include/osmo-bts/gsm_data_shared.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmo-bts/gsm_data_shared.h b/include/osmo-bts/gsm_data_shared.h
index 65e984d4..cf7b7157 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -329,9 +329,7 @@ struct gsm_lchan {
struct msgb *pending_rel_ind_msg;
/* ECU (Error Concealment Unit) state */
- union {
- struct osmo_ecu_fr_state fr;
- } ecu_state;
+ struct osmo_ecu_state *ecu_state;
};
static inline uint8_t lchan_get_ta(const struct gsm_lchan *lchan)
@@ -879,4 +877,6 @@ uint8_t ts_subslots(struct gsm_bts_trx_ts *ts);
bool ts_is_tch(struct gsm_bts_trx_ts *ts);
const char *gsm_trx_unit_id(struct gsm_bts_trx *trx);
+int lchan2ecu_codec(const struct gsm_lchan *lchan);
+
#endif