[PATCH] openbsc[master]: comment: gsm48_gmm_sendmsg(): add spec reference on encryptable

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Aug 12 12:01:39 UTC 2016


Review at  https://gerrit.osmocom.org/689

comment: gsm48_gmm_sendmsg(): add spec reference on encryptable

Change-Id: I54a3bc518bc38e38b78f6e9ea3705e4fbd5ffb98
---
M openbsc/src/gprs/gprs_gmm.c
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/89/689/1

diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index aa49919..e95fca3 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -130,7 +130,9 @@
 	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.
+ * @param encryptable: see at 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)
 {

-- 
To view, visit https://gerrit.osmocom.org/689
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I54a3bc518bc38e38b78f6e9ea3705e4fbd5ffb98
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list