Change in osmo-pcu[master]: tests/tbf: Set up pcu timers in prepare_pcu()
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/28074 ) Change subject: tests/tbf: Set up pcu timers in prepare_pcu() ...................................................................... tests/tbf: Set up pcu timers in prepare_pcu() Change-Id: I30a491f82cced558ad72108c3c5ed7015d1d4d3b --- M tests/tbf/TbfTest.cpp 1 file changed, 2 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/74/28074/1 diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp index d077852..4651269 100644 --- a/tests/tbf/TbfTest.cpp +++ b/tests/tbf/TbfTest.cpp @@ -67,6 +67,8 @@ { struct gprs_pcu *pcu = gprs_pcu_alloc(tall_pcu_ctx); bssgp_set_bssgp_callback(gprs_gp_send_test_cb, NULL); + osmo_tdef_set(pcu->T_defs, -2030, 0, OSMO_TDEF_S); + osmo_tdef_set(pcu->T_defs, -2031, 0, OSMO_TDEF_S); return pcu; } @@ -190,10 +192,7 @@ the_pcu->alloc_algorithm = alloc_algorithm_a; bts->initial_cs_dl = cs; bts->initial_cs_ul = cs; - osmo_tdef_set(the_pcu->T_defs, -2030, 0, OSMO_TDEF_S); - osmo_tdef_set(the_pcu->T_defs, -2031, 0, OSMO_TDEF_S); trx = &bts->trx[0]; - trx->pdch[ts_no].enable(); bts_set_current_frame_number(bts, DUMMY_FN); } -- To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/28074 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Change-Id: I30a491f82cced558ad72108c3c5ed7015d1d4d3b Gerrit-Change-Number: 28074 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
pespin