hnbgw: Add TC_ue_register_tmsi_lai for UE Registration without IMSI

Change-Id: I1712a3db791c07767eba10fcea3ce15b898670df
This commit is contained in:
Harald Welte 2024-04-04 00:54:34 +02:00
parent 3c88c35912
commit f60044d44b
1 changed files with 14 additions and 0 deletions

View File

@ -1007,6 +1007,19 @@ testcase TC_ue_register() runs on test_CT {
f_shutdown_helper();
}
/* regular UE registration (UE Identity: TMSI+LAI) */
testcase TC_ue_register_tmsi_lai() runs on test_CT {
var UE_Identity ue_id := { tMSILAI := { tMSI := oct2bit(f_gen_tmsi(0)),
lAI := { pLMNID := '00F110'O, lAC := '2342'O }
}
};
g_num_hnbs := 1;
f_init(start_hnb := true);
f_hnbap_ue_register(0, ue_id);
f_shutdown_helper();
}
/* UE registration from unregistered HNB */
testcase TC_ue_register_before_hnb_register() runs on test_CT {
var UE_Identity ue_id := { iMSI := imsi_hex2oct(f_gen_imsi(1)) };
@ -2767,6 +2780,7 @@ control {
execute(TC_hnb_register_duplicate());
execute(TC_hnb_register_duplicate_reuse_sctp_assoc());
execute(TC_ue_register());
execute(TC_ue_register_tmsi_lai());
execute(TC_ue_register_before_hnb_register());
execute(TC_ranap_cs_initial_ue());
execute(TC_ranap_ps_initial_ue());