GUAMI not properly stored after receiving "Initial Context Setup Request"
gNB doesn't correctly decode GUAMI parameter, and doesn't store properly in the gNB_RRC_UE_t
struct.
develop branch - tag 2024.w23
Expected value:
Decoded value:
Thread 7 "TASK_NGAP" hit Breakpoint 1, ngap_gNB_handle_initial_context_request (assoc_id=assoc_id@entry=23, stream=stream@entry=1, pdu=pdu@entry=0x7fffefffe580) at /home/teodora/ric_oai/oai-testing/openair3/NGAP/ngap_gNB_handlers.c:805
805 NGAP_FIND_PROTOCOLIE_BY_ID(NGAP_InitialContextSetupRequestIEs_t, ie, container,
(gdb) p msg->guami
$1 = {mcc = 208, mnc = 99, mnc_len = 2 '\002', amf_region_id = 1 '\001', amf_set_id = 64, amf_pointer = 4 '\004'}
(gdb)
Stored value on RRC level:
Thread 9 "TASK_RRC_GNB" hit Breakpoint 1, rrc_gNB_process_NGAP_INITIAL_CONTEXT_SETUP_REQ (msg_p=msg_p@entry=0x7fffe8004ab0, instance=instance@entry=0) at /home/teodora/ric_oai/oai-testing/openair2/RRC/NR/rrc_gNB_NGAP.c:490
490 rrc_gNB_process_security(&ctxt, ue_context_p, &req->security_capabilities);
(gdb) p UE->guami
There is no member named guami.
(gdb) p UE->ue_guami
$1 = {mcc = 0, mnc = 0, mnc_len = 0 '\000', amf_region_id = 0 '\000', amf_set_id = 0, amf_pointer = 0 '\000'}
(gdb)