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/common/oml.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/common/oml.c')
-rw-r--r-- | src/common/oml.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/oml.c b/src/common/oml.c index 56d00c5c..d82c3d4f 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -595,6 +595,10 @@ static int conf_lchans_for_pchan(struct gsm_bts_trx_ts *ts) lchan->type = GSM_LCHAN_SDCCH; } break; + case GSM_PCHAN_PDCH: + lchan = &ts->lchan[0]; + lchan->type = GSM_LCHAN_PDTCH; + break; default: /* FIXME */ break; |