aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gprs_gmm.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-11 19:12:54 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-22 22:19:13 +0000
commit723f7c7db3b0fc494f15fa20cab775f596b18cb1 (patch)
tree59c4685380280934bd1f4af2491bdf69bc87e93a /openbsc/src/gprs/gprs_gmm.c
parent91dfa86c18a522cf108245d6c6bdc89f0835a533 (diff)
comment: gsm48_gmm_sendmsg(): add spec reference on encryptable
Diffstat (limited to 'openbsc/src/gprs/gprs_gmm.c')
-rw-r--r--openbsc/src/gprs/gprs_gmm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index aa4991955..036164f57 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -130,7 +130,9 @@ time_t gprs_max_time_to_idle(void)
return sgsn->cfg.timers.T3314 + (sgsn->cfg.timers.T3312 + 4 * 60);
}
-/* Send a message through the underlying layer */
+/* Send a message through the underlying layer.
+ * For param encryptable, see 3GPP TS 24.008 ยง 4.7.1.2 and
+ * gsm48_hdr_gmm_cipherable(). Pass false for not cipherable messages. */
static int gsm48_gmm_sendmsg(struct msgb *msg, int command,
struct sgsn_mm_ctx *mm, bool encryptable)
{