[XS] Change in osmo-bts[master]: bts-trx: Use existing defines for burst sizes instead of hardcoded va...
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/41659?usp=email ) Change subject: bts-trx: Use existing defines for burst sizes instead of hardcoded values ...................................................................... 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(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified 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 https://gerrit.osmocom.org/c/osmo-bts/+/41659?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I4171e7269897a77cf19b8a5464d0380604cb6249 Gerrit-Change-Number: 41659 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
pespin