Commit 19e32019 authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Merge branch 'develop' into cu_du_testing

parents 378ed04e 623f1df1
......@@ -3092,6 +3092,8 @@ void amf_n1::ue_initiate_de_registration_handle(
bstring b = blk2bstr(buffer, encoded_size);
itti_send_dl_nas_buffer_to_task_n2(b, ran_ue_ngap_id, amf_ue_ngap_id);
// sleep 100ms
usleep(200000);
}
set_5gmm_state(nc, _5GMM_DEREGISTERED);
......
......@@ -523,13 +523,11 @@ void amf_sbi::handle_itti_message(
Logger::amf_sbi().debug("SMF URI: %s", remote_uri.c_str());
nlohmann::json pdu_session_release_request;
pdu_session_release_request["supi"] = itti_msg.supi.c_str();
pdu_session_release_request["dnn"] = psc->dnn.c_str();
pdu_session_release_request["sNssai"]["sst"] = psc->snssai.sST;
pdu_session_release_request["sNssai"]["sd"] = psc->snssai.sD;
pdu_session_release_request["pduSessionId"] = psc->pdu_session_id;
pdu_session_release_request["cause"] = "REL_DUE_TO_REACTIVATION"; // TODO:
pdu_session_release_request["ngApCause"] = "radioNetwork";
// pdu_session_release_request["ngApCause"] = "radioNetwork";
// TODO: 5gMmCauseValue
// TODO: UserLocation
// TODO: N2SmInfo
std::string msg_body = pdu_session_release_request.dump();
uint8_t http_version = 1;
if (amf_cfg.support_features.use_http2) http_version = 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment