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
282f56fb
Commit
282f56fb
authored
Nov 08, 2019
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing some bugs nr_ulsim
parent
b4b1998c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+1
-0
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+4
-4
No files found.
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
282f56fb
...
@@ -148,6 +148,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response)
...
@@ -148,6 +148,7 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response)
ulsch0
->
harq_processes
[
current_harq_pid
]
->
DCINdi
=
pusch_config_pdu
->
ndi
;
ulsch0
->
harq_processes
[
current_harq_pid
]
->
DCINdi
=
pusch_config_pdu
->
ndi
;
ulsch0
->
harq_processes
[
current_harq_pid
]
->
rvidx
=
pusch_config_pdu
->
rv
;
ulsch0
->
harq_processes
[
current_harq_pid
]
->
rvidx
=
pusch_config_pdu
->
rv
;
ulsch0
->
harq_processes
[
current_harq_pid
]
->
Nl
=
pusch_config_pdu
->
n_layers
;
ulsch0
->
harq_processes
[
current_harq_pid
]
->
Nl
=
pusch_config_pdu
->
n_layers
;
ulsch0
->
harq_processes
[
current_harq_pid
]
->
R
=
nr_get_code_rate_ul
(
pusch_config_pdu
->
mcs_index
,
pusch_config_pdu
->
mcs_table
);
ulsch0
->
f_pusch
=
pusch_config_pdu
->
absolute_delta_PUSCH
;
ulsch0
->
f_pusch
=
pusch_config_pdu
->
absolute_delta_PUSCH
;
}
}
if
(
ul_config
->
ul_config_list
[
i
].
pdu_type
==
FAPI_NR_UL_CONFIG_TYPE_PUCCH
){
if
(
ul_config
->
ul_config_list
[
i
].
pdu_type
==
FAPI_NR_UL_CONFIG_TYPE_PUCCH
){
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
282f56fb
...
@@ -515,8 +515,8 @@ int main(int argc, char **argv)
...
@@ -515,8 +515,8 @@ int main(int argc, char **argv)
pusch_pdu
->
rnti
=
n_rnti
;
pusch_pdu
->
rnti
=
n_rnti
;
pusch_pdu
->
mcs_index
=
Imcs
;
pusch_pdu
->
mcs_index
=
Imcs
;
pusch_pdu
->
mcs_table
=
0
;
pusch_pdu
->
mcs_table
=
0
;
pusch_pdu
->
target_code_rate
=
nr_get_code_rate_ul
(
pusch_pdu
->
mcs_index
,
pusch_pdu
->
mcs_table
+
1
);
pusch_pdu
->
target_code_rate
=
nr_get_code_rate_ul
(
pusch_pdu
->
mcs_index
,
pusch_pdu
->
mcs_table
);
pusch_pdu
->
qam_mod_order
=
nr_get_Qm_ul
(
pusch_pdu
->
mcs_index
,
pusch_pdu
->
mcs_table
+
1
)
;
pusch_pdu
->
qam_mod_order
=
nr_get_Qm_ul
(
pusch_pdu
->
mcs_index
,
pusch_pdu
->
mcs_table
)
;
pusch_pdu
->
transform_precoding
=
0
;
pusch_pdu
->
transform_precoding
=
0
;
pusch_pdu
->
data_scrambling_id
=
0
;
pusch_pdu
->
data_scrambling_id
=
0
;
pusch_pdu
->
nrOfLayers
=
1
;
pusch_pdu
->
nrOfLayers
=
1
;
...
@@ -539,8 +539,8 @@ int main(int argc, char **argv)
...
@@ -539,8 +539,8 @@ int main(int argc, char **argv)
pusch_pdu
->
target_code_rate
,
pusch_pdu
->
target_code_rate
,
pusch_pdu
->
rb_size
,
pusch_pdu
->
rb_size
,
pusch_pdu
->
nr_of_symbols
,
pusch_pdu
->
nr_of_symbols
,
nb_re_dmrs
,
nb_re_dmrs
*
length_dmrs
,
length_dmrs
,
0
,
pusch_pdu
->
nrOfLayers
=
1
);
pusch_pdu
->
nrOfLayers
=
1
);
pusch_pdu
->
pusch_data
.
num_cb
=
0
;
pusch_pdu
->
pusch_data
.
num_cb
=
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