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
lizhongxiao
OpenXG-RAN
Commits
9b138dec
Commit
9b138dec
authored
Aug 14, 2020
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LLR scaling adjustment (log2_maxh computation) for NR ULSCH receiver.
parent
49a14c4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+1
-1
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+2
-0
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
9b138dec
...
@@ -1133,7 +1133,7 @@ int nr_rx_pusch(PHY_VARS_gNB *gNB,
...
@@ -1133,7 +1133,7 @@ int nr_rx_pusch(PHY_VARS_gNB *gNB,
for
(
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
for
(
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
avgs
=
cmax
(
avgs
,
avg
[(
aatx
<<
1
)
+
aarx
]);
avgs
=
cmax
(
avgs
,
avg
[(
aatx
<<
1
)
+
aarx
]);
gNB
->
pusch_vars
[
ulsch_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
1
;
gNB
->
pusch_vars
[
ulsch_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
3
;
gNB
->
pusch_vars
[
ulsch_id
]
->
cl_done
=
1
;
gNB
->
pusch_vars
[
ulsch_id
]
->
cl_done
=
1
;
}
}
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
9b138dec
...
@@ -902,6 +902,8 @@ int main(int argc, char **argv)
...
@@ -902,6 +902,8 @@ int main(int argc, char **argv)
&
gNB
->
pusch_vars
[
0
]
->
ul_ch_estimates_ext
[
0
][(
start_symbol
+
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
],(
nb_symb_sch
-
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
,
1
,
1
);
&
gNB
->
pusch_vars
[
0
]
->
ul_ch_estimates_ext
[
0
][(
start_symbol
+
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
],(
nb_symb_sch
-
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
,
1
,
1
);
LOG_M
(
"rxsigF0_comp.m"
,
"rxsF0_comp"
,
LOG_M
(
"rxsigF0_comp.m"
,
"rxsF0_comp"
,
&
gNB
->
pusch_vars
[
0
]
->
rxdataF_comp
[
0
][(
start_symbol
+
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
],(
nb_symb_sch
-
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
,
1
,
1
);
&
gNB
->
pusch_vars
[
0
]
->
rxdataF_comp
[
0
][(
start_symbol
+
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
],(
nb_symb_sch
-
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
,
1
,
1
);
LOG_M
(
"rxsigF0_llr.m"
,
"rxsF0_llr"
,
&
gNB
->
pusch_vars
[
0
]
->
llr
[
0
],(
nb_symb_sch
-
1
)
*
NR_NB_SC_PER_RB
*
pusch_pdu
->
rb_size
*
mod_order
,
1
,
0
);
}
}
start_meas
(
&
gNB
->
phy_proc_rx
);
start_meas
(
&
gNB
->
phy_proc_rx
);
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
...
...
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