Review at  https://gerrit.osmocom.org/3567

VIRT-PHY: Support forwarding of CBCH similar to BCCH/CCCH

Change-Id: I3e6f936603e43e885b28953be5ac262e3fb7c09a
---
M src/host/virt_phy/src/gsmtapl1_if.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/67/3567/1

diff --git a/src/host/virt_phy/src/gsmtapl1_if.c 
b/src/host/virt_phy/src/gsmtapl1_if.c
index 5454022..df1c124 100644
--- a/src/host/virt_phy/src/gsmtapl1_if.c
+++ b/src/host/virt_phy/src/gsmtapl1_if.c
@@ -154,6 +154,8 @@
        case GSMTAP_CHANNEL_AGCH:
        case GSMTAP_CHANNEL_PCH:
        case GSMTAP_CHANNEL_BCCH:
+       case GSMTAP_CHANNEL_CBCH51:
+       case GSMTAP_CHANNEL_CBCH52:
                /* save to just forward here, as upper layer ignores messages 
that
                 * do not fit the current state (e.g.  gsm48_rr.c:2159) */
                l1ctl_tx_data_ind(ms, msg, arfcn, link_id, chan_nr, fn, snr_db, 
signal_dbm, 0, 0);
@@ -166,8 +168,6 @@
        case GSMTAP_CHANNEL_PACCH:
        case GSMTAP_CHANNEL_PDCH:
        case GSMTAP_CHANNEL_PTCCH:
-       case GSMTAP_CHANNEL_CBCH51:
-       case GSMTAP_CHANNEL_CBCH52:
                LOGPMS(DVIRPHY, LOGL_NOTICE, ms, "Ignoring unsupported channel 
type %s\n",
                        get_value_string(gsmtap_gsm_channel_names, 
gsmtap_chantype));
                break;

-- 
To view, visit https://gerrit.osmocom.org/3567
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e6f936603e43e885b28953be5ac262e3fb7c09a
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>

Reply via email to