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
32501677
Commit
32501677
authored
Aug 16, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
p_a and p_b depend only on cell-specific antenna ports
parent
94dc901e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
openair1/PHY/INIT/lte_param_init.c
openair1/PHY/INIT/lte_param_init.c
+7
-3
No files found.
openair1/PHY/INIT/lte_param_init.c
View file @
32501677
...
...
@@ -82,7 +82,7 @@ void lte_param_init(unsigned char N_tx_port_eNB,
// frame_parms->Bsrs = 0;
// frame_parms->kTC = 0;44
// frame_parms->n_RRC = 0;
frame_parms
->
mode1_flag
=
(
transmission_mode
==
1
||
transmission_mode
==
7
)
?
1
:
0
;
frame_parms
->
mode1_flag
=
(
N_tx_port_eNB
==
1
)
;
init_frame_parms
(
frame_parms
,
osf
);
...
...
@@ -115,17 +115,21 @@ void lte_param_init(unsigned char N_tx_port_eNB,
// DL power control init
//if (transmission_mode == 1) {
if
(
transmission_mode
==
1
||
transmission_mode
==
7
)
{
if
(
N_tx_port_eNB
==
1
)
{
eNB
->
pdsch_config_dedicated
->
p_a
=
dB0
;
// 4 = 0dB
((
eNB
->
frame_parms
).
pdsch_config_common
).
p_b
=
0
;
UE
->
pdsch_config_dedicated
->
p_a
=
dB0
;
// 4 = 0dB
((
UE
->
frame_parms
).
pdsch_config_common
).
p_b
=
0
;
}
else
{
// rho_a = rhob
}
else
if
(
N_tx_port_eNB
==
2
)
{
// rho_a = rhob
eNB
->
pdsch_config_dedicated
->
p_a
=
dBm3
;
// 4 = 0dB
((
eNB
->
frame_parms
).
pdsch_config_common
).
p_b
=
1
;
UE
->
pdsch_config_dedicated
->
p_a
=
dBm3
;
// 4 = 0dB
((
UE
->
frame_parms
).
pdsch_config_common
).
p_b
=
1
;
}
else
{
LOG_E
(
PHY
,
"only 1 or 2 cell specific antenna ports supported!
\n
"
);
exit
(
-
1
);
}
UE
->
perfect_ce
=
perfect_ce
;
...
...
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