Commit 62ee8399 authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Fix issue for 5GS Registration Result

parent 560c1dfb
......@@ -32,7 +32,7 @@ _5GS_Registration_Result::_5GS_Registration_Result() : Type4NasIe() {
nssaa_performed_ = false;
sms_allowed_ = false;
value_ = 0;
SetLengthIndicator(k5gsRegistrationResultLength);
SetLengthIndicator(k5gsRegistrationResultContentLength);
SetIeName(k5gsRegistrationResultIeName);
}
......@@ -43,7 +43,7 @@ _5GS_Registration_Result::_5GS_Registration_Result(uint8_t iei)
nssaa_performed_ = false;
sms_allowed_ = false;
value_ = 0;
SetLengthIndicator(k5gsRegistrationResultLength);
SetLengthIndicator(k5gsRegistrationResultContentLength);
SetIeName(k5gsRegistrationResultIeName);
}
......@@ -55,7 +55,7 @@ _5GS_Registration_Result::_5GS_Registration_Result(
nssaa_performed_ = nssaa;
sms_allowed_ = sms;
value_ = value & 0x07;
SetLengthIndicator(k5gsRegistrationResultLength);
SetLengthIndicator(k5gsRegistrationResultContentLength);
SetIeName(k5gsRegistrationResultIeName);
}
......@@ -67,7 +67,7 @@ _5GS_Registration_Result::_5GS_Registration_Result(
nssaa_performed_ = nssaa;
sms_allowed_ = sms;
value_ = value & 0x07;
SetLengthIndicator(k5gsRegistrationResultLength);
SetLengthIndicator(k5gsRegistrationResultContentLength);
SetIeName(k5gsRegistrationResultIeName);
}
......
......@@ -26,6 +26,7 @@
#include <stdint.h>
constexpr uint8_t k5gsRegistrationResultLength = 3;
constexpr uint8_t k5gsRegistrationResultContentLength = 1;
constexpr auto k5gsRegistrationResultIeName = "5GS Registration Result";
namespace nas {
......
......@@ -19,13 +19,6 @@
* contact@openairinterface.org
*/
/*! \file
\brief
\author Keliang DU, BUPT
\date 2020
\email: contact@openairinterface.org
*/
#include "RegistrationAccept.hpp"
#include "3gpp_24.501.hpp"
......
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