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
zzha zzha
OpenXG-RAN
Commits
c4c1daeb
Commit
c4c1daeb
authored
Dec 20, 2023
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving init of NRUE threads to nr-uesoftmodem.c
parent
b476d839
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
24 deletions
+24
-24
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+22
-0
executables/nr-uesoftmodem.h
executables/nr-uesoftmodem.h
+1
-1
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+0
-22
openair2/RRC/NR_UE/rrc_proto.h
openair2/RRC/NR_UE/rrc_proto.h
+1
-1
No files found.
executables/nr-uesoftmodem.c
View file @
c4c1daeb
...
@@ -425,6 +425,28 @@ static void get_channel_model_mode(configmodule_interface_t *cfg)
...
@@ -425,6 +425,28 @@ static void get_channel_model_mode(configmodule_interface_t *cfg)
init_bler_table
(
"NR_AWGN_RESULTS_DIR"
);
init_bler_table
(
"NR_AWGN_RESULTS_DIR"
);
}
}
void
start_oai_nrue_threads
()
{
init_queue
(
&
nr_rach_ind_queue
);
init_queue
(
&
nr_rx_ind_queue
);
init_queue
(
&
nr_crc_ind_queue
);
init_queue
(
&
nr_uci_ind_queue
);
init_queue
(
&
nr_sfn_slot_queue
);
init_queue
(
&
nr_chan_param_queue
);
init_queue
(
&
nr_dl_tti_req_queue
);
init_queue
(
&
nr_tx_req_queue
);
init_queue
(
&
nr_ul_dci_req_queue
);
init_queue
(
&
nr_ul_tti_req_queue
);
if
(
sem_init
(
&
sfn_slot_semaphore
,
0
,
0
)
!=
0
)
{
LOG_E
(
MAC
,
"sem_init() error
\n
"
);
abort
();
}
init_nrUE_standalone_thread
(
ue_id_g
);
}
int
NB_UE_INST
=
1
;
int
NB_UE_INST
=
1
;
configmodule_interface_t
*
uniqCfg
=
NULL
;
configmodule_interface_t
*
uniqCfg
=
NULL
;
...
...
executables/nr-uesoftmodem.h
View file @
c4c1daeb
...
@@ -97,7 +97,7 @@ extern void init_NR_UE(int, char *, char *, char *);
...
@@ -97,7 +97,7 @@ extern void init_NR_UE(int, char *, char *, char *);
extern
void
init_NR_UE_threads
(
int
);
extern
void
init_NR_UE_threads
(
int
);
extern
void
reset_opp_meas
(
void
);
extern
void
reset_opp_meas
(
void
);
extern
void
print_opp_meas
(
void
);
extern
void
print_opp_meas
(
void
);
extern
void
start_oai_nrue_threads
(
void
);
void
start_oai_nrue_threads
(
void
);
void
*
UE_thread
(
void
*
arg
);
void
*
UE_thread
(
void
*
arg
);
void
init_nr_ue_vars
(
PHY_VARS_NR_UE
*
ue
,
uint8_t
UE_id
,
uint8_t
abstraction_flag
);
void
init_nr_ue_vars
(
PHY_VARS_NR_UE
*
ue
,
uint8_t
UE_id
,
uint8_t
abstraction_flag
);
void
init_nrUE_standalone_thread
(
int
ue_idx
);
void
init_nrUE_standalone_thread
(
int
ue_idx
);
...
...
openair2/RRC/NR_UE/rrc_UE.c
View file @
c4c1daeb
...
@@ -1656,28 +1656,6 @@ void *recv_msgs_from_lte_ue(void *args_p)
...
@@ -1656,28 +1656,6 @@ void *recv_msgs_from_lte_ue(void *args_p)
return
NULL
;
return
NULL
;
}
}
void
start_oai_nrue_threads
()
{
init_queue
(
&
nr_rach_ind_queue
);
init_queue
(
&
nr_rx_ind_queue
);
init_queue
(
&
nr_crc_ind_queue
);
init_queue
(
&
nr_uci_ind_queue
);
init_queue
(
&
nr_sfn_slot_queue
);
init_queue
(
&
nr_chan_param_queue
);
init_queue
(
&
nr_dl_tti_req_queue
);
init_queue
(
&
nr_tx_req_queue
);
init_queue
(
&
nr_ul_dci_req_queue
);
init_queue
(
&
nr_ul_tti_req_queue
);
if
(
sem_init
(
&
sfn_slot_semaphore
,
0
,
0
)
!=
0
)
{
LOG_E
(
MAC
,
"sem_init() error
\n
"
);
abort
();
}
extern
uint16_t
ue_id_g
;
init_nrUE_standalone_thread
(
ue_id_g
);
}
static
void
nsa_rrc_ue_process_ueCapabilityEnquiry
(
void
)
static
void
nsa_rrc_ue_process_ueCapabilityEnquiry
(
void
)
{
{
NR_UE_NR_Capability_t
*
UE_Capability_nr
=
NR_UE_rrc_inst
[
0
].
UECap
.
UE_NR_Capability
=
CALLOC
(
1
,
sizeof
(
NR_UE_NR_Capability_t
));
NR_UE_NR_Capability_t
*
UE_Capability_nr
=
NR_UE_rrc_inst
[
0
].
UECap
.
UE_NR_Capability
=
CALLOC
(
1
,
sizeof
(
NR_UE_NR_Capability_t
));
...
...
openair2/RRC/NR_UE/rrc_proto.h
View file @
c4c1daeb
...
@@ -110,7 +110,7 @@ void init_connections_with_lte_ue(void);
...
@@ -110,7 +110,7 @@ void init_connections_with_lte_ue(void);
void
nsa_sendmsg_to_lte_ue
(
const
void
*
message
,
size_t
msg_len
,
Rrc_Msg_Type_t
msg_type
);
void
nsa_sendmsg_to_lte_ue
(
const
void
*
message
,
size_t
msg_len
,
Rrc_Msg_Type_t
msg_type
);
void
start_oai_nrue_threads
(
void
);
extern
void
start_oai_nrue_threads
(
void
);
int
get_from_lte_ue_fd
();
int
get_from_lte_ue_fd
();
...
...
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