aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-05-22 03:22:09 +0200
committerlaforge <laforge@osmocom.org>2021-05-23 10:09:27 +0000
commitd4abdd80fecefba8becd879dddfbc9a2f369364a (patch)
treee29cb798c9b6afaeb3dea946d4ee2724f6e974f1 /include/osmo-bts/gsm_data.h
parenta344db979f6951e313feb086369ec3c95745792b (diff)
[VAMOS] gsm_data.h: introduce and use BTS_TSC macro
Diffstat (limited to 'include/osmo-bts/gsm_data.h')
-rw-r--r--include/osmo-bts/gsm_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 69b18bc5..3dfd5b75 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -520,6 +520,7 @@ uint8_t gsm_lchan_as_pchan2chan_nr(const struct gsm_lchan *lchan,
enum gsm_phys_chan_config as_pchan);
#define BSIC2BCC(bsic) ((bsic) & 0x07)
+#define BTS_TSC(bts) BSIC2BCC((bts)->bsic)
uint8_t gsm_ts_tsc(const struct gsm_bts_trx_ts *ts);