aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp <pmaier@sysmocom.de>2016-09-22 12:34:45 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-24 03:21:27 +0000
commite2069d968c20fb097a63b9573d324b9157f4a500 (patch)
treed03826b5dcc5c13b58e57c2d5fe565351ba3619a
parentc77b574d1fbe43ca19db0e5e041b3b5e2a71b856 (diff)
octphy: Fixing missing payload type in ph. chan. activation
in l1_oml.c:ts_connect() the payload type (ulPayloadType) was not configured to full-rate for PDTCHF PACCHF and PTCCHF. Older octasic firmwares (below octsdr-2g-02.06.00-B964-alpha) will tolerate this, newer versions will crash during channel initalitation. Change-Id: Id2f6a439ceb063b10efc7b9d1d70bb5b29a01033
-rw-r--r--src/osmo-bts-octphy/l1_oml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index ed365b64..77352612 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -1448,6 +1448,7 @@ static int ts_connect(struct gsm_bts_trx_ts *ts)
* a TCH/H ? */
switch (oc->ulChannelType) {
case cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHF_FACCHF_SACCHTF:
+ case cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_PDTCHF_PACCHF_PTCCHF:
oc->ulPayloadType = cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_FULL_RATE;
break;
case cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHH_FACCHH_SACCHTH: