Change in osmo-msc[master]: libmsc: ran_iu_make_security_mode_command(): clarify UIA mask

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun Nov 28 22:00:23 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/26410 )


Change subject: libmsc: ran_iu_make_security_mode_command(): clarify UIA mask
......................................................................

libmsc: ran_iu_make_security_mode_command(): clarify UIA mask

Change-Id: I7535d5ede5b22c61575a16d15927598e6137392a
---
M src/libmsc/ran_msg_iu.c
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/10/26410/1

diff --git a/src/libmsc/ran_msg_iu.c b/src/libmsc/ran_msg_iu.c
index 6705ab8..d604f89 100644
--- a/src/libmsc/ran_msg_iu.c
+++ b/src/libmsc/ran_msg_iu.c
@@ -384,7 +384,10 @@
 	 * in the case of A5? */
 	return ranap_new_msg_sec_mod_cmd2(cm->vec->ik,
 					  use_encryption ? cm->vec->ck : NULL,
-					  RANAP_KeyStatus_new, 0x06, cm->utran.uea_encryption_mask);
+					  RANAP_KeyStatus_new,
+					  /* TODO: make it configurable via the VTY? */
+					  (1 << OSMO_UTRAN_UIA1) | (1 << OSMO_UTRAN_UIA2),
+					  cm->utran.uea_encryption_mask);
 }
 
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/26410
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I7535d5ede5b22c61575a16d15927598e6137392a
Gerrit-Change-Number: 26410
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211128/2d6fc42f/attachment.htm>


More information about the gerrit-log mailing list