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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
5a4e6e7d
Commit
5a4e6e7d
authored
Nov 14, 2023
by
mir
Committed by
sagar arora
May 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix cmax and memory init
parent
edbc32f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
common/utils/utils.h
common/utils/utils.h
+1
-1
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/prach.c
+1
-1
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+1
-1
No files found.
common/utils/utils.h
View file @
5a4e6e7d
...
...
@@ -25,7 +25,7 @@ extern "C" {
_a > _b ? _a : _b; })
#define cmax3(a,b,c) ( cmax(cmax(a,b), c
max(b,c)
) )
#define cmax3(a,b,c) ( cmax(cmax(a,b), c) )
// Prevent double evaluation in min macro
#define cmin(a,b) ({ __typeof__ (a) _a = (a); \
...
...
openair1/PHY/LTE_TRANSPORT/prach.c
View file @
5a4e6e7d
...
...
@@ -171,7 +171,7 @@ void rx_prach0(PHY_VARS_eNB *eNB,
AssertFatal
(
ru
!=
NULL
,
"ru is null
\n
"
);
int8_t
dBEn0
=
0
;
int16_t
*
prach
[
nb_rx
];
memset
(
prach
,
0
,
nb_rx
*
sizeof
(
int16_t
));
memset
(
prach
,
0
,
nb_rx
*
sizeof
(
int16_t
*
));
for
(
int
aa
=
0
;
aa
<
nb_rx
;
aa
++
)
{
if
(
ru
->
if_south
==
LOCAL_RF
||
ru
->
function
==
NGFI_RAU_IF5
)
{
// set the time-domain signal if we have to use it in this node
...
...
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
5a4e6e7d
...
...
@@ -225,7 +225,7 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
x_im
[
1
]
=
table_5_2_2_2_2_Im
[
u
[
1
]];
c64_t
xr
[
frame_parms
->
nb_antennas_rx
][
pucch_pdu
->
nr_of_symbols
][
12
]
__attribute__
((
aligned
(
32
)));
memset
(
xr
,
0
,
frame_parms
->
nb_antennas_rx
*
pucch_pdu
->
nr_of_symbols
*
12
);
memset
(
xr
,
0
,
frame_parms
->
nb_antennas_rx
*
pucch_pdu
->
nr_of_symbols
*
12
*
sizeof
(
c64_t
)
);
int64_t
xrtmag
=
0
,
xrtmag_next
=
0
;
uint8_t
maxpos
=
0
;
...
...
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