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
8e00f8df
Commit
8e00f8df
authored
Dec 17, 2019
by
Khalid Ahmed
Committed by
Thomas Schlichter
Dec 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a bug in number of UL DMRS symbol computation
parent
2dd941a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
+3
-3
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+8
-4
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
View file @
8e00f8df
...
...
@@ -123,7 +123,9 @@ void nr_ue_ulsch_procedures(PHY_VARS_NR_UE *UE,
ulsch_ue
=
UE
->
ulsch
[
thread_id
][
gNB_id
][
cwd_index
];
harq_process_ul_ue
=
ulsch_ue
->
harq_processes
[
harq_pid
];
for
(
i
=
0
;
i
<
NR_SYMBOLS_PER_SLOT
;
i
++
)
start_symbol
=
harq_process_ul_ue
->
start_symbol
;
for
(
i
=
start_symbol
;
i
<
start_symbol
+
harq_process_ul_ue
->
number_of_symbols
;
i
++
)
number_dmrs_symbols
+=
is_dmrs_symbol
(
i
,
0
,
0
,
...
...
@@ -219,8 +221,6 @@ void nr_ue_ulsch_procedures(PHY_VARS_NR_UE *UE,
}
start_symbol
=
14
-
harq_process_ul_ue
->
number_of_symbols
;
/////////////////////////DMRS Modulation/////////////////////////
///////////
pusch_dmrs
=
UE
->
nr_gold_pusch_dmrs
[
slot
];
...
...
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
8e00f8df
...
...
@@ -229,18 +229,22 @@ void nr_ulsch_procedures(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx, int UE_id
uint8_t
mapping_type
;
uint32_t
G
;
int
Nid_cell
=
0
;
// [hna] shouldn't be a local variable (should be signaled)
uint16_t
start_symbol
,
number_symbols
;
mapping_type
=
gNB
->
pusch_config
.
pusch_TimeDomainResourceAllocation
[
0
]
->
mappingType
;
gNB
->
ulsch
[
UE_id
][
0
]
->
harq_processes
[
harq_pid
]
->
nb_re_dmrs
=
0
;
for
(
l
=
0
;
l
<
NR_SYMBOLS_PER_SLOT
;
l
++
)
start_symbol
=
nfapi_ulsch_pdu_rel15
->
start_symbol
;
number_symbols
=
nfapi_ulsch_pdu_rel15
->
number_symbols
;
for
(
l
=
start_symbol
;
l
<
start_symbol
+
number_symbols
;
l
++
)
number_dmrs_symbols
+=
is_dmrs_symbol
(
l
,
0
,
0
,
0
,
0
,
0
,
n
fapi_ulsch_pdu_rel15
->
n
umber_symbols
,
number_symbols
,
&
gNB
->
dmrs_UplinkConfig
,
mapping_type
,
frame_parms
->
ofdm_symbol_size
);
...
...
@@ -248,7 +252,7 @@ void nr_ulsch_procedures(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx, int UE_id
gNB
->
ulsch
[
UE_id
][
0
]
->
harq_processes
[
harq_pid
]
->
nb_re_dmrs
=
((
gNB
->
dmrs_UplinkConfig
.
pusch_dmrs_type
==
pusch_dmrs_type1
)
?
6
:
4
)
*
number_dmrs_symbols
;
G
=
nr_get_G
(
nfapi_ulsch_pdu_rel15
->
number_rbs
,
n
fapi_ulsch_pdu_rel15
->
n
umber_symbols
,
number_symbols
,
gNB
->
ulsch
[
UE_id
][
0
]
->
harq_processes
[
harq_pid
]
->
nb_re_dmrs
,
nfapi_ulsch_pdu_rel15
->
length_dmrs
,
nfapi_ulsch_pdu_rel15
->
Qm
,
...
...
@@ -274,7 +278,7 @@ void nr_ulsch_procedures(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx, int UE_id
gNB
->
pusch_vars
[
UE_id
]
->
llr
,
frame_parms
,
frame_rx
,
n
fapi_ulsch_pdu_rel15
->
n
umber_symbols
,
number_symbols
,
slot_rx
,
harq_pid
,
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