Project

General

Profile

Feature #4627

show the last seen cell ID in the VLR

Added by neels 20 days ago. Updated 16 days ago.

Status:
In Progress
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
06/22/2020
Due date:
% Done:

90%

Resolution:

Description

for VLR subscribers and even in an active call the cell ID displays as zero in 'show subscriber cache' and 'show connection'.

We receive the Cell Id in the Complete Layer 3 Information.
osmo-msc currently stores that in the record for that active connection (msc_a), but fails to propagate that information to the VLR entry (vlr_subscr);
in msc_a.c:

        case RAN_MSG_COMPL_L3:
                msc_a->via_cell = (struct osmo_cell_global_id){
                        .lai.plmn = msc_a_net(msc_a)->plmn,
                };
                gsm0808_cell_id_to_cgi(&msc_a->via_cell, msg->compl_l3.cell_id);

So to also update the VLR entry for that subsciber we could add there

                vsub->cgi = msc_a->via_cell;

Investigate whether msc_a->via_cell is actually required -- this could be the case if the cell information needs storing before a vlr_subscr is associated with the msc_a. If there is no such code path, we might as well just remove msc_a->via_cell and use only vlr_subscr->cgi.

In msc_vty.c, only vsub->cgi seems to get printed. If we keep msc_a->via_cell, the active connection should maybe rather print msc_a->via_cell, here:

static void vty_dump_one_conn(struct vty *vty, const struct msub *msub,
                              int offset, uint8_t dump_flags)
{
[...]
        if (vsub) {
                MSC_VTY_DUMP(vty, offset, "LAC / cell ID: %u / %u%s",
                             vsub->cgi.lai.lac, vsub->cgi.cell_identity,
                             VTY_NEWLINE);
        }

Related issues

Related to OsmoMSC - Feature #4632: update the cell id in the VLR when receiving BSSMAP HANDOVER PERFORMED from the BSCNew06/24/2020

History

#1 Updated by neels 20 days ago

#2 Updated by laforge 19 days ago

  • Assignee set to neels
  • Priority changed from Normal to High

#3 Updated by neels 18 days ago

  • Related to Feature #4632: update the cell id in the VLR when receiving BSSMAP HANDOVER PERFORMED from the BSC added

#4 Updated by neels 18 days ago

#5 Updated by neels 16 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)