pespin has uploaded this change for review.
bts-trx: Use existing defines for burst sizes instead of hardcoded values
Change-Id: I4171e7269897a77cf19b8a5464d0380604cb6249
---
M src/osmo-bts-trx/trx_if.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/59/41659/1
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index b6b20e9..29f1fd0 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -947,8 +947,8 @@
/* Modulation types defined in 3GPP TS 45.002 */
static const size_t bl[] = {
- [TRX_MOD_T_GMSK] = 148, /* 1 bit per symbol */
- [TRX_MOD_T_8PSK] = 444, /* 3 bits per symbol */
+ [TRX_MOD_T_GMSK] = GSM_BURST_LEN, /* 1 bit per symbol */
+ [TRX_MOD_T_8PSK] = EGPRS_BURST_LEN, /* 3 bits per symbol */
};
bi->burst_len = bl[bi->mod];
To view, visit change 41659. To unsubscribe, or for help writing mail filters, visit settings.