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
54d5676c
Commit
54d5676c
authored
Jul 03, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize variables to NULL/0 in nr_dlschsim, pucchsim, nr_ulschsim
parent
5aed7d30
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
openair1/SIMULATION/NR_PHY/dlschsim.c
openair1/SIMULATION/NR_PHY/dlschsim.c
+1
-1
openair1/SIMULATION/NR_PHY/pucchsim.c
openair1/SIMULATION/NR_PHY/pucchsim.c
+1
-1
openair1/SIMULATION/NR_PHY/ulschsim.c
openair1/SIMULATION/NR_PHY/ulschsim.c
+1
-1
No files found.
openair1/SIMULATION/NR_PHY/dlschsim.c
View file @
54d5676c
...
...
@@ -412,7 +412,7 @@ int main(int argc, char **argv)
}
//configure UE
UE
=
malloc
(
sizeof
(
PHY_VARS_NR_
UE
));
UE
=
calloc
(
1
,
sizeof
(
*
UE
));
memcpy
(
&
UE
->
frame_parms
,
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
//phy_init_nr_top(frame_parms);
...
...
openair1/SIMULATION/NR_PHY/pucchsim.c
View file @
54d5676c
...
...
@@ -123,7 +123,7 @@ int main(int argc, char **argv)
int16_t
amp
=
0x7FFF
;
int
nr_slot_tx
=
0
;
int
nr_frame_tx
=
0
;
uint64_t
actual_payload
=
0
,
payload_received
;
uint64_t
actual_payload
=
0
,
payload_received
=
0
;
bool
random_payload
=
true
;
int
nr_bit
=
1
;
// maximum value possible is 2
uint8_t
m0
=
0
;
// higher layer paramater initial cyclic shift
...
...
openair1/SIMULATION/NR_PHY/ulschsim.c
View file @
54d5676c
...
...
@@ -428,7 +428,7 @@ int main(int argc, char **argv)
phy_init_nr_gNB
(
gNB
);
//configure UE
UE
=
malloc
(
sizeof
(
PHY_VARS_NR_
UE
));
UE
=
calloc
(
1
,
sizeof
(
*
UE
));
memcpy
(
&
UE
->
frame_parms
,
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
UE
->
frame_parms
.
nb_antennas_tx
=
n_tx
;
...
...
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