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
spbro
OpenXG-RAN
Commits
84568102
Commit
84568102
authored
Jul 19, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/fix-7.2-mem-leak' into integration_2024_w29
parents
95fe106a
3dd0d459
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
executables/nr-gnb.c
executables/nr-gnb.c
+2
-0
executables/nr-ru.c
executables/nr-ru.c
+5
-2
radio/fhi_72/CMakeLists.txt
radio/fhi_72/CMakeLists.txt
+3
-0
No files found.
executables/nr-gnb.c
View file @
84568102
...
...
@@ -266,6 +266,7 @@ static void rx_func(processingData_L1_t *info)
gNB
->
if_inst
->
NR_UL_indication
(
&
gNB
->
UL_INFO
);
stop_meas
(
&
gNB
->
ul_indication_stats
);
#ifndef OAI_FHI72
notifiedFIFO_elt_t
*
res
=
newNotifiedFIFO_elt
(
sizeof
(
processingData_L1_t
),
0
,
&
gNB
->
L1_rx_out
,
NULL
);
processingData_L1_t
*
syncMsg
=
NotifiedFifoData
(
res
);
syncMsg
->
gNB
=
gNB
;
...
...
@@ -274,6 +275,7 @@ static void rx_func(processingData_L1_t *info)
res
->
key
=
slot_rx
;
LOG_D
(
NR_PHY
,
"Signaling completion for %d.%d (mod_slot %d) on L1_rx_out
\n
"
,
frame_rx
,
slot_rx
,
slot_rx
%
RU_RX_SLOT_DEPTH
);
pushNotifiedFIFO
(
&
gNB
->
L1_rx_out
,
res
);
#endif
}
stop_meas
(
&
softmodem_stats_rxtx_sf
);
...
...
executables/nr-ru.c
View file @
84568102
...
...
@@ -1146,8 +1146,9 @@ void *ru_thread( void *param ) {
int
initial_wait
=
0
;
int
opp_enabled0
=
opp_enabled
;
#ifndef OAI_FHI72
bool
rx_tti_busy
[
RU_RX_SLOT_DEPTH
]
=
{
false
};
nfapi_nr_config_request_scf_t
*
cfg
=
&
ru
->
config
;
#endif
// set default return value
ru_thread_status
=
0
;
// set default return value
...
...
@@ -1319,8 +1320,9 @@ void *ru_thread( void *param ) {
if
(
ru
->
idx
!=
0
)
proc
->
frame_tx
=
(
proc
->
frame_tx
+
proc
->
frame_offset
)
&
1023
;
#ifndef OAI_FHI72
// do RX front-end processing (frequency-shift, dft) if needed
int
slot_type
=
nr_slot_select
(
cf
g
,
proc
->
frame_rx
,
proc
->
tti_rx
);
int
slot_type
=
nr_slot_select
(
&
ru
->
confi
g
,
proc
->
frame_rx
,
proc
->
tti_rx
);
if
(
slot_type
==
NR_UPLINK_SLOT
||
slot_type
==
NR_MIXED_SLOT
)
{
if
(
ru
->
feprx
)
{
if
(
rx_tti_busy
[
proc
->
tti_rx
%
RU_RX_SLOT_DEPTH
])
{
...
...
@@ -1393,6 +1395,7 @@ void *ru_thread( void *param ) {
memset
(
&
ru
->
rt_ru_profiling
.
return_RU_prachrx
[
rt_prof_idx
],
0
,
sizeof
(
struct
timespec
));
}
}
// end if (slot_type == NR_UPLINK_SLOT || slot_type == NR_MIXED_SLOT) {
#endif
notifiedFIFO_elt_t
*
resTx
=
newNotifiedFIFO_elt
(
sizeof
(
processingData_L1tx_t
),
0
,
&
gNB
->
L1_tx_out
,
NULL
);
processingData_L1tx_t
*
syncMsgTx
=
NotifiedFifoData
(
resTx
);
...
...
radio/fhi_72/CMakeLists.txt
View file @
84568102
...
...
@@ -36,3 +36,6 @@ set_target_properties(oran_fhlib_5g PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_
add_custom_command
(
TARGET oran_fhlib_5g POST_BUILD
COMMAND
${
CMAKE_COMMAND
}
-E create_symlink liboran_fhlib_5g.so liboai_transpro.so
WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
message
(
STATUS
"Temporary added -DOAI_FHI72"
)
target_compile_definitions
(
nr-softmodem PUBLIC OAI_FHI72
)
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