summaryrefslogtreecommitdiffstats
path: root/src/host/virt_phy/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-12 23:45:23 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-13 12:23:00 +0200
commit656cd327f97e025a3ff1a02f07dfa68bc503e9d3 (patch)
tree0510c99ca5080246b6c29591988ea22a0355269d /src/host/virt_phy/include
parentc8d1ad36eb2e096771d9d29c9bcd54720a798d6c (diff)
VIRT-PHY: common_util: chantype_gsmtap2rsl() now in libosmocore
As of Change-Id Ie1bc00670887064da0fea61c3dab036c23ceea25, this function is offered by libosmocore. Change-Id: Ie269afe314967fd2c42b91ee854c217f699252dc
Diffstat (limited to 'src/host/virt_phy/include')
-rw-r--r--src/host/virt_phy/include/virtphy/common_util.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/host/virt_phy/include/virtphy/common_util.h b/src/host/virt_phy/include/virtphy/common_util.h
index 672ff932..2585d069 100644
--- a/src/host/virt_phy/include/virtphy/common_util.h
+++ b/src/host/virt_phy/include/virtphy/common_util.h
@@ -9,43 +9,3 @@
#define LID_SACCH 0x40
#define LID_DEDIC 0x00
-
-/*! \brief convert GSMTAP channel type to RSL channel number
- * \param[in] gsmtap_chantype GSMTAP channel type
- * \param[out] rsl_chantype rsl channel type
- * \param[out] rsl_chantype rsl link id
- *
- * Mapping from gsmtap channel:
- * GSMTAP_CHANNEL_UNKNOWN * 0x00
- * GSMTAP_CHANNEL_BCCH * 0x01
- * GSMTAP_CHANNEL_CCCH * 0x02
- * GSMTAP_CHANNEL_RACH * 0x03
- * GSMTAP_CHANNEL_AGCH * 0x04
- * GSMTAP_CHANNEL_PCH * 0x05
- * GSMTAP_CHANNEL_SDCCH * 0x06
- * GSMTAP_CHANNEL_SDCCH4 * 0x07
- * GSMTAP_CHANNEL_SDCCH8 * 0x08
- * GSMTAP_CHANNEL_TCH_F * 0x09
- * GSMTAP_CHANNEL_TCH_H * 0x0a
- * GSMTAP_CHANNEL_PACCH * 0x0b
- * GSMTAP_CHANNEL_CBCH52 * 0x0c
- * GSMTAP_CHANNEL_PDCH * 0x0d
- * GSMTAP_CHANNEL_PTCCH * 0x0e
- * GSMTAP_CHANNEL_CBCH51 * 0x0f
- * to rsl channel type:
- * RSL_CHAN_NR_MASK * 0xf8
- * RSL_CHAN_NR_1 * * 0x08
- * RSL_CHAN_Bm_ACCHs * 0x08
- * RSL_CHAN_Lm_ACCHs * 0x10
- * RSL_CHAN_SDCCH4_ACCH * 0x20
- * RSL_CHAN_SDCCH8_ACCH * 0x40
- * RSL_CHAN_BCCH * * 0x80
- * RSL_CHAN_RACH * * 0x88
- * RSL_CHAN_PCH_AGCH * 0x90
- * RSL_CHAN_OSMO_PDCH * 0xc0
- * and logical channel link id:
- * LID_SACCH * * 0x40
- * LID_DEDIC * * 0x00
- */
-void chantype_gsmtap2rsl(uint8_t gsmtap_chantype, uint8_t *rsl_chantype,
- uint8_t *link_id);