Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-AMF
Commits
504f62b9
Commit
504f62b9
authored
Feb 08, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup ofr Registration Accept
parent
93497520
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
117 deletions
+120
-117
src/nas/msgs/RegistrationAccept.cpp
src/nas/msgs/RegistrationAccept.cpp
+103
-99
src/nas/msgs/RegistrationAccept.hpp
src/nas/msgs/RegistrationAccept.hpp
+17
-18
No files found.
src/nas/msgs/RegistrationAccept.cpp
View file @
504f62b9
This diff is collapsed.
Click to expand it.
src/nas/msgs/RegistrationAccept.hpp
View file @
504f62b9
...
...
@@ -39,22 +39,22 @@ class RegistrationAccept : public NasMmPlainHeader {
int
Decode
(
uint8_t
*
buf
,
int
len
);
void
Set5gsRegistrationResult
(
bool
emergency
,
bool
nssaa
,
bool
sms
,
const
uint8_t
&
value
);
bool
emergency
,
bool
nssaa
,
bool
sms
,
uint8_t
value
);
// TODO: Get
// 5GSMobileIdentity
void
SetSuciSupiFormatImsi
(
const
std
::
string
&
mcc
,
const
std
::
string
&
mnc
,
const
std
::
string
&
routing
Ind
,
const
uint8_t
&
protection_sch_id
,
const
std
::
string
&
routing
_ind
,
uint8_t
protection_sch_id
,
const
std
::
string
&
msin
);
void
SetSuciSupiFormatImsi
(
const
std
::
string
&
mcc
,
const
std
::
string
&
mnc
,
const
std
::
string
&
routing
Ind
,
const
uint8_t
&
protection_sch_id
,
const
std
::
string
&
routing
_ind
,
uint8_t
protection_sch_id
,
const
uint8_t
&
hnpki
,
const
std
::
string
&
msin
);
void
Set5gGuti
(
const
std
::
string
&
mcc
,
const
std
::
string
&
mnc
,
const
std
::
string
&
amf
RegionId
,
const
std
::
string
&
amfSetI
d
,
const
std
::
string
&
amf
P
ointer
,
const
uint32_t
&
tmsi
);
const
std
::
string
&
amf
_region_id
,
const
std
::
string
&
amf_set_i
d
,
const
std
::
string
&
amf
_p
ointer
,
const
uint32_t
&
tmsi
);
void
SetImeiImeisv
();
// TODO:
void
Set5gSTmsi
();
// TODO:
// TODO: Get
...
...
@@ -63,7 +63,7 @@ class RegistrationAccept : public NasMmPlainHeader {
void
SetEquivalentPlmns
(
const
std
::
vector
<
nas_plmn_t
>&
list
);
// TODO: Get
void
setTaiList
(
std
::
vector
<
p_tai_t
>
tai_list
);
void
setTaiList
(
const
std
::
vector
<
p_tai_t
>&
tai_list
);
void
SetAllowedNssai
(
const
std
::
vector
<
struct
SNSSAI_s
>&
nssai
);
// TODO: Get
...
...
@@ -110,7 +110,7 @@ class RegistrationAccept : public NasMmPlainHeader {
void
SetSorTransparentContainer
(
uint8_t
header
,
const
uint8_t
(
&
value
)[
16
]);
// TODO: Get
void
SetEapMessage
(
bstring
eap
);
void
SetEapMessage
(
const
bstring
&
eap
);
// TODO: Get
void
SetNssaiInclusionMode
(
uint8_t
value
);
...
...
@@ -139,10 +139,10 @@ class RegistrationAccept : public NasMmPlainHeader {
void
SetT3324Value
(
uint8_t
unit
,
uint8_t
value
);
// TODO: Get
void
SetUeRadioCapabilityId
(
bstring
value
);
void
SetUeRadioCapabilityId
(
const
bstring
&
value
);
// TODO: Get
void
SetPendingNssai
(
std
::
vector
<
struct
SNSSAI_s
>
nssai
);
void
SetPendingNssai
(
const
std
::
vector
<
struct
SNSSAI_s
>&
nssai
);
// TODO: Get
public:
...
...
@@ -156,21 +156,20 @@ class RegistrationAccept : public NasMmPlainHeader {
std
::
optional
<
NSSAI
>
ie_configured_nssai
;
// Optional
std
::
optional
<
_5GS_Network_Feature_Support
>
ie_5gs_network_feature_support
;
// Optional
std
::
optional
<
PDUSessionStatus
>
ie_
PDU
_session_status
;
// Optional
std
::
optional
<
PDUSessionStatus
>
ie_
pdu
_session_status
;
// Optional
std
::
optional
<
PDU_Session_Reactivation_Result
>
ie_pdu_session_reactivation_result
;
// Optional
std
::
optional
<
PDU_Session_Reactivation_Result_Error_Cause
>
ie_pdu_session_reactivation_result_error_cause
;
// Optional
// TODO: std::optional<LadnInformation> ie_ladn_information; //
// Optional
std
::
optional
<
MicoIndication
>
ie_
MICO
_indication
;
// Optional
std
::
optional
<
MicoIndication
>
ie_
mico
_indication
;
// Optional
std
::
optional
<
NetworkSlicingIndication
>
ie_network_slicing_indication
;
// Optional
// TODO: Service Area List
std
::
optional
<
GprsTimer3
>
ie_T3512_value
;
// Optional
std
::
optional
<
GprsTimer2
>
ie_Non_3GPP_de_registration_timer_value
;
// Optional
std
::
optional
<
GprsTimer2
>
ie_T3502_value
;
// Optional
std
::
optional
<
GprsTimer3
>
ie_t3512_value
;
// Optional
std
::
optional
<
GprsTimer2
>
ie_non_3gpp_deregistration_timer_value
;
// Optional
std
::
optional
<
GprsTimer2
>
ie_t3502_value
;
// Optional
// TODO: Emergency number list
// TODO: Extended emergency number list
std
::
optional
<
SorTransparentContainer
>
...
...
@@ -185,9 +184,9 @@ class RegistrationAccept : public NasMmPlainHeader {
ie_eps_bearer_context_status
;
// Optional
std
::
optional
<
Extended_DRX_Parameters
>
ie_extended_drx_parameters
;
// Optional
std
::
optional
<
GprsTimer3
>
ie_
T
3447_value
;
// Optional
std
::
optional
<
GprsTimer3
>
ie_
T
3448_value
;
// Optional
std
::
optional
<
GprsTimer3
>
ie_
T
3324_value
;
// Optional
std
::
optional
<
GprsTimer3
>
ie_
t
3447_value
;
// Optional
std
::
optional
<
GprsTimer3
>
ie_
t
3448_value
;
// Optional
std
::
optional
<
GprsTimer3
>
ie_
t
3324_value
;
// Optional
std
::
optional
<
UeRadioCapabilityId
>
ie_ue_radio_capability_id
;
// Release 16.4.1
// TODO: UE radio capability ID deletion indication
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment