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
93ec85ea
Commit
93ec85ea
authored
Jan 16, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
d1cf1a2b
Changes
35
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
5 additions
and
93 deletions
+5
-93
src/nas/ies/5GSMobileIdentity.hpp
src/nas/ies/5GSMobileIdentity.hpp
+0
-8
src/nas/ies/ABBA.hpp
src/nas/ies/ABBA.hpp
+0
-1
src/nas/ies/Authentication_Parameter_AUTN.hpp
src/nas/ies/Authentication_Parameter_AUTN.hpp
+0
-2
src/nas/ies/Authentication_Parameter_RAND.hpp
src/nas/ies/Authentication_Parameter_RAND.hpp
+0
-2
src/nas/ies/EPS_NAS_Message_Container.hpp
src/nas/ies/EPS_NAS_Message_Container.hpp
+0
-7
src/nas/ies/EapMessage.hpp
src/nas/ies/EapMessage.hpp
+0
-7
src/nas/ies/EpsBearerContextStatus.hpp
src/nas/ies/EpsBearerContextStatus.hpp
+0
-1
src/nas/ies/ExtendedProtocolDiscriminator.hpp
src/nas/ies/ExtendedProtocolDiscriminator.hpp
+0
-1
src/nas/ies/Extended_DRX_Parameters.hpp
src/nas/ies/Extended_DRX_Parameters.hpp
+0
-1
src/nas/ies/GprsTimer2.hpp
src/nas/ies/GprsTimer2.hpp
+0
-2
src/nas/ies/GprsTimer3.hpp
src/nas/ies/GprsTimer3.hpp
+0
-1
src/nas/ies/LADN_Indication.hpp
src/nas/ies/LADN_Indication.hpp
+0
-9
src/nas/ies/MICOIndication.hpp
src/nas/ies/MICOIndication.hpp
+0
-1
src/nas/ies/NasMessageType.hpp
src/nas/ies/NasMessageType.hpp
+0
-1
src/nas/ies/NetworkSlicingIndication.hpp
src/nas/ies/NetworkSlicingIndication.hpp
+0
-2
src/nas/ies/Non_3GPP_NW_Provided_Policies.hpp
src/nas/ies/Non_3GPP_NW_Provided_Policies.hpp
+0
-1
src/nas/ies/NssaiInclusionMode.hpp
src/nas/ies/NssaiInclusionMode.hpp
+0
-1
src/nas/ies/PDU_Session_Reactivation_Result.hpp
src/nas/ies/PDU_Session_Reactivation_Result.hpp
+0
-1
src/nas/ies/PDU_Session_Reactivation_Result_Error_Cause.hpp
src/nas/ies/PDU_Session_Reactivation_Result_Error_Cause.hpp
+0
-2
src/nas/ies/PLMN_List.hpp
src/nas/ies/PLMN_List.hpp
+0
-3
src/nas/ies/PayloadContainerType.hpp
src/nas/ies/PayloadContainerType.hpp
+0
-2
src/nas/ies/Payload_Container.hpp
src/nas/ies/Payload_Container.hpp
+2
-12
src/nas/ies/SOR_Transparent_Container.hpp
src/nas/ies/SOR_Transparent_Container.hpp
+0
-1
src/nas/ies/SecurityHeaderType.hpp
src/nas/ies/SecurityHeaderType.hpp
+0
-1
src/nas/ies/StandardL3NasIe.hpp
src/nas/ies/StandardL3NasIe.hpp
+1
-0
src/nas/ies/UENetworkCapability.hpp
src/nas/ies/UENetworkCapability.hpp
+0
-2
src/nas/ies/UEStatus.hpp
src/nas/ies/UEStatus.hpp
+0
-1
src/nas/ies/UEUsageSetting.hpp
src/nas/ies/UEUsageSetting.hpp
+0
-2
src/nas/ies/_5GSTrackingAreaIdentity.hpp
src/nas/ies/_5GSTrackingAreaIdentity.hpp
+0
-3
src/nas/ies/_5GS_DRX_Parameters.hpp
src/nas/ies/_5GS_DRX_Parameters.hpp
+0
-2
src/nas/ies/_5GS_Network_Feature_Support.hpp
src/nas/ies/_5GS_Network_Feature_Support.hpp
+0
-1
src/nas/ies/_5GS_Registration_Result.hpp
src/nas/ies/_5GS_Registration_Result.hpp
+0
-1
src/nas/ies/_5gmmCause.hpp
src/nas/ies/_5gmmCause.hpp
+2
-3
src/nas/ies/_5gsUpdateType.hpp
src/nas/ies/_5gsUpdateType.hpp
+0
-1
src/nas/ies/struct.hpp
src/nas/ies/struct.hpp
+0
-7
No files found.
src/nas/ies/5GSMobileIdentity.hpp
View file @
93ec85ea
...
...
@@ -24,14 +24,6 @@
#include "Type6NasIe.hpp"
#include "struct.hpp"
#include <stdint.h>
#include <optional>
extern
"C"
{
#include "TLVDecoder.h"
#include "TLVEncoder.h"
#include "bstrlib.h"
}
constexpr
uint8_t
k5gsMobileIdentityIe5gGutiLength
=
11
;
constexpr
uint8_t
k5gsMobileIdentityIe5gSTmsiLength
=
7
;
...
...
src/nas/ies/ABBA.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _ABBA_H_
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kAbbaMinimumLength
=
4
;
constexpr
auto
kAbbaIeName
=
"ABBA"
;
...
...
src/nas/ies/Authentication_Parameter_AUTN.hpp
View file @
93ec85ea
...
...
@@ -23,8 +23,6 @@
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kAuthenticationParameterAutnLength
=
18
;
constexpr
uint8_t
kAuthenticationParameterAutnValueLength
=
kAuthenticationParameterAutnLength
-
2
;
...
...
src/nas/ies/Authentication_Parameter_RAND.hpp
View file @
93ec85ea
...
...
@@ -24,8 +24,6 @@
#include "Type3NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kAuthenticationParameterRandLength
=
17
;
constexpr
uint8_t
kAuthenticationParameterRandValueLength
=
kAuthenticationParameterRandLength
-
1
;
...
...
src/nas/ies/EPS_NAS_Message_Container.hpp
View file @
93ec85ea
...
...
@@ -23,13 +23,6 @@
#define _EPS_NAS_MESSAGE_CONTAINER_H_
#include "Type6NasIe.hpp"
#include <stdint.h>
extern
"C"
{
#include "TLVDecoder.h"
#include "TLVEncoder.h"
#include "bstrlib.h"
}
constexpr
auto
kEpsNasMessageContainerIeName
=
"EPS NAS Message Container"
;
...
...
src/nas/ies/EapMessage.hpp
View file @
93ec85ea
...
...
@@ -23,13 +23,6 @@
#define _EAP_MESSAGE_H_
#include "Type6NasIe.hpp"
#include <stdint.h>
extern
"C"
{
#include "TLVDecoder.h"
#include "TLVEncoder.h"
#include "bstrlib.h"
}
constexpr
uint8_t
kEapMessageMinimumLength
=
7
;
constexpr
uint16_t
kEapMessageMaximumLength
=
1503
;
...
...
src/nas/ies/EpsBearerContextStatus.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _EPS_BEARER_CONTEXT_STATUS_H_
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kEpsBearerContextStatusLength
=
4
;
constexpr
auto
kEpsBearerContextStatusIeName
=
"EPS Bearer Context Status"
;
...
...
src/nas/ies/ExtendedProtocolDiscriminator.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define EXTENDED_PROTOCOL_DISCRIMINATOR_H_
#include "NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kExtendedProtocolDiscriminatorLength
=
1
;
...
...
src/nas/ies/Extended_DRX_Parameters.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _EXTENDED_DRX_PARAMETERS_H_
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kExtendedDrxParametersLength
=
3
;
constexpr
auto
kExtendedDrxParametersIeName
=
"Extended DRX Parameters"
;
...
...
src/nas/ies/GprsTimer2.hpp
View file @
93ec85ea
...
...
@@ -24,8 +24,6 @@
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kGprsTimer2Length
=
3
;
constexpr
auto
kGprsTimer2IeName
=
"GPRS Timer 2"
;
...
...
src/nas/ies/GprsTimer3.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _GPRS_TIMER_3_H_
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kGprsTimer3Length
=
3
;
constexpr
auto
kGprsTimer3IeName
=
"GPRS Timer 3"
;
...
...
src/nas/ies/LADN_Indication.hpp
View file @
93ec85ea
...
...
@@ -24,15 +24,6 @@
#include "Type6NasIe.hpp"
#include <stdint.h>
#include <iostream>
#include <vector>
extern
"C"
{
#include "TLVDecoder.h"
#include "TLVEncoder.h"
#include "bstrlib.h"
}
using
namespace
std
;
constexpr
uint8_t
kLadnIndicationMinimumLength
=
3
;
...
...
src/nas/ies/MICOIndication.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _MICO_INDICATION_H
#include "Type1NasIeFormatTv.hpp"
#include <stdint.h>
constexpr
uint8_t
kMicoIndicationIELength
=
1
;
constexpr
auto
kMicoIndicationIeName
=
"MICO Indication"
;
...
...
src/nas/ies/NasMessageType.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _MESSAGE_TYPE_H_
#include "NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kNasMessageTypeIeSize
=
1
;
...
...
src/nas/ies/NetworkSlicingIndication.hpp
View file @
93ec85ea
...
...
@@ -24,8 +24,6 @@
#include "Type1NasIeFormatTv.hpp"
#include <stdint.h>
constexpr
uint8_t
kNetworkSlicingIndicationLength
=
1
;
constexpr
auto
kNetworkSlicingIndicationIeName
=
"Network Slicing Indication"
;
...
...
src/nas/ies/Non_3GPP_NW_Provided_Policies.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _NON_3GPP_NW_PROVIDED_POLICIES_H
#include "Type1NasIeFormatTv.hpp"
#include <stdint.h>
constexpr
uint8_t
kNon3gppNwProvidedPoliciesLength
=
1
;
constexpr
auto
kNon3gppNwProvidedPoliciesIeName
=
...
...
src/nas/ies/NssaiInclusionMode.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _NSSAI_INCLUSION_MODE_H
#include "Type1NasIeFormatTv.hpp"
#include <stdint.h>
constexpr
uint8_t
kNssaiInclusionModeLength
=
1
;
constexpr
auto
kNssaiInclusionModeIeName
=
"NSSAI Inclusion Mode"
;
...
...
src/nas/ies/PDU_Session_Reactivation_Result.hpp
View file @
93ec85ea
...
...
@@ -22,7 +22,6 @@
#define _PDU_SESSION_REACTIVATION_RESULT_H_
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kPduSessionReactivationResultMinimumLength
=
4
;
constexpr
uint8_t
kPduSessionReactivationResultMaximumLength
=
34
;
...
...
src/nas/ies/PDU_Session_Reactivation_Result_Error_Cause.hpp
View file @
93ec85ea
...
...
@@ -23,8 +23,6 @@
#define _PDU_SESSION_REACTIVATION_RESULT_ERROR_CAUSE_H_
#include "Type6NasIe.hpp"
#include <stdint.h>
#include <vector>
constexpr
uint8_t
kPduSessionReactivationResultErrorCauseMinimumLength
=
5
;
constexpr
uint32_t
kPduSessionReactivationResultErrorCauseMaximumLength
=
515
;
...
...
src/nas/ies/PLMN_List.hpp
View file @
93ec85ea
...
...
@@ -23,10 +23,7 @@
#define _PLMN_LIST_H_
#include "Type4NasIe.hpp"
#include "struct.hpp"
#include <stdint.h>
#include <vector>
constexpr
uint8_t
kPlmnListMinimumLength
=
5
;
constexpr
uint8_t
kPlmnListMaximumLength
=
47
;
...
...
src/nas/ies/PayloadContainerType.hpp
View file @
93ec85ea
...
...
@@ -24,8 +24,6 @@
#include "Type1NasIeFormatTv.hpp"
#include <stdint.h>
constexpr
uint8_t
kPayloadContainerTypeLength
=
1
;
constexpr
auto
kPayloadContainerTypeIeName
=
"Payload Container Type"
;
...
...
src/nas/ies/Payload_Container.hpp
View file @
93ec85ea
...
...
@@ -19,22 +19,12 @@
* contact@openairinterface.org
*/
#ifndef __Payload_Container_H_
#define __Payload_Container_H_
#include <stdint.h>
#include <iostream>
#include <vector>
#ifndef _PAYLOAD_CONTAINER_H_
#define _PAYLOAD_CONTAINER_H_
#include "NasIeHeader.hpp"
#include "Type6NasIe.hpp"
extern
"C"
{
#include "TLVDecoder.h"
#include "TLVEncoder.h"
#include "bstrlib.h"
}
constexpr
uint8_t
kPayloadContainerMinimumLength
=
4
;
constexpr
uint32_t
kPayloadContainerMaximumLength
=
65538
;
constexpr
auto
kPayloadContainerIeName
=
"Payload Container"
;
...
...
src/nas/ies/SOR_Transparent_Container.hpp
View file @
93ec85ea
...
...
@@ -22,7 +22,6 @@
#define _SOR_TRANSPARENT_CONTAINER_H_
#include "Type6NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kSorTransparentContainerMinimumLength
=
20
;
constexpr
uint8_t
kSorTransparentContainerIeMinimumLength
=
17
;
...
...
src/nas/ies/SecurityHeaderType.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _SECURITY_HEADER_TYPE_H_
#include "NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kSecurityHeaderTypeLength
=
1
;
...
...
src/nas/ies/StandardL3NasIe.hpp
View file @
93ec85ea
...
...
@@ -21,6 +21,7 @@
#ifndef _STANDARD_L3_NAS_IE_H_
#define _STANDARD_L3_NAS_IE_H_
#include "NasIe.hpp"
namespace
nas
{
...
...
src/nas/ies/UENetworkCapability.hpp
View file @
93ec85ea
...
...
@@ -24,8 +24,6 @@
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kUeNetworkCapabilityMinimumLength
=
4
;
constexpr
uint8_t
kUeNetworkCapabilityMaximumLength
=
15
;
constexpr
auto
kUeNetworkCapabilityIeName
=
"S1 UE Network Capability"
;
...
...
src/nas/ies/UEStatus.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _UE_STATUS_H_
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kUeStatusIeLength
=
3
;
constexpr
auto
kUeStatusIeName
=
"UE Status"
;
...
...
src/nas/ies/UEUsageSetting.hpp
View file @
93ec85ea
...
...
@@ -24,8 +24,6 @@
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
kUeUsageSettingLength
=
3
;
constexpr
auto
kUeUsageSettingIeName
=
"UE's Usage Setting"
;
...
...
src/nas/ies/_5GSTrackingAreaIdentity.hpp
View file @
93ec85ea
...
...
@@ -24,9 +24,6 @@
#include "Type3NasIe.hpp"
#include <stdint.h>
#include <string>
constexpr
uint8_t
k5gsTrackingAreaIdentityLength
=
7
;
constexpr
auto
k5gsTrackingAreaIdentityIeName
=
"5GS Tracking Area Identity"
;
...
...
src/nas/ies/_5GS_DRX_Parameters.hpp
View file @
93ec85ea
...
...
@@ -24,8 +24,6 @@
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
k5gsDrxParametersLength
=
3
;
constexpr
auto
k5gsDrxParametersIeName
=
"5GS DRX Parameters"
;
...
...
src/nas/ies/_5GS_Network_Feature_Support.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _5GS_NETWORK_FEATURE_SUPPORT_H
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
k5gsNetworkFeatureSupportMinimumLength
=
3
;
constexpr
uint8_t
k5gsNetworkFeatureSupportMaximumLength
=
5
;
...
...
src/nas/ies/_5GS_Registration_Result.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _5GS_REGISTRATION_RESULT_H_
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
k5gsRegistrationResultLength
=
3
;
constexpr
uint8_t
k5gsRegistrationResultContentLength
=
1
;
...
...
src/nas/ies/_5gmmCause.hpp
View file @
93ec85ea
...
...
@@ -19,11 +19,10 @@
* contact@openairinterface.org
*/
#ifndef __5GMM_C
ause
_H
#define __5GMM_C
ause
_H
#ifndef __5GMM_C
AUSE
_H
#define __5GMM_C
AUSE
_H
#include "Type3NasIe.hpp"
#include <stdint.h>
enum
class
_5gmmCauseEnum
{
kIllegalUE
=
0b00000011
,
...
...
src/nas/ies/_5gsUpdateType.hpp
View file @
93ec85ea
...
...
@@ -23,7 +23,6 @@
#define _5GS_UPDATE_TYPE_H
#include "Type4NasIe.hpp"
#include <stdint.h>
constexpr
uint8_t
k5gsUpdateTypeLength
=
3
;
constexpr
auto
k5gsUpdateTypeIeName
=
"5GS Update Type"
;
...
...
src/nas/ies/struct.hpp
View file @
93ec85ea
...
...
@@ -19,13 +19,6 @@
* contact@openairinterface.org
*/
/*! \file
\brief
\author Keliang DU, BUPT
\date 2020
\email: contact@openairinterface.org
*/
#ifndef _STRUCT_H_
#define _STRUCT_H_
#include <stdint.h>
...
...
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