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
ZhouShuya
OpenXG-RAN
Commits
5aec9ab5
Commit
5aec9ab5
authored
Aug 30, 2019
by
Bo Zhao
Committed by
cig
Feb 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solve the uninitialized conditional jump and invalid read/write errors from the valgrind log
parent
7ea60872
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+2
-0
openair1/SIMULATION/NR_PHY/prachsim.c
openair1/SIMULATION/NR_PHY/prachsim.c
+2
-2
No files found.
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
5aec9ab5
...
...
@@ -2412,6 +2412,8 @@ void nr_ue_prach_procedures(PHY_VARS_NR_UE *ue,UE_nr_rxtx_proc_t *proc,uint8_t e
ue
->
prach_resources
[
eNB_id
]
=
&
prach_resources
;
ue
->
prach_resources
[
eNB_id
]
->
ra_PreambleIndex
=
preamble_tx
;
ue
->
prach_resources
[
eNB_id
]
->
ra_TDD_map_index
=
0
;
ue
->
prach_resources
[
eNB_id
]
->
ra_PREAMBLE_RECEIVED_TARGET_POWER
=
10
;
ue
->
prach_resources
[
eNB_id
]
->
ra_RNTI
=
93
;
}
if
(
ue
->
mac_enabled
==
1
){
...
...
openair1/SIMULATION/NR_PHY/prachsim.c
View file @
5aec9ab5
...
...
@@ -101,7 +101,7 @@ int main(int argc, char **argv)
uint8_t
hs_flag
=
0
;
int
n_frames
=
1
;
channel_desc_t
*
UE2gNB
;
uint32_t
nsymb
,
tx_lev
;
//,tx_lev_dB;
uint32_t
nsymb
,
tx_lev
=
10000
;
//,tx_lev_dB;
// int8_t interf1=-19,interf2=-19;
NR_DL_FRAME_PARMS
*
frame_parms
;
...
...
@@ -613,7 +613,7 @@ int main(int argc, char **argv)
LOG_M
(
"prach0.m"
,
"prach0"
,
&
txdata
[
0
][
subframe
*
frame_parms
->
samples_per_slot
<<
1
],
frame_parms
->
samples_per_slot
<<
1
,
1
,
1
);
LOG_M
(
"prachF0.m"
,
"prachF0"
,
&
gNB
->
prach_vars
.
prachF
[
0
],
24576
,
1
,
1
);
LOG_M
(
"prachF0.m"
,
"prachF0"
,
&
gNB
->
prach_vars
.
prachF
[
0
],
1024
,
1
,
1
);
LOG_M
(
"rxsig0.m"
,
"rxs0"
,
&
gNB
->
common_vars
.
rxdata
[
0
][
subframe
*
frame_parms
->
samples_per_slot
<<
1
],
frame_parms
->
samples_per_slot
<<
1
,
1
,
1
);
...
...
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