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
canghaiwuhen
OpenXG-RAN
Commits
dd838610
Commit
dd838610
authored
Jan 12, 2020
by
Sravan Chintareddy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nr_dlsim fixes
parent
60e6c600
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+7
-3
No files found.
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
dd838610
...
@@ -172,7 +172,7 @@ int main(int argc, char **argv)
...
@@ -172,7 +172,7 @@ int main(int argc, char **argv)
dlsch_config
.
nb_symbols
=
9
;
dlsch_config
.
nb_symbols
=
9
;
dlsch_config
.
mcs_idx
=
9
;
dlsch_config
.
mcs_idx
=
9
;
uint16_t
ssb_periodicity
=
1
0
;
uint16_t
ssb_periodicity
=
2
0
;
//unsigned char frame_type = 0;
//unsigned char frame_type = 0;
unsigned
char
pbch_phase
=
0
;
unsigned
char
pbch_phase
=
0
;
...
@@ -560,8 +560,12 @@ int main(int argc, char **argv)
...
@@ -560,8 +560,12 @@ int main(int argc, char **argv)
mac_top_init_gNB
();
mac_top_init_gNB
();
gNB_mac
=
RC
.
nrmac
[
0
];
gNB_mac
=
RC
.
nrmac
[
0
];
config_common
(
0
,
0
,
Nid_cell
,
78
,
SSB_positions
,
ssb_periodicity
,(
uint64_t
)
3640000000L
,
N_RB_DL
);
//config_common(0,0,Nid_cell,78,SSB_positions,ssb_periodicity,(uint64_t)3640000000L,N_RB_DL);
config_nr_mib
(
0
,
0
,
1
,
kHz30
,
0
,
0
,
0
,
0
,
0
);
config_common
(
0
,
0
,
Nid_cell
,
257
,
SSB_positions
,
ssb_periodicity
,(
uint64_t
)
28100000000L
,
N_RB_DL
);
//config_nr_mib(0,0,1,kHz30,0,0,0,0,0);
config_nr_mib
(
0
,
0
,
1
,
kHz120
,
0
,
0
,
0
,
0
,
0
);
nr_l2_init_ue
();
nr_l2_init_ue
();
UE_mac
=
get_mac_inst
(
0
);
UE_mac
=
get_mac_inst
(
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