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
6017dac1
Commit
6017dac1
authored
Jan 12, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Registration Accept
parent
360eb958
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
297 additions
and
204 deletions
+297
-204
src/nas/common/Ie_Const.hpp
src/nas/common/Ie_Const.hpp
+2
-0
src/nas/ies/NSSAI.hpp
src/nas/ies/NSSAI.hpp
+2
-0
src/nas/msgs/RegistrationAccept.cpp
src/nas/msgs/RegistrationAccept.cpp
+255
-175
src/nas/msgs/RegistrationAccept.hpp
src/nas/msgs/RegistrationAccept.hpp
+38
-29
No files found.
src/nas/common/Ie_Const.hpp
View file @
6017dac1
...
...
@@ -96,6 +96,7 @@ constexpr uint8_t kIei5gmmCapability = 0x10;
constexpr
uint8_t
kIeiUeUsageSetting
=
0x18
;
constexpr
uint8_t
kIeiAuthenticationParameterAutn
=
0x20
;
constexpr
uint8_t
kIeiAuthenticationParameterRand
=
0x21
;
constexpr
uint8_t
kIei5gsNetworkFeatureSupport
=
0x21
;
constexpr
uint8_t
kIeiAllowedPduSessionStatus
=
0x25
;
constexpr
uint8_t
kIeiUeStatus
=
0x2b
;
...
...
@@ -121,6 +122,7 @@ constexpr uint8_t kIeiRejectedNssaiRr = 0x69;
constexpr
uint8_t
kIeiEpsNasMessageContainer
=
0x70
;
constexpr
uint8_t
kIeiNasMessageContainer
=
0x71
;
constexpr
uint8_t
kIeiLadnIndication
=
0x74
;
constexpr
uint8_t
kIeiLadnInformation
=
0x79
;
constexpr
uint8_t
kIei5gGuti
=
0x77
;
constexpr
uint8_t
kIeiImeisv
=
0x77
;
constexpr
uint8_t
kIeiNonImeisvPei
=
0x78
;
...
...
src/nas/ies/NSSAI.hpp
View file @
6017dac1
...
...
@@ -40,8 +40,10 @@ class NSSAI : public Type4NasIe {
NSSAI
(
uint8_t
iei
);
NSSAI
(
uint8_t
iei
,
const
std
::
vector
<
struct
SNSSAI_s
>&
nssai
);
~
NSSAI
();
int
Encode
(
uint8_t
*
buf
,
int
len
);
int
Decode
(
uint8_t
*
buf
,
int
len
,
bool
is_iei
);
void
GetValue
(
std
::
vector
<
struct
SNSSAI_s
>&
nssai
)
const
;
private:
...
...
src/nas/msgs/RegistrationAccept.cpp
View file @
6017dac1
This diff is collapsed.
Click to expand it.
src/nas/msgs/RegistrationAccept.hpp
View file @
6017dac1
...
...
@@ -148,42 +148,51 @@ class RegistrationAccept : public NasMmPlainHeader {
public:
_5GS_Registration_Result
ie_5gs_registration_result
;
// Mandatory
std
::
optional
<
_5GSMobileIdentity
>
ie_5g_guti
;
// Optional
std
::
optional
<
PlmnList
>
ie_equivalent_plmns
;
// Optional
std
::
optional
<
_5GSTrackingAreaIdList
>
ie_tai_list
;
// Optional
NSSAI
*
ie_allowed_nssai
;
// Optional
Rejected_NSSAI
*
ie_rejected_nssai
;
// Optional
NSSAI
*
ie_configured_nssai
;
// Optional
_5GS_Network_Feature_Support
*
ie_5gs_network_feature_support
;
// Optional
PDUSessionStatus
*
ie_PDU_session_status
;
// Optional
PDU_Session_Reactivation_Result
*
std
::
optional
<
_5GSMobileIdentity
>
ie_5g_guti
;
// Optional
std
::
optional
<
PlmnList
>
ie_equivalent_plmns
;
// Optional
std
::
optional
<
_5GSTrackingAreaIdList
>
ie_tai_list
;
// Optional
std
::
optional
<
NSSAI
>
ie_allowed_nssai
;
// Optional
std
::
optional
<
Rejected_NSSAI
>
ie_rejected_nssai
;
// Optional
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
<
PDU_Session_Reactivation_Result
>
ie_pdu_session_reactivation_result
;
// Optional
PDU_Session_Reactivation_Result_Error_Cause
*
std
::
optional
<
PDU_Session_Reactivation_Result_Error_Cause
>
ie_pdu_session_reactivation_result_error_cause
;
// Optional
// TODO: LADN information
MicoIndication
*
ie_MICO_indication
;
// Optional
NetworkSlicingIndication
*
ie_network_slicing_indication
;
// Optional
// TODO: std::optional<LadnInformation> ie_ladn_information; //
// Optional
std
::
optional
<
MicoIndication
>
ie_MICO_indication
;
// Optional
std
::
optional
<
NetworkSlicingIndication
>
ie_network_slicing_indication
;
// Optional
// TODO: Service Area List
GPRS_Timer_3
*
ie_T3512_value
;
// Optional
std
::
optional
<
GPRS_Timer_3
>
ie_T3512_value
;
// Optional
GPRS_Timer_2
*
ie_Non_3GPP_de_registration_timer_value
;
// Optional
GPRS_Timer_2
*
ie_T3502_value
;
// Optional
std
::
optional
<
GPRS_Timer_2
>
ie_Non_3GPP_de_registration_timer_value
;
// Optional
std
::
optional
<
GPRS_Timer_2
>
ie_T3502_value
;
// Optional
// TODO: Emergency number list
// TODO: Extended emergency number list
SOR_Transparent_Container
*
ie_sor_transparent_container
;
// Optional
EAP_Message
*
ie_eap_message
;
// Optional
NSSAI_Inclusion_Mode
*
ie_nssai_inclusion_mode
;
// Optional
std
::
optional
<
SOR_Transparent_Container
>
ie_sor_transparent_container
;
// Optional
std
::
optional
<
EAP_Message
>
ie_eap_message
;
// Optional
std
::
optional
<
NSSAI_Inclusion_Mode
>
ie_nssai_inclusion_mode
;
// Optional
// TODO: Operator-defined access category definitions
_5GS_DRX_Parameters
*
ie_negotiated_drx_parameters
;
// Optional
Non_3GPP_NW_Provided_Policies
*
ie_non_3gpp_nw_policies
;
// Optional
EpsBearerContextStatus
*
ie_eps_bearer_context_status
;
// Optional
Extended_DRX_Parameters
*
ie_extended_drx_parameters
;
// Optional
GPRS_Timer_3
*
ie_T3447_value
;
// Optional
GPRS_Timer_3
*
ie_T3448_value
;
// Optional
GPRS_Timer_3
*
ie_T3324_value
;
// Optional
UE_Radio_Capability_ID
*
ie_ue_radio_capability_id
;
// Which Release 16.x.x?
NSSAI
*
ie_pending_nssai
;
// Which Release 16.x.x?
std
::
optional
<
_5GS_DRX_Parameters
>
ie_negotiated_drx_parameters
;
// Optional
std
::
optional
<
Non_3GPP_NW_Provided_Policies
>
ie_non_3gpp_nw_policies
;
// Optional
std
::
optional
<
EpsBearerContextStatus
>
ie_eps_bearer_context_status
;
// Optional
std
::
optional
<
Extended_DRX_Parameters
>
ie_extended_drx_parameters
;
// Optional
std
::
optional
<
GPRS_Timer_3
>
ie_T3447_value
;
// Optional
std
::
optional
<
GPRS_Timer_3
>
ie_T3448_value
;
// Optional
std
::
optional
<
GPRS_Timer_3
>
ie_T3324_value
;
// Optional
std
::
optional
<
UE_Radio_Capability_ID
>
ie_ue_radio_capability_id
;
// Which Release 16.x.x?
std
::
optional
<
NSSAI
>
ie_pending_nssai
;
// Which Release 16.x.x?
};
}
// namespace nas
...
...
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