gprs_ms: Document functions setting/updating TLLI
Based on information from original commit introducing the functions
(939904672961fa7e28397e27f942a7d1fff4bbdf) and looking at the current
code.
Change-Id: Ia440c672a8d2e11169b41f787239bfbba0989231
diff --git a/src/gprs_ms.c b/src/gprs_ms.c
index 3ed4244..8453f20 100644
--- a/src/gprs_ms.c
+++ b/src/gprs_ms.c
@@ -419,6 +419,7 @@
ms_unref(old_ms);
}
+/* Set/update the MS object TLLI based on knowledge gained from the MS side (Uplink direction) */
void ms_set_tlli(struct GprsMs *ms, uint32_t tlli)
{
if (tlli == ms->tlli || tlli == ms->new_ul_tlli)
@@ -443,6 +444,7 @@
ms->new_ul_tlli = GSM_RESERVED_TMSI;
}
+/* Set/update the MS object TLLI based on knowledge gained from the SGSN side (Downlink direction) */
bool ms_confirm_tlli(struct GprsMs *ms, uint32_t tlli)
{
if (tlli == ms->tlli || tlli == ms->new_dl_tlli)