Project

General

Profile

Actions

Bug #5717

closed

ARFCN wrong in meas report system in multi-band BSS

Added by keith over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Handover
Target version:
-
Start date:
10/17/2022
Due date:
% Done:

100%

Spec Reference:

Description

If you setup osmo-bsc with two BTS in one band and a third BTS in another band, then it seems that something is messed up with the index to arfcn translation. The meas report system reports the wrong ARFCN. AS much internally as in the meas feed.

It seems to affect Handover, as in HO then doesn't work.

I think it has something to do with this:


int gsm48_parse_meas_rep(struct gsm_meas_rep *rep, struct msgb *msg)
{
    struct gsm48_hdr *gh = msgb_l3(msg);
    uint8_t *data = gh->data;
    struct gsm_bts *bts = msg->lchan->ts->trx->bts;
    struct bitvec *nbv = &bts->si_common.neigh_list;
    struct gsm_meas_rep_cell *mrc;

    /* SNIP SNIP */
    mrc = &rep->cell[0];
    mrc->rxlev = data[3] & 0x3f;
    mrc->neigh_idx = data[4] >> 3;
    mrc->arfcn = bitvec_get_nth_set_bit(nbv, mrc->neigh_idx + 1);

    /*SNIP SNIP */
}

Is that neigh_list getting setup ordered by band or something? I don't really grok all that bitvec.


Files

rsl_bringup-si.pcap rsl_bringup-si.pcap 36.5 KB keith, 10/18/2022 05:08 PM
meas_sample.pcap meas_sample.pcap 19.2 KB keith, 10/18/2022 05:11 PM
meas_sample_all_BTS.pcap meas_sample_all_BTS.pcap 55.4 KB keith, 10/18/2022 05:29 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)