From dab54b91783d5197e0129de950a705e2da2a4cb9 Mon Sep 17 00:00:00 2001 From: Tom Tsou Date: Fri, 1 Jul 2016 00:10:31 -0700 Subject: trx: Enable EGPRS handling through burst lengths Existing interfaces are coded with the implicit expectation of using a burst sequence length of 148, which is constant with GSM and GPRS. That changes with EGPRS, where the burst length may be 444 due to the use of 8-PSK instead of GMSK modulation. Setup the interface to accept and return a length value with the burst sequence. This allows 444 length bit vectors to/from the EGPRS decoder/encoder. Length is explicitly used as a identifier for 8-PSK vs. GMSK modulated sequences. Change-Id: I90b46b46b11b6ce280e7f8232d5a2fccec2d4f18 Signed-off-by: Tom Tsou --- src/osmo-bts-trx/gsm0503_coding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osmo-bts-trx/gsm0503_coding.c') diff --git a/src/osmo-bts-trx/gsm0503_coding.c b/src/osmo-bts-trx/gsm0503_coding.c index fd863851..c601cac3 100644 --- a/src/osmo-bts-trx/gsm0503_coding.c +++ b/src/osmo-bts-trx/gsm0503_coding.c @@ -1353,7 +1353,7 @@ int pdtch_encode(ubit_t *bursts, uint8_t *l2_data, uint8_t l2_len) gsm0503_xcch_burst_map(&iB[i * 114], &bursts[i * 116], hl_hn + i*2, hl_hn + i*2 + 1); - return 0; + return GSM0503_GPRS_BURSTS_NBITS; } -- cgit v1.2.3