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
lizhongxiao
OpenXG-RAN
Commits
2ee00314
Commit
2ee00314
authored
Feb 05, 2024
by
SreeshmaShiv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding inst access from rrc
parent
9f092d00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+6
-1
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
2ee00314
...
@@ -100,6 +100,8 @@
...
@@ -100,6 +100,8 @@
#include "cucp_cuup_if.h"
#include "cucp_cuup_if.h"
#include "BIT_STRING.h"
#include "BIT_STRING.h"
#include "assertions.h"
#include "assertions.h"
#include <openair2/XNAP/xnap_gNB_management_procedures.h>
#include <openair2/XNAP/xnap_gNB_defs.h>
//#define XER_PRINT
//#define XER_PRINT
...
@@ -2198,8 +2200,11 @@ void rrc_gNB_process_xn_setup_request(sctp_assoc_t assoc_id, xnap_setup_req_t *m
...
@@ -2198,8 +2200,11 @@ void rrc_gNB_process_xn_setup_request(sctp_assoc_t assoc_id, xnap_setup_req_t *m
MessageDef
*
msg
=
itti_alloc_new_message
(
TASK_RRC_GNB
,
0
,
XNAP_SETUP_RESP
);
MessageDef
*
msg
=
itti_alloc_new_message
(
TASK_RRC_GNB
,
0
,
XNAP_SETUP_RESP
);
msg
->
ittiMsgHeader
.
originInstance
=
assoc_id
;
msg
->
ittiMsgHeader
.
originInstance
=
assoc_id
;
xnap_setup_resp_t
*
xnap_msg
=
&
XNAP_SETUP_RESP
(
msg
);
xnap_setup_resp_t
*
xnap_msg
=
&
XNAP_SETUP_RESP
(
msg
);
xnap_gNB_instance_t
*
instance_xn
;
instance_t
instance
=
0
;
instance_xn
=
xnap_get_gNB
(
instance
,
assoc_id
);
//TODO:Hardcoded instance.
xnap_msg
->
gNB_id
=
m
->
gNB_id
;
xnap_msg
->
gNB_id
=
m
->
gNB_id
;
xnap_msg
->
info
=
m
->
info
;
//add all required
xnap_msg
->
info
=
instance_xn
->
setup_req
.
info
;
//add all required
itti_send_msg_to_task
(
TASK_XNAP
,
0
,
msg
);
itti_send_msg_to_task
(
TASK_XNAP
,
0
,
msg
);
}
}
...
...
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