diff options
author | Max <msuraev@sysmocom.de> | 2016-09-17 14:15:03 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2016-09-24 15:09:31 +0200 |
commit | 654175f33bd412671e3ef8cdd65c0689d10f278c (patch) | |
tree | 9861adb1bf44de4ff5edf02025e7fc7795f33218 /src/osmo-bts-sysmo/l1_if.h | |
parent | eb08a87be52bf55a78c12689f1e5c7cff627cbbc (diff) |
DTX: check Marker bit to send ONSET to L1
If Marker bit is set than it's a talkspurt which we have to explicitly
indicate to L1 by first sending ONSET message and than actual voice
data in a separate message.
This change affect sysmobts and LC15 hw.
Change-Id: I88c41568bcb0d82699f617adc4ad192603dd1bb6
Related: OS#1750
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.h')
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.h b/src/osmo-bts-sysmo/l1_if.h index 49b7e677..a90c39b2 100644 --- a/src/osmo-bts-sysmo/l1_if.h +++ b/src/osmo-bts-sysmo/l1_if.h @@ -110,7 +110,8 @@ struct gsm_lchan *l1if_hLayer_to_lchan(struct gsm_bts_trx *trx, uint32_t hLayer) /* tch.c */ bool l1if_tch_encode(struct gsm_lchan *lchan, uint8_t *data, uint8_t *len, - const uint8_t *rtp_pl, unsigned int rtp_pl_len, uint32_t fn); + const uint8_t *rtp_pl, unsigned int rtp_pl_len, uint32_t fn, + bool marker); int l1if_tch_rx(struct gsm_bts_trx *trx, uint8_t chan_nr, struct msgb *l1p_msg); int l1if_tch_fill(struct gsm_lchan *lchan, uint8_t *l1_buffer); struct msgb *gen_empty_tch_msg(struct gsm_lchan *lchan, uint32_t fn); |