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
21e67cab
Commit
21e67cab
authored
Oct 21, 2019
by
masayuki.harada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pa problem in TM3.
parent
24062296
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+4
-4
openair1/PHY/LTE_TRANSPORT/power_control.c
openair1/PHY/LTE_TRANSPORT/power_control.c
+3
-0
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
21e67cab
...
@@ -1339,10 +1339,10 @@ int allocate_REs_in_RB(PHY_VARS_eNB* phy_vars_eNB,
...
@@ -1339,10 +1339,10 @@ int allocate_REs_in_RB(PHY_VARS_eNB* phy_vars_eNB,
//| y1 | = .5 | 0 1 || 0 (-1)^i || 1 -1 || x1 | = .5| (-1)^i(x0 - x1)|
//| y1 | = .5 | 0 1 || 0 (-1)^i || 1 -1 || x1 | = .5| (-1)^i(x0 - x1)|
// - - - - - - - - - - -
// - - - - - - - - - - -
// Note: Factor .5 is accounted for in amplitude when calling this function
// Note: Factor .5 is accounted for in amplitude when calling this function
((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
0
]
+=
((
xx0_re
+
xx1_re
)
>>
1
);
((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
0
]
+=
((
xx0_re
+
xx1_re
));
((
int16_t
*
)
&
txdataF
[
1
][
tti_offset
])[
0
]
+=
(
s
*
((
xx0_re
-
xx1_re
)
>>
1
));
((
int16_t
*
)
&
txdataF
[
1
][
tti_offset
])[
0
]
+=
(
s
*
((
xx0_re
-
xx1_re
)));
((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
1
]
+=
((
xx0_im
+
xx1_im
)
>>
1
);
((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
1
]
+=
((
xx0_im
+
xx1_im
));
((
int16_t
*
)
&
txdataF
[
1
][
tti_offset
])[
1
]
+=
(
s
*
((
xx0_im
-
xx1_im
)
>>
1
));
((
int16_t
*
)
&
txdataF
[
1
][
tti_offset
])[
1
]
+=
(
s
*
((
xx0_im
-
xx1_im
)));
/*
/*
LOG_I(PHY,"CDD: xx0 (%d,%d), xx1(%d,%d), s(%d), txF[0] (%d,%d), txF[1] (%d,%d)\n",
LOG_I(PHY,"CDD: xx0 (%d,%d), xx1(%d,%d), s(%d), txF[0] (%d,%d), txF[1] (%d,%d)\n",
xx0_re,xx0_im,xx1_re,xx1_im, s, ((int16_t *)&txdataF[0][tti_offset])[0],((int16_t *)&txdataF[0][tti_offset])[1],
xx0_re,xx0_im,xx1_re,xx1_im, s, ((int16_t *)&txdataF[0][tti_offset])[0],((int16_t *)&txdataF[0][tti_offset])[1],
...
...
openair1/PHY/LTE_TRANSPORT/power_control.c
View file @
21e67cab
...
@@ -52,6 +52,9 @@ double computeRhoA_eNB(uint8_t pa,
...
@@ -52,6 +52,9 @@ double computeRhoA_eNB(uint8_t pa,
if
(
!
dl_power_off
)
//if dl_power_offset is 0, this is for MU-interference, TM5
if
(
!
dl_power_off
)
//if dl_power_offset is 0, this is for MU-interference, TM5
rho_a_dB
-=
10
*
log10
(
2
);
rho_a_dB
-=
10
*
log10
(
2
);
if
(
n_antenna_port
==
2
)
rho_a_dB
-=
10
*
log10
(
2
);
if
(
n_antenna_port
==
4
)
// see TS 36.213 Section 5.2
if
(
n_antenna_port
==
4
)
// see TS 36.213 Section 5.2
rho_a_dB
+=
10
*
log10
(
2
);
rho_a_dB
+=
10
*
log10
(
2
);
...
...
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