Hi Neels and others.
FYI, I added a dot graph of the osmo-nitb data structures and their relations to openbsc.git in commit bafc1e4. The file is called openbsc/doc/osmo-nitb-data_structures.dot
In general: * BTS/TRX/TS/LCHAN are BSC-side data structures * subscriber is a MSC-side data structures * subscriber_conn is sort of in between BSC and MSC, but mostly on the BSC side, too.
Thus: * subscriber_conn should not point to gsm_bts. This is mostly used to resolve gsm_network. Replace conn->bts with a new conn->network * a 'network' will be required in both BSC and MSC * subscriber_group was an early idea that was never really used and could/should eventually be removed, and replaced with a direct subscriber->network reference. * nothing on the MSC/CSCN side should refer to lchan/ts/trx/bts
subscriber_conn must be split between the BSC and the MSC/CSCN side.
BSC side: * maintain the references to the lchans required for hand-over, assignment, etc.
MSC/CSCN side: * remove the references to the lchans * instead refer to the Iu/A interface SCCP connection for this subscriber
Regards, Harald