aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/femtobts.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-04-19 19:22:53 +0200
committerHarald Welte <laforge@gnumonks.org>2012-04-19 19:22:53 +0200
commitf19ee660963ba34a2ecad5f6fb5c44e89c9fb820 (patch)
treea4470d6cdf58caa907a38040d663abd23941ea47 /src/osmo-bts-sysmo/femtobts.h
parent4301b09137925dc4f903c98608697491a7a0a600 (diff)
add a VTY command for activating PDCH channels (in EGPRS mode)
This allows us to do RF measurements (EDGE EVM and the like) even without having any PCU/RLC/MAC code as of now. To use it, configure PDCH type timeslots (e.g. TS 7) in the BSC and then use "trx 0 7 activate 0" to manually activate the PDTCH lchan on top of that timeslot. The BTS will now happily transmit EDGE/8PSK data.
Diffstat (limited to 'src/osmo-bts-sysmo/femtobts.h')
-rw-r--r--src/osmo-bts-sysmo/femtobts.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/femtobts.h b/src/osmo-bts-sysmo/femtobts.h
index bb5c6aaf..5dfcba24 100644
--- a/src/osmo-bts-sysmo/femtobts.h
+++ b/src/osmo-bts-sysmo/femtobts.h
@@ -48,4 +48,23 @@ const struct value_string femtobts_clksrc_names[8];
const struct value_string femtobts_dir_names[6];
+enum pdch_cs {
+ PDCH_CS_1,
+ PDCH_CS_2,
+ PDCH_CS_3,
+ PDCH_CS_4,
+ PDCH_MCS_1,
+ PDCH_MCS_2,
+ PDCH_MCS_3,
+ PDCH_MCS_4,
+ PDCH_MCS_5,
+ PDCH_MCS_6,
+ PDCH_MCS_7,
+ PDCH_MCS_8,
+ PDCH_MCS_9,
+ _NUM_PDCH_CS
+};
+
+const uint8_t pdch_msu_size[_NUM_PDCH_CS];
+
#endif /* FEMTOBTS_H */