1 comment:
File src/host/layer23/src/modem/sndcp.c:
Patch Set #1, Line 183: uint32_t tlli = 0xe1c5d364;
I still need to find out how to identify a given MS in the SN SAP of SNDCP. […]
I think I can retrieve it in the hook/forward of SNSM-ACTIVATE.ind/cnf in sndcp.c
In there I get NSAPI, SAPI, and TLLI, check 3GPP TS 44.065.
our libosmo-gprs-sm seems to be wrong and passing PTMSI instead:
gprs_sm_submit_snsm_act_ind() {
...
sndcp_prim_tx = osmo_gprs_sndcp_prim_alloc_snsm_activate_ind(
sme->ms->gmm.ptmsi,
sme->nsapi,
sme->llc_sapi);
...
}
Actually the whole SM layer seems to still use PTMSI vs TLLI the wrong way?
"""
struct gprs_sm_ms *gprs_sm_find_ms_by_tlli(uint32_t tlli)
{
struct gprs_sm_ms *ms;
llist_for_each_entry(ms, &g_sm_ctx->ms_list, list) {
if (ms->gmm.ptmsi == tlli)
return ms;
}
return NULL;
}
"""
To view, visit change 32597. To unsubscribe, or for help writing mail filters, visit settings.