bts_nokia_site: Implement channel config for CBCH

Thanks to manawyrm for pointing out that the comments of the file
actually contained the numeric codes for the CBCH variants, but the
cases in the switch statements were missing.

Change-Id: Id5b4da6838f9a34db39fff5c23ad18822cd3347b
This commit is contained in:
Harald Welte 2022-08-07 22:28:30 +02:00
parent eca195469b
commit 6545f72981
1 changed files with 6 additions and 0 deletions

View File

@ -797,6 +797,9 @@ static int make_fu_config(struct gsm_bts_trx *trx, uint8_t id,
case GSM_PCHAN_CCCH_SDCCH4:
chan_config = 1;
break;
case GSM_PCHAN_CCCH_SDCCH4_CBCH:
chan_config = 3;
break;
case GSM_PCHAN_TCH_F:
chan_config = 6; /* 9 should work too */
break;
@ -806,6 +809,9 @@ static int make_fu_config(struct gsm_bts_trx *trx, uint8_t id,
case GSM_PCHAN_SDCCH8_SACCH8C:
chan_config = 4;
break;
case GSM_PCHAN_SDCCH8_SACCH8C_CBCH:
chan_config = 5;
break;
case GSM_PCHAN_PDCH:
chan_config = 11;
break;