https://osmocom.org/https://osmocom.org/favicon.ico?16647414092018-09-09T16:33:18ZOpen Source Mobile CommunicationsOsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=112112018-09-09T16:33:18Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-3 priority-4 priority-high2 closed" href="/issues/3536">Feature #3536</a>: BSC: support for repeated scheduling of SMSCB messages</i> added</li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=112122018-09-09T16:33:36Zlaforge
<ul><li><strong>Tags</strong> set to <i>SMSCB</i></li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=116792018-09-29T08:55:26Zlaforge
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-2 status-3 priority-3 priority-high3 closed" href="/issues/2392">Feature #2392</a>: Support for BSC-CBC interface (CBSP) to a cell broadcast centre</i> added</li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=142042019-05-03T19:08:00Zlaforge
<ul><li><strong>Due date</strong> set to <i>05/06/2019</i></li><li><strong>Start date</strong> changed from <i>09/09/2018</i> to <i>05/06/2019</i></li><li><strong>Follows</strong> <i><a class="issue tracker-2 status-3 priority-2 priority-default closed" href="/issues/3972">Feature #3972</a>: CBSP definitions, encoder, decoder for libosmocore</i> added</li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=142062019-05-03T19:12:08Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-3 priority-2 priority-default closed" href="/issues/3973">Feature #3973</a>: wireshark dissector for CBSP protocol</i> added</li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=142092019-05-03T19:13:10Zlaforge
<ul><li><strong>Assignee</strong> set to <i>laforge</i></li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=142112019-05-03T19:16:38Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-3 priority-2 priority-default closed" href="/issues/3974">Feature #3974</a>: TTCN-3 ProtocolModule for CBSP</i> added</li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=147312019-06-05T10:59:23Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-3 priority-3 priority-high3 closed" href="/issues/4046">Feature #4046</a>: BSC support for generating ETWS primary notifications</i> added</li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=147332019-06-05T11:13:35Zlaforge
<ul><li><strong>Priority</strong> changed from <i>Low</i> to <i>Normal</i></li></ul><p>I've been re-reading specs and thinking a bit more about implementation. They key part of this seems to be:</p>
<a name="allocator"></a>
<h2 >allocator<a href="#allocator" class="wiki-anchor">¶</a></h2>
<p>The allocator takes care of determining if a new SMSCB message of given size (number of pages), repetition period and category(priority) can still be sent over the given channel (basic/extended) at a given BTS.</p>
<p>This allocator then is executed for each cell in the list of cells where the message is to be broadcast, and the results from the allocator determine if we send a CBSP WRITE-REPLACE COMPLETE or a WRITE-REPLACE FAILURE. Where interestingly, the FAILURE can very well be a partial failure, containing a list of cells in which it failed and in which it succeeded.</p>
<a name="scheduler"></a>
<h2 >scheduler<a href="#scheduler" class="wiki-anchor">¶</a></h2>
<p>The scheduler runs for each BTS separately. It has a list of SMSCB which are to be broadcast in this BTS, and must determine which page of which SMSCB message to transmit at which given point in time to ensure the repetition period is respected</p>
<a name="CBSP-client"></a>
<h2 >CBSP client<a href="#CBSP-client" class="wiki-anchor">¶</a></h2>
<p>The CBSP client will connect/reconnect to the CBC, ensure the link works (keep-alive).</p>
<p>It will [optionally] use some Osmocom-propietary means to identify the BSC (and its served cells) to the CBC, avoiding the need for manual configuration of this data out-of-band to the CBC.</p>
<a name="CBSP-server"></a>
<h2 >CBSP server<a href="#CBSP-server" class="wiki-anchor">¶</a></h2>
<p>The spec appears to require the BSC to accept an inbound TCP connection from the CBC. We should support this for interoperability. Only one CBC can ever talk to a BSC, so we should have some kind of "either client or server" configuration. Only one connection shall be accepted in the server-side socket.</p>
<a name="Implementation-Strategy"></a>
<h1 >Implementation Strategy<a href="#Implementation-Strategy" class="wiki-anchor">¶</a></h1>
<a name="Iterative-approach"></a>
<h2 >Iterative approach<a href="#Iterative-approach" class="wiki-anchor">¶</a></h2>
In terms of an interative implementation approach, the following short-cuts could be taken while stubbing out some of the functionality:
<ul>
<li>assume that there's unlimited CBCH capacity, i.e. accept all WRITE-REPLACE even if they cannot be scheduled. Works for low CBCH load situations, which are likely in practise</li>
<li>always broadcast each SMSCB on all cells in the BSC, avoiding implementing 5 different ways on how the Cell List can be encoded in CBSP</li>
</ul>
<a name="Test-driven"></a>
<h2 >Test driven<a href="#Test-driven" class="wiki-anchor">¶</a></h2>
<p>Let's first implement BSC_Tests.ttcn coverage for SMSCB/CBSP and then use that to drive the implementation. Emulating a number of BTSs on the RSL side as well as the CBC on the CBSP side are sufficient for testing anything we need.</p> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=148182019-06-13T15:39:48Zlaforge
<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>10</i></li></ul><p>work on this has started a few days ago.</p> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=148332019-06-15T16:34:04Zlaforge
<ul><li><strong>% Done</strong> changed from <i>10</i> to <i>60</i></li></ul>the bulk of the work on the scheduler has been implemented together with the CBCH scheduler in the <code>laforge/cbsp</code> branch of osmo-bsc.git. It is currently untested, but should do the following things:
<ul>
<li>handling of WRITE_REPLACE, KILL and RESET procedures via CBSP from the CBC</li>
<li>VTY configuration for the CBSP link</li>
<li>CBSP TCP client and server role</li>
</ul>
These parts are missing:
<ul>
<li>CBSP LOAD QUERY</li>
<li>CBSP MSG STATUS QUERY</li>
<li>tests, tests, tests</li>
</ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=152922019-07-18T06:00:23Zlaforge
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=157752019-09-02T09:19:17Zlaforge
<ul><li><strong>% Done</strong> changed from <i>60</i> to <i>80</i></li></ul><p>ots of work has been done on this, see <a class="external" href="https://gerrit.osmocom.org/#/c/osmo-bsc/+/15373/">https://gerrit.osmocom.org/#/c/osmo-bsc/+/15373/</a> for the actual code, and <a class="external" href="https://gerrit.osmocom.org/15374">https://gerrit.osmocom.org/15374</a>, <a class="external" href="https://gerrit.osmocom.org/15375">https://gerrit.osmocom.org/15375</a> and <a class="external" href="https://gerrit.osmocom.org/15376">https://gerrit.osmocom.org/15376</a> for related tests.</p> OsmoBSC - Feature #3537: BSC support for CBSP (cell broadcast service protocol)https://osmocom.org/issues/3537?journal_id=158802019-09-05T17:51:32Zlaforge
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>80</i> to <i>100</i></li></ul><p>code merged</p>