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
7ec149cc
Commit
7ec149cc
authored
Oct 27, 2020
by
Laurent
Browse files
Options
Browse Files
Download
Plain Diff
merge develop
parents
c8111292
97ae4300
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
4 deletions
+22
-4
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+6
-0
openair1/SIMULATION/NR_PHY/prachsim.c
openair1/SIMULATION/NR_PHY/prachsim.c
+6
-0
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+6
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+4
-4
No files found.
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
7ec149cc
...
...
@@ -140,6 +140,12 @@ int generate_dlsch_header(unsigned char *mac_header,
unsigned
char
short_padding
,
unsigned
short
post_padding
){
return
0
;}
// Dummy function to avoid linking error at compilation of nr-dlsim
int
is_x2ap_enabled
(
void
)
{
return
0
;
}
// needed for some functions
openair0_config_t
openair0_cfg
[
MAX_CARDS
];
...
...
openair1/SIMULATION/NR_PHY/prachsim.c
View file @
7ec149cc
...
...
@@ -101,6 +101,12 @@ rrc_gNB_process_GTPV1U_CREATE_TUNNEL_RESP(
int8_t
nr_mac_rrc_data_ind_ue
(
const
module_id_t
module_id
,
const
int
CC_id
,
const
uint8_t
gNB_index
,
const
int8_t
channel
,
const
uint8_t
*
pduP
,
const
sdu_size_t
pdu_len
)
{
return
0
;}
// Dummy function to avoid linking error at compilation of nr-prachsim
int
is_x2ap_enabled
(
void
)
{
return
0
;
}
int
main
(
int
argc
,
char
**
argv
){
char
c
;
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
7ec149cc
...
...
@@ -120,6 +120,12 @@ rrc_gNB_process_GTPV1U_CREATE_TUNNEL_RESP(
return
0
;
}
// Dummy function to avoid linking error at compilation of nr-ulsim
int
is_x2ap_enabled
(
void
)
{
return
0
;
}
// needed for some functions
uint16_t
n_rnti
=
0x1234
;
openair0_config_t
openair0_cfg
[
MAX_CARDS
];
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
7ec149cc
...
...
@@ -319,10 +319,10 @@ void nr_rrc_subframe_process(protocol_ctxt_t *const ctxt_pP, const int CC_id) {
MessageDef
*
msg
;
/* send a tick to x2ap */
if
(
is_x2ap_enabled
())
{
msg
=
itti_alloc_new_message
(
TASK_RRC_ENB
,
X2AP_SUBFRAME_PROCESS
);
itti_send_msg_to_task
(
TASK_X2AP
,
ctxt_pP
->
module_id
,
msg
);
}
if
(
is_x2ap_enabled
())
{
msg
=
itti_alloc_new_message
(
TASK_RRC_ENB
,
X2AP_SUBFRAME_PROCESS
);
itti_send_msg_to_task
(
TASK_X2AP
,
ctxt_pP
->
module_id
,
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