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
This commit is contained in:
Philipp Maier 2016-09-22 12:34:45 +02:00 committed by Harald Welte
parent c77b574d1f
commit e2069d968c
1 changed files with 1 additions and 0 deletions

View File

@ -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: