MSC split: is_siemens_bts() in libmsc/gsm_04_08.c / conn->bts vs. lchan->ts->trx->bts

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Sun Feb 14 21:53:04 UTC 2016


On Sun, Feb 14, 2016 at 12:07:19PM +0100, Harald Welte wrote:
> > Who is this Mister PCI anyway? ;)
> http://www.erlang.com/forum/erlang/thread.htx?thread=3168

heh, interesting

> > question: often, there are two bts pointers around, namely the
> >   gsm_subscriber_connection->bts
> > as well as the
> >   lchan->ts->trx->bts

I should have said: there are often two bts pointers *in libbsc*, since in
libmsc on my cscn branch, the gsm_subscriber_connection->bts as well as
the ->lchan are already #ifdef'd away.

> I would assume that both [bts] pointers are the same in all cases.
> 
> When I created OpenBSC, we only had the lchan->ts->trx->bts pointers,
> and we had the subscriber point directly to the lchan.  IIRC, Holger
> later introduced the subscriber_connection when he created OsmoBSC.

ok, nice, I understand.

That comment in gsm48_handle_paging_resp() (libbsc) sounds a bit like more
than one BTS could be involved:
  /* Stop paging on the bts we received the paging response */
and it uses lchan->...bts first, but conn->bts at the bottom.
(But nm, this function is not relevant for the MSC-split anyway.)

~Neels

-- 
- Neels Hofmeyr <nhofmeyr at sysmocom.de>          http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Holger Freyther, Harald Welte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20160214/807b7d67/attachment.bin>


More information about the OpenBSC mailing list