Projects
osmocom:master
osmo-pcu
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 34
View file
osmo-pcu.spec
Changed
@@ -14,13 +14,13 @@ Name: osmo-pcu Requires: osmocom-master -Version: 1.1.0.101.0d95 +Version: 1.1.0.103.d105 Release: 0 Summary: Osmocom GPRS Packet Control Unit (PCU) License: GPL-2.0-only Group: Productivity/Telephony/Servers URL: https://osmocom.org/projects/osmopcu -Source: osmo-pcu_1.1.0.101.0d95.tar.xz +Source: osmo-pcu_1.1.0.103.d105.tar.xz Source1: rpmlintrc BuildRequires: autoconf BuildRequires: automake
View file
commit_0d957d8364bab12dd7105c9e64bff16cb1caa4fb.txt
Deleted
View file
commit_d1058b9445692e4ba7a540d478c72874dd754a47.txt
Added
View file
osmo-pcu_1.1.0.101.0d95.dsc -> osmo-pcu_1.1.0.103.d105.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-pcu Binary: osmo-pcu, osmo-pcu-dbg, osmo-pcu-doc Architecture: any all -Version: 1.1.0.101.0d95 +Version: 1.1.0.103.d105 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: http://osmocom.org/projects/osmopcu Standards-Version: 3.9.8 @@ -14,8 +14,8 @@ osmo-pcu-dbg deb debug extra arch=any osmo-pcu-doc deb doc optional arch=all Checksums-Sha1: - 2cc8db4c7bb8bb4c2f04c6c72d965abd431c1395 406380 osmo-pcu_1.1.0.101.0d95.tar.xz + 91c8368b3382212b534664f11d28e23a641f4152 407832 osmo-pcu_1.1.0.103.d105.tar.xz Checksums-Sha256: - 58f06c07660a41cb1b12544f9c9f34bb22c6695e176142c50987ae6775ff706b 406380 osmo-pcu_1.1.0.101.0d95.tar.xz + 38564cedfe01256e8d0d0a5660efae29ec92218507b79aa3dd11fb9aff622308 407832 osmo-pcu_1.1.0.103.d105.tar.xz Files: - 2965436cd770ff852888839bba1a0b15 406380 osmo-pcu_1.1.0.101.0d95.tar.xz + bbfd1932779c40697967097bfe7face7 407832 osmo-pcu_1.1.0.103.d105.tar.xz
View file
osmo-pcu_1.1.0.101.0d95.tar.xz/.tarball-version -> osmo-pcu_1.1.0.103.d105.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.1.0.101-0d95 +1.1.0.103-d105
View file
osmo-pcu_1.1.0.101.0d95.tar.xz/debian/changelog -> osmo-pcu_1.1.0.103.d105.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-pcu (1.1.0.101.0d95) unstable; urgency=medium +osmo-pcu (1.1.0.103.d105) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Fri, 16 Dec 2022 14:59:48 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Tue, 20 Dec 2022 10:42:11 +0000 osmo-pcu (1.1.0) unstable; urgency=medium
View file
osmo-pcu_1.1.0.101.0d95.tar.xz/src/gprs_ms.c -> osmo-pcu_1.1.0.103.d105.tar.xz/src/gprs_ms.c
Changed
@@ -453,15 +453,6 @@ llc_queue_move_and_merge(&ms->llc_queue, &old_ms->llc_queue); - if (!ms_dl_tbf(ms) && ms_dl_tbf(old_ms)) { - struct gprs_rlcmac_dl_tbf *dl_tbf = ms_dl_tbf(old_ms); - LOGPTBFDL(dl_tbf, LOGL_NOTICE, - "Merge MS: Move DL TBF: %s => %s\n", - old_ms_name, ms_name(ms)); - /* Move the DL TBF to the new MS */ - tbf_set_ms(dl_tbf_as_tbf(dl_tbf), ms); - } - /* Clean up the old MS object */ /* TODO: Use timer? */ if (ms_ul_tbf(old_ms) && !tbf_timers_pending((struct gprs_rlcmac_tbf *)ms_ul_tbf(old_ms), T_MAX))
View file
osmo-pcu_1.1.0.101.0d95.tar.xz/src/tbf_dl_fsm.c -> osmo-pcu_1.1.0.103.d105.tar.xz/src/tbf_dl_fsm.c
Changed
@@ -163,7 +163,19 @@ * listening on PDCH) in order to move to FLOW state and start * transmitting data to it. When X2002 triggers (see cb timer * end of the file) it will send TBF_EV_ASSIGN_READY_CCCH back - * to us here. */ + * to us here. + */ + if (!(ctx->state_flags & (1 << GPRS_RLCMAC_FLAG_CCCH))) { + /* This can happen if we initiated a CCCH DlAss from an + * older TBF object (same TLLI) towards BTS, and the DL-TBF + * was recreated and is now trying to be assigned throguh + * PACCH. + */ + LOGPTBFDL(ctx->dl_tbf, LOGL_INFO, + "Ignoring event ASSIGN_PCUIF_CNF from BTS " + "(CCCH was not requested on current assignment)\n"); + break; + } fi->T = -2002; val = osmo_tdef_get(the_pcu->T_defs, fi->T, OSMO_TDEF_MS, -1); sec = val / 1000;
View file
osmo-pcu_1.1.0.101.0d95.tar.xz/tests/tbf/TbfTest.cpp -> osmo-pcu_1.1.0.103.d105.tar.xz/tests/tbf/TbfTest.cpp
Changed
@@ -2406,6 +2406,101 @@ TALLOC_FREE(the_pcu); } +/* Test DL-TBF first assigned over CCCH ImmAss, then after X2002 timeout, when MS +is available to receive from TBF on PACCH, upgrade it to multislot. In the +middle the MS would request a new UL-TBF and PCU ends up creating 2 MS objects on +different TRX, which are eventually merged. +Hence, new multislot DL-TBF allocation (assigned over PACCH) happens on a different TRX +than the one which was assigned over CCCH and where the PktDlAss is sent. SYS#6231 */ +static void test_ms_merge_dl_tbf_different_trx(void) +{ + the_pcu = prepare_pcu(); + struct gprs_rlcmac_bts *bts = bts_alloc(the_pcu, 0); + GprsMs *first_ms, *second_ms; + uint8_t ts_no = 1; + uint8_t ms_class = 11; + struct gprs_rlcmac_trx *trx0 = &bts->trx0; + struct gprs_rlcmac_trx *trx1 = &bts->trx1; + uint32_t old_tlli = 0xa3c2f953; + uint32_t new_tlli = 0xecc1f953; + const char *imsi = "001001000000001"; + uint8_t llc_buf19; + int rc; + unsigned delay_csec = 1000; + struct gprs_rlcmac_dl_tbf *dl_tbf; + struct gprs_rlcmac_ul_tbf *ul_tbf; + uint32_t fn = 0; + + fprintf(stderr, "=== start %s ===\n", __func__); + + bts->pcu->nsi = gprs_ns2_instantiate(tall_pcu_ctx, gprs_ns_prim_cb, NULL); + if (!bts->pcu->nsi) { + LOGP(DBSSGP, LOGL_ERROR, "Failed to create NS instance\n"); + abort(); + } + + setup_bts(bts, ts_no); + the_pcu->alloc_algorithm = alloc_algorithm_b; + /* trx0->pdchts_no.enable(); Already enabled during setup_bts()) */ + trx0->pdchts_no.disable(); + trx1->pdch4.enable(); + trx1->pdch5.enable(); + trx1->pdch6.enable(); + gprs_bssgp_init(bts, 5234, 5234, 1, 1, false, 0, 0, 0); + + /* Handle LLC frame 1. This will create the TBF we want in TRX1 and + * we'll have it upgrade to multislot on TRX0 later. This will trigger a + * CCCH Dl ImAss towards BTS PCUIF. The confirmation from BTS is + * injected further below (TBF_EV_ASSIGN_PCUIF_CNF). */ + memset(llc_buf, 1, sizeof(llc_buf)); + rc = dl_tbf_handle(bts, old_tlli, 0, imsi, ms_class, 0, + delay_csec, llc_buf, sizeof(llc_buf)); + OSMO_ASSERT(rc >= 0); + + first_ms = bts_ms_store(bts)->get_ms(GSM_RESERVED_TMSI, GSM_RESERVED_TMSI, imsi); + OSMO_ASSERT(first_ms); + dl_tbf = ms_dl_tbf(first_ms); + OSMO_ASSERT(dl_tbf); + OSMO_ASSERT(tbf_get_trx(dl_tbf) == trx1); + OSMO_ASSERT(dl_tbf->control_ts->trx == trx1); + struct gprs_rlcmac_pdch *old_dl_control_ts = dl_tbf->control_ts; + + /* Enable PDCHs on TRX0 so that second_ms is allocated on TRX0: */ + trx0->pdch1.enable(); + trx0->pdch2.enable(); + trx0->pdch3.enable(); + + second_ms = bts_alloc_ms(bts, 0, 0); + ms_set_tlli(second_ms, new_tlli); + ul_tbf = ul_tbf_alloc(bts, second_ms, 0, true); + OSMO_ASSERT(ul_tbf != NULL); + ms_update_announced_tlli(second_ms, new_tlli); + + /* Here PCU gets to know the MS are the same and they get merged. */ + rc = dl_tbf_handle(bts, new_tlli, old_tlli, imsi, ms_class, 0, + delay_csec, llc_buf, sizeof(llc_buf)); + OSMO_ASSERT(rc >= 0); + /* Here we assert a new DL-TBF is created in the new MS (hence old from TRX1 is deleted and new one is in TRX0): */ + dl_tbf = ms_dl_tbf(second_ms); + OSMO_ASSERT(tbf_get_trx(dl_tbf) == trx0); + OSMO_ASSERT(dl_tbf->control_ts != old_dl_control_ts); + OSMO_ASSERT(dl_tbf == llist_first_entry_or_null(&trx0->dl_tbfs, struct llist_item, list)->entry); + OSMO_ASSERT(NULL == llist_first_entry_or_null(&trx1->dl_tbfs, struct llist_item, list)); + + /* Here BTS would answer with data_cnf and trigger + * bts_rcv_imm_ass_cnf(), which would trigger TBF_EV_ASSIGN_PCUIF_CNF. + * Since that's for an older DL-TBF assignment which no longer exists, it is ignored. */ + OSMO_ASSERT(osmo_tdef_set(the_pcu->T_defs, -2002, 0, OSMO_TDEF_MS) == 0); + osmo_fsm_inst_dispatch(ms_dl_tbf(second_ms)->state_fi, TBF_EV_ASSIGN_PCUIF_CNF, NULL); + osmo_select_main(0); + + /* get the PACCH PktDlAss for the DL-TBF, allocated one the UL-TBF from the new MS obj: */ + request_dl_rlc_block(dl_tbf->bts, dl_tbf->control_ts, &fn); + + fprintf(stderr, "=== end %s ===\n", __func__); + TALLOC_FREE(the_pcu); +} + static void test_tbf_puan_urbb_len(void) { the_pcu = prepare_pcu(); @@ -3409,6 +3504,7 @@ test_packet_access_rej_epdan(); test_packet_access_rej_prr(); test_packet_access_rej_prr_no_other_tbfs(); + test_ms_merge_dl_tbf_different_trx(); if (getenv("TALLOC_REPORT_FULL")) talloc_report_full(tall_pcu_ctx, stderr);
View file
osmo-pcu_1.1.0.101.0d95.tar.xz/tests/tbf/TbfTest.err -> osmo-pcu_1.1.0.103.d105.tar.xz/tests/tbf/TbfTest.err
Changed
@@ -2319,25 +2319,49 @@ Old MS: TLLI = 0xf1223344, TA = 7, IMSI = 0011223344, LLC = 0 There is a new MS object for the same MS: (0xf1223344, '0011223344') -> (0xf5667788, '') MS(TLLI-0xf5667788:TA-7:MSCLS-1-0:UL) Merge MS: MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:UL:DL) -TBF(DL:TFI-0-0-0:STATE-FINISHED:GPRS:IMSI-0011223344:TLLI-0xf1223344) Merge MS: Move DL TBF: MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:UL:DL) => MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:UL) -MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:UL) Detaching TBF: TBF(DL:TFI-0-0-0:STATE-FINISHED:GPRS:IMSI-0011223344:TLLI-0xf1223344) -MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:UL) Attaching DL TBF: TBF(DL:TFI-0-0-0:STATE-FINISHED:GPRS:IMSI-0011223344:TLLI-0xf5667788) TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344) free PDCH(bts=0,trx=0,ts=7) Detaching TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344), 2 TBFs, USFs = 03, TFIs = 00000003. -MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0) Detaching TBF: TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344) +MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:DL) Detaching TBF: TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344) ********** UL-TBF ends here ********** UL_ACK_TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344){NONE}: Deallocated UL_TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344){FLOW}: Deallocated UL_ASS_TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344){NONE}: Deallocated DL_ASS_TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344){NONE}: Deallocated -MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0) Clearing MS object -MS(TA-7:MSCLS-1-0) Destroying MS object +MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:DL) Clearing MS object Modifying MS object, TLLI: 0xf5667788 confirmed -MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:UL:DL) appending 4 bytes to DL LLC queue +MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:UL) appending 4 bytes to DL LLC queue +MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:UL) ********** DL-TBF starts here ********** +MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:UL) Allocating DL TBF +UL_ASS_TBF{NONE}: Allocated +DL_ASS_TBF{NONE}: Allocated +DL_TBF{NEW}: Allocated +DL algo A <multi> (suggested TRX: 0): Alloc start +- Skipping TS 0, because not enabled +- Skipping TS 1, because not enabled +- Skipping TS 2, because not enabled +- Skipping TS 3, because not enabled +- Skipping TS 4, because not enabled +- Skipping TS 5, because not enabled +- Skipping TS 6, because not enabled +DL Assign downlink TS=7 TFI=1 +PDCH(bts=0,trx=0,ts=7) Attaching TBF(DL:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788), 2 TBFs, USFs = 02, TFIs = 00000003. +TBF(DL:TFI-0-0-1:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788) Setting Control TS PDCH(bts=0,trx=0,ts=7) +TBF(DL:TFI-0-0-1:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788) Allocated: trx = 0, ul_slots = 80, dl_slots = 80 +MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:UL) Attaching DL TBF: TBF(DL:TFI-0-0-1:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788) +TBF(DL:TFI-0-0-1:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788) DOWNLINK START (PACCH) +TBF(DL:TFI-0-0-1:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788) Send downlink assignment on PACCH, because TBF(UL:TFI-0-0-1:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf5667788) exists +DL_ASS_TBF(UL:TFI-0-0-1:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf5667788){NONE}: Received Event SCHED_ASS +DL_ASS_TBF(UL:TFI-0-0-1:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf5667788){NONE}: state_chg to SEND_ASS +DL_TBF(DL:TFI-0-0-1:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788){NEW}: Received Event ASSIGN_ADD_PACCH +TBF(DL:TFI-0-0-1:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788) set ass. type PACCH prev CCCH:0, PACCH:0 +DL_TBF(DL:TFI-0-0-1:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf5667788){NEW}: state_chg to ASSIGN +TBF(DL:TFI-0-0-1:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf5667788) Starting timer X2001 assignment (PACCH) with 2 sec. 0 microsec New MS: TLLI = 0xf5667788, TA = 7, IMSI = 0011223344, LLC = 1 MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:UL:DL) Destroying MS object MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0:DL) Detaching TBF: TBF(UL:TFI-0-0-1:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf5667788) -MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0) Detaching TBF: TBF(DL:TFI-0-0-0:STATE-FINISHED:GPRS:IMSI-0011223344:TLLI-0xf5667788) +MS(IMSI-0011223344:TLLI-0xf5667788:TA-7:MSCLS-1-0) Detaching TBF: TBF(DL:TFI-0-0-1:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf5667788) +MS(TA-7:MSCLS-1-0:DL) Destroying MS object +MS(TA-7:MSCLS-1-0) Detaching TBF: TBF(DL:TFI-0-0-0:STATE-FINISHED:GPRS) === end test_tbf_ra_update_rach === === start test_tbf_dl_flow_and_rach_two_phase === PDCH(bts=0,trx=0,ts=7) PDCH state: disabled => enabled @@ -2700,20 +2724,16 @@ Modifying MS object, UL TLLI: 0xffffffff -> 0xf1223344, not yet confirmed MS(TLLI-0xf1223344:TA-7:MSCLS-0-0:UL) Merge MS: MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:DL) Modifying MS object, TLLI = 0xf1223344, MS class 0 -> 1 -TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf1223344) Merge MS: Move DL TBF: MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:DL) => MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:UL) -MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0) Detaching TBF: TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf1223344) -MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:UL) Attaching DL TBF: TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf1223344) -MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0) Clearing MS object -MS(TA-7:MSCLS-1-0) Destroying MS object -UL_TBF(UL:TFI-0-0-0:STATE-NEW:GPRS){FLOW}: Received Event FIRST_UL_DATA_RECVD -TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf1223344) Got first UL data while DL-TBF pending, killing it TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf1223344) free PDCH(bts=0,trx=0,ts=7) Detaching TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf1223344), 1 TBFs, USFs = 01, TFIs = 00000001. -MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0:UL) Detaching TBF: TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf1223344) +MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0) Detaching TBF: TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-0011223344:TLLI-0xf1223344) ********** DL-TBF ends here ********** DL_TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf1223344){ASSIGN}: Deallocated UL_ASS_TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf1223344){NONE}: Deallocated DL_ASS_TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-0011223344:TLLI-0xf1223344){NONE}: Deallocated +MS(IMSI-0011223344:TLLI-0xf1223344:TA-7:MSCLS-1-0) Clearing MS object +MS(TA-7:MSCLS-1-0) Destroying MS object +UL_TBF(UL:TFI-0-0-0:STATE-NEW:GPRS){FLOW}: Received Event FIRST_UL_DATA_RECVD TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344) Assembling frames: (len=20) TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344) Frame 1 starts at offset 4, length=16, is_complete=1 TBF(UL:TFI-0-0-0:STATE-FLOW:GPRS:IMSI-0011223344:TLLI-0xf1223344) complete UL frame len=16 @@ -9429,3 +9449,128 @@ UL_ASS_TBF(UL:TFI-0-0--1:STATE-NEW:GPRS:TLLI-0xffeeddcc){NONE}: Deallocated DL_ASS_TBF(UL:TFI-0-0--1:STATE-NEW:GPRS:TLLI-0xffeeddcc){NONE}: Deallocated === end test_packet_access_rej_prr_no_other_tbfs === +=== start test_ms_merge_dl_tbf_different_trx === +PDCH(bts=0,trx=0,ts=1) PDCH state: disabled => enabled +PDCH(bts=0,trx=0,ts=1) PDCH state: enabled => disabled +PDCH(bts=0,trx=1,ts=4) PDCH state: disabled => enabled +PDCH(bts=0,trx=1,ts=5) PDCH state: disabled => enabled +PDCH(bts=0,trx=1,ts=6) PDCH state: disabled => enabled +Creating MS object, TLLI = 0xffffffff +Modifying MS object, TLLI = 0xffffffff, MS class 0 -> 11 +Modifying MS object, TLLI = 0xffffffff, IMSI '' -> '001001000000001' +The MS object cannot fully confirm an unexpected TLLI: 0xa3c2f953, partly confirmed +MS(IMSI-001001000000001:TLLI-0xa3c2f953:TA-220:MSCLS-11-0) appending 19 bytes to DL LLC queue +MS(IMSI-001001000000001:TLLI-0xa3c2f953:TA-220:MSCLS-11-0) ********** DL-TBF starts here ********** +MS(IMSI-001001000000001:TLLI-0xa3c2f953:TA-220:MSCLS-11-0) Allocating DL TBF +UL_ASS_TBF{NONE}: Allocated +DL_ASS_TBF{NONE}: Allocated +DL_TBF{NEW}: Allocated +DL algo B <single> (suggested TRX: -1): Alloc start +Found first unallocated TRX=1 TFI=0 +Slot Allocation (Algorithm B) for class 11 +- Skipping TS 0, because not enabled +- Skipping TS 1, because not enabled +- Skipping TS 2, because not enabled +- Skipping TS 3, because not enabled +- Skipping TS 7, because not enabled +- Possible DL/UL slots: (TS=0)"....CCC."(TS=7) +Rx=4 Tx=3 Sum Rx+Tx=5, Tta=3 Ttb=1, Tra=2 Trb=1, Type=1 +- Skipping TS 6, because num TBFs 0 >= 0 +Selected DL slots: (TS=0)".ddd.D.."(TS=7), single +DL algo B <single> (suggested TRX: -1): using single slot at TS 5 +- Reserved DL/UL slots: (TS=0)"..D..CU."(TS=7) +- Assigning DL TS 5 +PDCH(bts=0,trx=1,ts=5) Attaching TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953), 1 TBFs, USFs = 00, TFIs = 00000001. +TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) Setting Control TS PDCH(bts=0,trx=1,ts=5) +TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) Allocated: trx = 1, ul_slots = 20, dl_slots = 20 +MS(IMSI-001001000000001:TLLI-0xa3c2f953:TA-220:MSCLS-11-0) Attaching DL TBF: TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) +TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) DOWNLINK START (PCH) +TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) Send downlink assignment on PCH, no TBF exist (IMSI=001001000000001) +DL_TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953){NEW}: Received Event ASSIGN_ADD_CCCH +TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) set ass. type CCCH prev CCCH:0, PACCH:0 +DL_TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953){NEW}: state_chg to ASSIGN +TBF(DL:TFI-0-1-0:STATE-ASSIGN:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) TX: START Immediate Assignment Downlink (PCH) + - TRX=1 (0) TS=5 TA=220 +PDCH(bts=0,trx=0,ts=1) PDCH state: disabled => enabled +PDCH(bts=0,trx=0,ts=2) PDCH state: disabled => enabled +PDCH(bts=0,trx=0,ts=3) PDCH state: disabled => enabled +Creating MS object, TLLI = 0xffffffff +Modifying MS object, UL TLLI: 0xffffffff -> 0xecc1f953, not yet confirmed +MS(TLLI-0xecc1f953:TA-220:MSCLS-0-0) ********** UL-TBF starts here ********** +MS(TLLI-0xecc1f953:TA-220:MSCLS-0-0) Allocating UL TBF +UL_ASS_TBF{NONE}: Allocated +DL_ASS_TBF{NONE}: Allocated +UL_TBF{NEW}: Allocated +UL_ACK_TBF{NONE}: Allocated +UL algo B <single> (suggested TRX: 0): Alloc start +Found first unallocated TRX=0 TFI=0 +- Skipping TS 0, because not enabled +- Skipping TS 4, because not enabled +- Skipping TS 5, because not enabled +- Skipping TS 6, because not enabled +- Skipping TS 7, because not enabled +- Possible DL/UL slots: (TS=0)".CCC...."(TS=7) +Rx=4 Tx=4 Sum Rx+Tx=5, Tta=2 Ttb=1, Tra=2 Trb=1, Type=1 +- Skipping TS 3, because num TBFs 0 >= 0 +Selected UL slots: (TS=0)"..U.uu.."(TS=7), single +UL algo B <single> (suggested TRX: 0): using single slot at TS 2 +- Reserved DL/UL slots: (TS=0)"..C.DDD."(TS=7) +- Assigning UL TS 2 +PDCH(bts=0,trx=0,ts=2) Attaching TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:TLLI-0xecc1f953), 1 TBFs, USFs = 01, TFIs = 00000001. +TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:TLLI-0xecc1f953) Setting Control TS PDCH(bts=0,trx=0,ts=2) +TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:TLLI-0xecc1f953) Allocated: trx = 0, ul_slots = 04, dl_slots = 00 +MS(TLLI-0xecc1f953:TA-220:MSCLS-0-0) Attaching UL TBF: TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:TLLI-0xecc1f953) +There is a new MS object for the same MS: (0xa3c2f953, '001001000000001') -> (0xecc1f953, '') +MS(TLLI-0xecc1f953:TA-220:MSCLS-0-0:UL) Merge MS: MS(IMSI-001001000000001:TLLI-0xa3c2f953:TA-220:MSCLS-11-0:DL) +Modifying MS object, TLLI = 0xecc1f953, MS class 0 -> 11 +TBF(DL:TFI-0-1-0:STATE-ASSIGN:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) free +PDCH(bts=0,trx=1,ts=5) Detaching TBF(DL:TFI-0-1-0:STATE-ASSIGN:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953), 1 TBFs, USFs = 00, TFIs = 00000001. +MS(IMSI-001001000000001:TLLI-0xa3c2f953:TA-220:MSCLS-11-0) Detaching TBF: TBF(DL:TFI-0-1-0:STATE-ASSIGN:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953) +********** DL-TBF ends here ********** +DL_TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953){ASSIGN}: Deallocated +UL_ASS_TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953){NONE}: Deallocated +DL_ASS_TBF(DL:TFI-0-1-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xa3c2f953){NONE}: Deallocated +MS(IMSI-001001000000001:TLLI-0xa3c2f953:TA-220:MSCLS-11-0) Clearing MS object +MS(TA-220:MSCLS-11-0) Destroying MS object +Modifying MS object, TLLI: 0xecc1f953 confirmed +MS(IMSI-001001000000001:TLLI-0xecc1f953:TA-220:MSCLS-11-0:UL) appending 19 bytes to DL LLC queue +MS(IMSI-001001000000001:TLLI-0xecc1f953:TA-220:MSCLS-11-0:UL) ********** DL-TBF starts here ********** +MS(IMSI-001001000000001:TLLI-0xecc1f953:TA-220:MSCLS-11-0:UL) Allocating DL TBF +UL_ASS_TBF{NONE}: Allocated +DL_ASS_TBF{NONE}: Allocated +DL_TBF{NEW}: Allocated +DL algo B <multi> (suggested TRX: 0): Alloc start +Found first unallocated TRX=0 TFI=0 +Selected DL slots: (TS=0)".DDDddd."(TS=7), multi +DL algo B <multi> (suggested TRX: 0): using 3 slots +- Assigning DL TS 1 +PDCH(bts=0,trx=0,ts=1) Attaching TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953), 1 TBFs, USFs = 00, TFIs = 00000001. +- Assigning DL TS 2 +PDCH(bts=0,trx=0,ts=2) Attaching TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953), 1 TBFs, USFs = 01, TFIs = 00000001. +- Assigning DL TS 3 +PDCH(bts=0,trx=0,ts=3) Attaching TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953), 1 TBFs, USFs = 00, TFIs = 00000001. +TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) Setting Control TS PDCH(bts=0,trx=0,ts=2) +TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) Allocated: trx = 0, ul_slots = 04, dl_slots = 0e +MS(IMSI-001001000000001:TLLI-0xecc1f953:TA-220:MSCLS-11-0:UL) Attaching DL TBF: TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) +TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) DOWNLINK START (PACCH) +TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) Send downlink assignment on PACCH, because TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) exists +DL_ASS_TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953){NONE}: Received Event SCHED_ASS +DL_ASS_TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953){NONE}: state_chg to SEND_ASS +DL_TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953){NEW}: Received Event ASSIGN_ADD_PACCH +TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) set ass. type PACCH prev CCCH:0, PACCH:0 +DL_TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953){NEW}: state_chg to ASSIGN +TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) Starting timer X2001 assignment (PACCH) with 2 sec. 0 microsec +DL_TBF(DL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953){ASSIGN}: Received Event ASSIGN_PCUIF_CNF +TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) Ignoring event ASSIGN_PCUIF_CNF from BTS (CCCH was not requested on current assignment) +DL_ASS_TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953){SEND_ASS}: Received Event CREATE_RLCMAC_MSG +PDCH(bts=0,trx=0,ts=2) POLL scheduled at FN 0 + 13 = 13 +TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) start Packet Downlink Assignment (PACCH) for TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) ++++++++++++++++++++++++++ TX : Packet Downlink Assignment +++++++++++++++++++++++++ +------------------------- TX : Packet Downlink Assignment ------------------------- +TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) Scheduled DL Assignment polling on PACCH (FN=13, TS=2) +DL_ASS_TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953){SEND_ASS}: state_chg to WAIT_ACK +PDCH(bts=0,trx=0,ts=2) FN=0 Scheduling control message at RTS for TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) +=== end test_ms_merge_dl_tbf_different_trx === +MS(IMSI-001001000000001:TLLI-0xecc1f953:TA-220:MSCLS-11-0:UL:DL) Destroying MS object +MS(IMSI-001001000000001:TLLI-0xecc1f953:TA-220:MSCLS-11-0:DL) Detaching TBF: TBF(UL:TFI-0-0-0:STATE-NEW:GPRS:IMSI-001001000000001:TLLI-0xecc1f953) +MS(IMSI-001001000000001:TLLI-0xecc1f953:TA-220:MSCLS-11-0) Detaching TBF: TBF(DL:TFI-0-0-0:STATE-ASSIGN:GPRS:IMSI-001001000000001:TLLI-0xecc1f953)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.