diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-04-19 19:22:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-04-19 19:22:53 +0200 |
commit | f19ee660963ba34a2ecad5f6fb5c44e89c9fb820 (patch) | |
tree | a4470d6cdf58caa907a38040d663abd23941ea47 /src/osmo-bts-sysmo/femtobts.c | |
parent | 4301b09137925dc4f903c98608697491a7a0a600 (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.c')
-rw-r--r-- | src/osmo-bts-sysmo/femtobts.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/femtobts.c b/src/osmo-bts-sysmo/femtobts.c index 848981a3..a367c32a 100644 --- a/src/osmo-bts-sysmo/femtobts.c +++ b/src/osmo-bts-sysmo/femtobts.c @@ -257,3 +257,30 @@ const struct value_string femtobts_dir_names[] = { { GsmL1_Dir_TxDownlink|GsmL1_Dir_RxUplink, "BOTH" }, { 0, NULL } }; + +const struct value_string femtobts_chcomb_names[] = { + { GsmL1_LogChComb_0, "dummy" }, + { GsmL1_LogChComb_I, "tch_f" }, + { GsmL1_LogChComb_II, "tch_h" }, + { GsmL1_LogChComb_IV, "ccch" }, + { GsmL1_LogChComb_V, "ccch_sdcch4" }, + { GsmL1_LogChComb_VII, "sdcch8" }, + { GsmL1_LogChComb_XIII, "pdtch" }, + { 0, NULL } +}; + +const uint8_t pdch_msu_size[_NUM_PDCH_CS] = { + [PDCH_CS_1] = 23, + [PDCH_CS_2] = 34, + [PDCH_CS_3] = 40, + [PDCH_CS_4] = 54, + [PDCH_MCS_1] = 27, + [PDCH_MCS_2] = 33, + [PDCH_MCS_3] = 42, + [PDCH_MCS_4] = 49, + [PDCH_MCS_5] = 60, + [PDCH_MCS_6] = 78, + [PDCH_MCS_7] = 118, + [PDCH_MCS_8] = 142, + [PDCH_MCS_9] = 154 +}; |