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
Michael Black
OpenXG-RAN
Commits
e6a2ffb4
Commit
e6a2ffb4
authored
Feb 20, 2022
by
Raymond Knopp
Committed by
Robert Schmidt
Dec 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimization of symbols with CRS in TM2
parent
f7c3874e
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
461 additions
and
69 deletions
+461
-69
openair1/PHY/INIT/lte_init.c
openair1/PHY/INIT/lte_init.c
+2
-0
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+445
-65
openair1/PHY/LTE_TRANSPORT/power_control.c
openair1/PHY/LTE_TRANSPORT/power_control.c
+8
-4
openair1/PHY/LTE_TRANSPORT/transport_eNB.h
openair1/PHY/LTE_TRANSPORT/transport_eNB.h
+4
-0
openair1/PHY/LTE_TRANSPORT/transport_proto.h
openair1/PHY/LTE_TRANSPORT/transport_proto.h
+2
-0
No files found.
openair1/PHY/INIT/lte_init.c
View file @
e6a2ffb4
...
...
@@ -535,6 +535,8 @@ int phy_init_lte_eNB(PHY_VARS_eNB *eNB,
}
eNB
->
pdsch_config_dedicated
->
p_a
=
dB0
;
//defaul value until overwritten by RRCConnectionReconfiguration
init_modulation_LUTs
();
return
(
0
);
}
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
e6a2ffb4
This diff is collapsed.
Click to expand it.
openair1/PHY/LTE_TRANSPORT/power_control.c
View file @
e6a2ffb4
...
...
@@ -56,8 +56,10 @@ double computeRhoA_eNB(uint8_t pa,
sqrt_rho_a_lin
=
pow
(
10
,(
0
.
05
*
rho_a_dB
));
if
(
dlsch_eNB
)
{
dlsch_eNB
->
sqrt_rho_a
=
(
short
)
(
sqrt_rho_a_lin
*
pow
(
2
,
13
));
dlsch_eNB
->
pa
=
pa
;
}
#if DEBUG_PC
printf
(
"eNB: p_a=%d, value=%f, sqrt_rho_a=%d
\n
"
,
p_a
,
pa_values
[
pdsch_config_dedicated
->
p_a
],
dlsch_eNB
->
sqrt_rho_a
);
#endif
...
...
@@ -86,8 +88,10 @@ double computeRhoB_eNB(uint8_t pa,
sqrt_rho_b_lin
=
pow
(
10
,(
0
.
05
*
rho_b_dB
));
if
(
dlsch_eNB
)
{
dlsch_eNB
->
sqrt_rho_b
=
(
short
)
(
sqrt_rho_b_lin
*
pow
(
2
,
13
));
dlsch_eNB
->
pb
=
pb
;
}
#ifdef DEBUG_PC
printf
(
"eNB: n_ant=%d, p_b=%d -> rho_b/rho_a=%f -> sqrt_rho_b=%d
\n
"
,
n_antenna_port
,
pb
,
ratioPB
[
1
][
pb
],
dlsch_eNB
->
sqrt_rho_b
);
#endif
...
...
openair1/PHY/LTE_TRANSPORT/transport_eNB.h
View file @
e6a2ffb4
...
...
@@ -178,6 +178,10 @@ typedef struct {
uint8_t
Kmimo
;
/// Nsoft parameter related to UE Category
uint32_t
Nsoft
;
/// current pa value
int
pa
;
/// current pb value
int
pb
;
/// amplitude of PDSCH (compared to RS) in symbols without pilots
int16_t
sqrt_rho_a
;
/// amplitude of PDSCH (compared to RS) in symbols containing pilots
...
...
openair1/PHY/LTE_TRANSPORT/transport_proto.h
View file @
e6a2ffb4
...
...
@@ -222,6 +222,8 @@ int32_t dlsch_encoding_2threads(PHY_VARS_eNB *eNB,
\param frame_parms Frame parameter descriptor
*/
void
init_modulation_LUTs
(
void
);
int32_t
allocate_REs_in_RB
(
PHY_VARS_eNB
*
phy_vars_eNB
,
int32_t
**
txdataF
,
uint32_t
*
jj
,
...
...
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