Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
promise
OpenXG-RAN
Commits
76865935
Commit
76865935
authored
Oct 18, 2019
by
Wolfgang A. Mozart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S1AP encode success
parent
124ffe20
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
openair2/RRC/LITE/defs.h
openair2/RRC/LITE/defs.h
+1
-0
openair2/RRC/LITE/proto_NB_IoT.h
openair2/RRC/LITE/proto_NB_IoT.h
+2
-1
openair2/RRC/LITE/rrc_eNB.c
openair2/RRC/LITE/rrc_eNB.c
+8
-8
openair2/RRC/LITE/rrc_eNB_S1AP.c
openair2/RRC/LITE/rrc_eNB_S1AP.c
+5
-5
openair2/RRC/LITE/rrc_eNB_S1AP.h
openair2/RRC/LITE/rrc_eNB_S1AP.h
+1
-1
No files found.
openair2/RRC/LITE/defs.h
View file @
76865935
...
...
@@ -372,6 +372,7 @@ typedef struct eNB_RRC_UE_s {
SRB_INFO
Srb0
;
SRB_INFO_TABLE_ENTRY
Srb1
;
SRB_INFO_TABLE_ENTRY
Srb2
;
SRB_INFO_TABLE_ENTRY
Srb1bis
;
MeasConfig_t
*
measConfig
;
HANDOVER_INFO
*
handover_info
;
...
...
openair2/RRC/LITE/proto_NB_IoT.h
View file @
76865935
...
...
@@ -30,6 +30,7 @@
* @{
*/
#include "RRC/LITE/defs.h"
#include "RRC/LITE/defs_NB_IoT.h"
#include "pdcp.h"
#include "rlc.h"
...
...
@@ -484,7 +485,7 @@ rrc_eNB_generate_dedicatedRRCConnectionReconfiguration_NB_IoT(
void
rrc_eNB_process_RRCConnectionSetupComplete_NB_IoT
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
rrc_eNB_ue_context_
NB_IoT_
t
*
ue_context_pP
,
rrc_eNB_ue_context_t
*
ue_context_pP
,
RRCConnectionSetupComplete_NB_r13_IEs_t
*
rrcConnectionSetupComplete_NB
);
...
...
openair2/RRC/LITE/rrc_eNB.c
View file @
76865935
...
...
@@ -1124,10 +1124,10 @@ rrc_eNB_process_RRCConnectionSetupComplete(
if
(
EPC_MODE_ENABLED
==
1
)
{
// Forward message to S1AP layer
rrc_eNB_send_S1AP_NAS_FIRST_REQ
(
/*
rrc_eNB_send_S1AP_NAS_FIRST_REQ(
ctxt_pP,
ue_context_pP,
rrcConnectionSetupComplete
);
rrcConnectionSetupComplete);
*/
}
else
#endif
{
...
...
@@ -1144,7 +1144,7 @@ rrc_eNB_process_RRCConnectionSetupComplete(
//-----------------------------------------------------------------------------
void
rrc_eNB_process_RRCConnectionSetupComplete_NB_IoT
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
rrc_eNB_ue_context_
NB_IoT_
t
*
ue_context_pP
,
rrc_eNB_ue_context_t
*
ue_context_pP
,
RRCConnectionSetupComplete_NB_r13_IEs_t
*
rrcConnectionSetupComplete_NB
)
//-----------------------------------------------------------------------------
...
...
@@ -1163,11 +1163,11 @@ void rrc_eNB_process_RRCConnectionSetupComplete_NB_IoT(
if
(
EPC_MODE_ENABLED
==
1
)
{
// Forward message to S1AP layer we don't have S1AP functions for the moment
//
printf("*********************Get into S1AP*********************\n");
//
rrc_eNB_send_S1AP_NAS_FIRST_REQ(
//
ctxt_pP,
//
ue_context_pP,
//
rrcConnectionSetupComplete_NB);
printf
(
"*********************Get into S1AP*********************
\n
"
);
rrc_eNB_send_S1AP_NAS_FIRST_REQ
(
ctxt_pP
,
ue_context_pP
,
rrcConnectionSetupComplete_NB
);
}
else
#endif
...
...
openair2/RRC/LITE/rrc_eNB_S1AP.c
View file @
76865935
...
...
@@ -624,7 +624,7 @@ void
rrc_eNB_send_S1AP_NAS_FIRST_REQ
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
rrc_eNB_ue_context_t
*
const
ue_context_pP
,
RRCConnectionSetupComplete_
r8
_IEs_t
*
rrcConnectionSetupComplete
RRCConnectionSetupComplete_
NB_r13
_IEs_t
*
rrcConnectionSetupComplete
)
//------------------------------------------------------------------------------
{
...
...
@@ -661,8 +661,8 @@ rrc_eNB_send_S1AP_NAS_FIRST_REQ(
S1AP_NAS_FIRST_REQ
(
message_p
).
establishment_cause
=
ue_context_pP
->
ue_context
.
establishment_cause
;
/* Forward NAS message */
S1AP_NAS_FIRST_REQ
(
message_p
).
nas_pdu
.
buffer
=
rrcConnectionSetupComplete
->
dedicatedInfoNAS
.
buf
;
S1AP_NAS_FIRST_REQ
(
message_p
).
nas_pdu
.
length
=
rrcConnectionSetupComplete
->
dedicatedInfoNAS
.
size
;
rrcConnectionSetupComplete
->
dedicatedInfoNAS
_r13
.
buf
;
S1AP_NAS_FIRST_REQ
(
message_p
).
nas_pdu
.
length
=
rrcConnectionSetupComplete
->
dedicatedInfoNAS
_r13
.
size
;
/* Fill UE identities with available information */
{
...
...
@@ -682,9 +682,9 @@ rrc_eNB_send_S1AP_NAS_FIRST_REQ(
ue_context_pP
->
ue_context
.
rnti
);
}
if
(
rrcConnectionSetupComplete
->
registeredMME
!=
NULL
)
{
if
(
rrcConnectionSetupComplete
->
registeredMME
_r13
!=
NULL
)
{
/* Fill GUMMEI */
struct
RegisteredMME
*
r_mme
=
rrcConnectionSetupComplete
->
registeredMME
;
struct
RegisteredMME
*
r_mme
=
rrcConnectionSetupComplete
->
registeredMME
_r13
;
//int selected_plmn_identity = rrcConnectionSetupComplete->selectedPLMN_Identity;
S1AP_NAS_FIRST_REQ
(
message_p
).
ue_identity
.
presenceMask
|=
UE_IDENTITIES_gummei
;
...
...
openair2/RRC/LITE/rrc_eNB_S1AP.h
View file @
76865935
...
...
@@ -128,7 +128,7 @@ void
rrc_eNB_send_S1AP_NAS_FIRST_REQ
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
rrc_eNB_ue_context_t
*
const
ue_context_pP
,
RRCConnectionSetupComplete_
r8
_IEs_t
*
rrcConnectionSetupComplete
RRCConnectionSetupComplete_
NB_r13
_IEs_t
*
rrcConnectionSetupComplete
);
...
...
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