Change in libosmocore[master]: card_fs_usim.c: Add support for DF.5GS directory

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

laforge gerrit-no-reply at lists.osmocom.org
Mon Nov 9 12:34:24 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21081 )


Change subject: card_fs_usim.c: Add support for DF.5GS directory
......................................................................

card_fs_usim.c: Add support for DF.5GS directory

card_fs_usim already contained definitions up to Rel-15, but somehow
didn't add the DF.5GS yet.

Change-Id: I9f8102dc7e5a865193ff9930dfc48c5f2e6ecbcf
---
M src/sim/card_fs_usim.c
1 file changed, 26 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/81/21081/1

diff --git a/src/sim/card_fs_usim.c b/src/sim/card_fs_usim.c
index 4c8f79c..72fdae1 100644
--- a/src/sim/card_fs_usim.c
+++ b/src/sim/card_fs_usim.c
@@ -348,6 +348,30 @@
 		"Oprator Home NodeB Name"),
 };
 
+/* 31.102 Chapter 4.4.11 */
+static const struct osim_file_desc usim_ef_in_df_5gs[] = {
+	EF_TRANSP_N(0x4F01, 0x01, "EF.5GS3GPPLOCI", F_OPTIONAL, 20, 20,
+		"5GS 3GPP location information"),
+	EF_TRANSP_N(0x4F02, 0x02, "EF.5GSN3GPPLOCI", F_OPTIONAL, 20, 20,
+		"5GS non-3GPP location information"),
+	EF_LIN_FIX_N(0x4F03, 0x03, "EF.5GS3GPPNSC", F_OPTIONAL, 57, 57,
+		"5GS 3GPP Access NAS Security Context"),
+	EF_LIN_FIX_N(0x4F04, 0x04, "EF.5GSN3GPPNSC", F_OPTIONAL, 57, 57,
+		"5GS non-3GPP Access NAS Security Context"),
+	EF_TRANSP_N(0x4F05, 0x05, "EF.5GAUTHKEYS", F_OPTIONAL, 68, 68,
+		"5GS authentication keys"),
+	EF_TRANSP_N(0x4F06, 0x06, "EF.UAC_AIC", F_OPTIONAL, 4, 4,
+		"UAC Access Identities Configuration"),
+	EF_TRANSP_N(0x4F07, 0x07, "EF.SUCI_Calc_Info", F_OPTIONAL, 2, 64,
+		"Subscription Concealed Identifier Calculation Information"),
+	EF_LIN_FIX_N(0x4F08, 0x08, "EF.OPL5G", F_OPTIONAL, 10, 10,
+		"5GS Operator PLMN List"),
+	EF_TRANSP_N(0x4F09, 0x09, "EF.NSI", F_OPTIONAL, 1, 64,
+		"Network Specific Identifier"),
+	EF_TRANSP_N(0x4F0A, 0x0A, "EF.Routing_Indicator", F_OPTIONAL, 4, 4,
+		"Routing Indicator"),
+};
+
 /* Annex E - TS 101 220 */
 static const uint8_t adf_usim_aid[] = { 0xA0, 0x00, 0x00, 0x00, 0x87, 0x10, 0x02 };
 
@@ -375,6 +399,8 @@
 			ARRAY_SIZE(usim_ef_in_df_mexe));
 	add_df_with_ef(uadf, 0x5F40, "DF.WLAN", usim_ef_in_df_wlan,
 			ARRAY_SIZE(usim_ef_in_df_wlan));
+	add_df_with_ef(uadf, 0x5FC0, "DF.5GS", usim_ef_in_df_5gs,
+			ARRAY_SIZE(usim_ef_in_df_5gs));
 	/* Home-NodeB (femtocell) */
 	add_df_with_ef(uadf, 0x5F50, "DF.HNB", usim_ef_in_df_hnb,
 			ARRAY_SIZE(usim_ef_in_df_hnb));

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I9f8102dc7e5a865193ff9930dfc48c5f2e6ecbcf
Gerrit-Change-Number: 21081
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201109/59fdc61a/attachment.htm>


More information about the gerrit-log mailing list