Project

General

Profile

Actions

Feature #4627

closed

show the last seen cell ID in the VLR

Added by neels almost 4 years ago. Updated over 3 years ago.

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

100%

Resolution:
Spec Reference:

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

Actions
Actions #1

Updated by neels almost 4 years ago

Actions #2

Updated by laforge almost 4 years ago

  • Assignee set to neels
  • Priority changed from Normal to High
Actions #3

Updated by neels almost 4 years ago

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

Updated by neels almost 4 years ago

Actions #5

Updated by neels almost 4 years ago

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

Updated by neels over 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)