Commit 78b75ace authored by winckel's avatar winckel

Created a RRC sub-state field.

Created RRC state ans sub-state handling functions.
Completed handling of NAS_CONN_ESTABLI_REQ.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4815 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 7d0320f2
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
#include <string.h> #include <string.h>
#endif #endif
#include "rrc_types.h"
#include "PHY/defs.h" #include "PHY/defs.h"
#include "COMMON/platform_constants.h" #include "COMMON/platform_constants.h"
...@@ -110,13 +111,6 @@ typedef struct rrc_ral_threshold_key_s { ...@@ -110,13 +111,6 @@ typedef struct rrc_ral_threshold_key_s {
#define UE_INDEX_INVALID ((uint8_t) ~0) #define UE_INDEX_INVALID ((uint8_t) ~0)
typedef enum RRC_STATE_e {
RRC_STATE_INACTIVE=0,
RRC_STATE_IDLE,
RRC_STATE_CONNECTED,
} RRC_STATE_t;
typedef enum UE_STATE_e { typedef enum UE_STATE_e {
RRC_INACTIVE=0, RRC_INACTIVE=0,
RRC_IDLE, RRC_IDLE,
...@@ -365,10 +359,12 @@ typedef struct OAI_UECapability_s { ...@@ -365,10 +359,12 @@ typedef struct OAI_UECapability_s {
} OAI_UECapability_t; } OAI_UECapability_t;
typedef struct UE_RRC_INST_s { typedef struct UE_RRC_INST_s {
RRC_STATE_t RrcState; Rrc_State_t RrcState;
Rrc_Sub_State_t RrcSubState;
# if defined(ENABLE_USE_MME) # if defined(ENABLE_USE_MME)
plmn_t plmnID; plmn_t plmnID;
Byte_t rat; Byte_t rat;
as_nas_info_t initialNasMsg;
# endif # endif
uint8_t *UECapability; uint8_t *UECapability;
uint8_t UECapability_size; uint8_t UECapability_size;
......
This diff is collapsed.
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