mirror of https://gerrit.osmocom.org/libosmocore
chantype_rsl2gsmtap(): Add entries for CBCH
This adds missing entries for CBCH in the conversion between RSL-style channel numbers and GSMTAP channel types. Without this change, you will see tons of messages like virtphy[19865]: Wed Feb 26 16:16:28 2020 DVIRPHY <0002> gsmtapl1_if.c:267 MS 0000: Ignoring unknown channel type UNKNOWN (0) if running virtphy of osmocom-bb with a BTS that broadcasts CBCH. Change-Id: I19bbd2942adf441f58955ac896ef968bfd8aec5f
This commit is contained in:
parent
4960ee4511
commit
ac7fabe34f
|
@ -86,6 +86,12 @@ uint8_t chantype_rsl2gsmtap(uint8_t rsl_chantype, uint8_t link_id)
|
|||
case RSL_CHAN_OSMO_PDCH:
|
||||
ret = GSMTAP_CHANNEL_PDCH;
|
||||
break;
|
||||
case RSL_CHAN_OSMO_CBCH4:
|
||||
ret = GSMTAP_CHANNEL_CBCH51;
|
||||
break;
|
||||
case RSL_CHAN_OSMO_CBCH8:
|
||||
ret = GSMTAP_CHANNEL_CBCH52;
|
||||
break;
|
||||
}
|
||||
|
||||
if (link_id & 0x40)
|
||||
|
|
Loading…
Reference in New Issue