Table of Contents
24.301 v10.2.0 Section 9.9.2.0
24.301 v10.2.0 Section 9.9.2.0A24.008 v10.2.0 Section 10.5.7.8
24.301 v10.2.0 Section 9.9.2.1
24.301 v10.2.0 Section 9.9.2.224.008 v10.2.0 Section 10.5.1.3
MME
开源:OpenLTE liblte_mme.h
24.301 v10.2.0 Section 9.9.2.0
/*********************************************************************
IE Name: Additional Information
Description: Provides additional information to upper layers in
relation to the generic NAS message transport
mechanism.
Document Reference: 24.301 v10.2.0 Section 9.9.2.0
*********************************************************************/
// Defines
#define LIBLTE_MME_ADDITIONAL_INFORMATION_MAX_N_OCTETS (LIBLTE_MAX_MSG_SIZE/2)
// Enums
// Structs
typedef struct{
uint8 info[LIBLTE_MME_ADDITIONAL_INFORMATION_MAX_N_OCTETS];
uint32 N_octets;
}LIBLTE_MME_ADDITIONAL_INFORMATION_STRUCT;
9.9.2.0 Additional information
The purpose of the Additional information information element is to provide additional information to upper layers in relation to the generic NAS message transport mechanism.
The Additional information information element is coded as shown in figure 9.9.2.0.1 and table 9.9.2.0.1.
The Additional information is a type 4 information element with a minimum length of 3 octets.
24.301 v10.2.0 Section 9.9.2.0A
24.008 v10.2.0 Section 10.5.7.8
/*********************************************************************
IE Name: Device Properties
Description: Indicates if the UE is configured for NAS signalling
low priority.
Document Reference: 24.301 v10.2.0 Section 9.9.2.0A
24.008 v10.2.0 Section 10.5.7.8
*********************************************************************/
// Defines
// Enums
typedef enum{
LIBLTE_MME_DEVICE_PROPERTIES_NOT_CONFIGURED_FOR_LOW_PRIORITY = 0,
LIBLTE_MME_DEVICE_PROPERTIES_CONFIGURED_FOR_LOW_PRIORITY,
LIBLTE_MME_DEVICE_PROPERTIES_N_ITEMS,
}LIBLTE_MME_DEVICE_PROPERTIES_ENUM;
9.9.2.0A Device properties
See subclause 10.5.7.8 in 3GPP TS 24.008 [13].
10.5.7.8 Device properties
The purpose of the Device properties information element is to indicate if the MS is configured for NAS signalling low priority. The network uses the Device properties information element for core-network congestion handling and for charging purposes.
The Device properties information element is coded as shown in figure 10.5.7.8.1/3GPP TS 24.008 and table 10.5.7.8.1/3GPP TS 24.008.
The Device properties is a type 1 information element.
24.301 v10.2.0 Section 9.9.2.1
/*********************************************************************
IE Name: EPS Bearer Context Status
Description: Indicates the state of each EPS bearer context that
can be identified by an EPS bearer identity.
Document Reference: 24.301 v10.2.0 Section 9.9.2.1
*********************************************************************/
// Defines
// Enums
// Structs
typedef struct{
bool ebi[16];
}LIBLTE_MME_EPS_BEARER_CONTEXT_STATUS_STRUCT;
9.9.2.1 EPS bearer context status
The purpose of the EPS bearer context status information element is to indicate the state of each EPS bearer context that can be identified by an EPS bearer identity.
The EPS bearer context status information element is coded as shown in figure 9.9.2.1.1 and table 9.9.2.1.1.
The EPS bearer context status information element is a type 4 information element with 4 octets length.
24.301 v10.2.0 Section 9.9.2.2
24.008 v10.2.0 Section 10.5.1.3
/*********************************************************************
IE Name: Location Area Identification
Description: Provides an unambiguous identification of location
areas within the area covered by the 3GPP system.
Document Reference: 24.301 v10.2.0 Section 9.9.2.2
24.008 v10.2.0 Section 10.5.1.3
*********************************************************************/
// Defines
// Enums
// Structs
typedef struct{
uint16 mcc;
uint16 mnc;
uint16 lac;
}LIBLTE_MME_LOCATION_AREA_ID_STRUCT;
9.9.2.2 Location area identification
See subclause 10.5.1.3 in 3GPP TS 24.008 [13].
10.5.1.3 Location Area Identification
The purpose of the Location Area Identification information element is to provide an unambiguous identification of location areas within the area covered by the 3GPP system.
The Location Area Identification information element is coded as shown in figure 10.5.3/3GPP TS 24.008 and table 10.5.3/3GPP TS 24.008.
The Location Area Identification is a type 3 information element with 6 octets length.
liblte_mme.h
相关链接
核心网:https://blog.csdn.net/Rong_Toa/article/details/89285093
4G核心网主要包含MME,SGW,PGW,HSS这几个网元,下面简要介绍下这些网元的作用。
文档ftp:ftp://ftp.3gpp.org/Specs/2018-06/Rel-15/24_series/
开源项目:https://github.com/mgp25/OpenLTE
感谢:Ben Wojtowicz