https://osmocom.org/https://osmocom.org/favicon.ico?16647414092023-01-14T23:49:57ZOpen Source Mobile CommunicationsCellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=259162023-01-14T23:49:57Zkeith
<ul><li><strong>File</strong> <a href="/attachments/6542">bsic_0.pcap</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6542/bsic_0.pcap">bsic_0.pcap</a> added</li></ul><p>It might be of help to observe what happens if the TSC is set to 0 so that the OML bring up is not terminated, eventually we do send the set BTS attr. See bsic_0.cap</p> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=265192023-03-27T21:19:49Zlaforge
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-3 priority-high3 closed" href="/issues/5977">Bug #5977</a>: osmo-bsc unable to bring up osmo-bts-sysmo (BSIC/TSC)</i> added</li></ul> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=265202023-03-27T21:20:06Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>keith</i> to <i>pespin</i></li></ul> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=265212023-03-27T22:26:46Zfixeria
<ul></ul><p>I submitted a WIP patch with might solve the problem, but I am not 100% sure:</p>
<p><a class="external" href="https://gerrit.osmocom.org/c/osmo-bsc/+/32090">https://gerrit.osmocom.org/c/osmo-bsc/+/32090</a> nm_channel_fsm: do not send SET CHAN ATTR before SET BTS ATTR [WIP]</p>
<p><a class="user active" href="https://osmocom.org/users/4282">keith</a> please give it a try. Thanks!</p> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=265712023-03-30T14:59:21Zpespin
<ul></ul><p>Relevant code in osmo-bts:<br /><pre>
static int oml_rx_set_bts_attr(struct gsm_bts *bts, struct msgb *msg)
/* 9.4.9 BSIC */
if (TLVP_PRES_LEN(&tp, NM_ATT_BSIC, 1))
bts->bsic = *TLVP_VAL(&tp, NM_ATT_BSIC);
</pre></p>
<pre>
#define BTS_TSC(bts) BSIC2BCC((bts)->bsic)
</pre>
<pre>
static int oml_rx_set_chan_attr(struct gsm_bts_trx_ts *ts, struct msgb *msg)
{
/* 9.4.60 TSC */
if (TLVP_PRES_LEN(&tp, NM_ATT_TSC, 1)) {
ts->tsc_oml = ts->tsc = *TLVP_VAL(&tp, NM_ATT_TSC);
if (ts->tsc != BTS_TSC(bts) &&
!osmo_bts_has_feature(bts->features, BTS_FEAT_MULTI_TSC)) {
LOGPFOH(DOML, LOGL_ERROR, foh, "SET CHAN ATTR: this BTS model does not "
"support TSC %u != BSIC-BCC %u\n", ts->tsc, BTS_TSC(bts));
talloc_free(tp_merged);
return oml_fom_ack_nack(msg, NM_NACK_PARAM_RANGE);
}
} else {
/* If there is no TSC specified, use the BCC */
ts->tsc_oml = ts->tsc = BTS_TSC(bts);
}
LOGPFOH(DOML, LOGL_INFO, foh, "SET CHAN ATTR (TSC=%u pchan=%s",
ts->tsc, gsm_pchan_name(ts->pchan));
if (ts->hopping.enabled)
LOGPC(DOML, LOGL_INFO, " hsn=%u maio=%u chan_num=%u",
ts->hopping.hsn, ts->hopping.maio, ts->hopping.arfcn_num);
LOGPC(DOML, LOGL_INFO, ")\n");
/* call into BTS driver to apply new attributes to hardware */
return bts_model_apply_oml(bts, msg, tp_merged, NM_OC_CHANNEL, ts);
</pre> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=265752023-03-30T17:59:00Zpespin
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>50</i></li></ul><p>I believe it should be fixed by this patch:<br /><a class="external" href="https://gerrit.osmocom.org/c/osmo-bts/+/32165">https://gerrit.osmocom.org/c/osmo-bts/+/32165</a> Clarify configuration of TSC on each timeslot</p>
I first need to give a try with:
<ul>
<li>manual osmo-bts-trx</li>
<li>manual osmo-bts-sysmo</li>
<li>TTCN BTS_Tests</li>
</ul> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=265952023-03-31T14:47:32Zpespin
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>50</i> to <i>90</i></li></ul><p>Tested this patch on top of current osmo-bts master in 201705-nightly, with BSIC=0x0a and pSetChanAttr with TSC=0x02, it works fine as expected.<br />TTCN3 BTS_Tests seem to be happy too.</p>
<p>Once merged, this ticket can be assigned to <a class="user active" href="https://osmocom.org/users/4282">keith</a> for confirmation and closed.</p> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=266242023-04-03T05:05:24Zkeith
<ul></ul><p>It might be some days, or weeks until I get around to testing this in the high latency/VPN scenario I described.</p> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=266922023-04-11T10:41:09Zpespin
<ul><li><strong>Assignee</strong> changed from <i>pespin</i> to <i>keith</i></li></ul><p>Works for me now, assigning to <a class="user active" href="https://osmocom.org/users/4282">keith</a> to test it when he has some time.</p> Cellular Network Infrastructure - Bug #5856: Very annoying "this BTS model does not support TSC 7 != BSIC-BCC 0" error.https://osmocom.org/issues/5856?journal_id=267842023-04-27T10:14:55Zkeith
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Tested in my high-latency Abis scenario. It works for me know, so closing.<br />Thanks</p>