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
zzha zzha
OpenXG-RAN
Commits
79c8d0e0
Commit
79c8d0e0
authored
Mar 10, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates for IF4p5 to handle >1 nb_rx/nb_tx. Tested with 2x2
parent
49bb8b4c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
136 additions
and
118 deletions
+136
-118
openair1/PHY/INIT/lte_init_ru.c
openair1/PHY/INIT/lte_init_ru.c
+2
-2
openair1/PHY/LTE_TRANSPORT/if4_tools.c
openair1/PHY/LTE_TRANSPORT/if4_tools.c
+129
-111
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.lo.conf
...TS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.lo.conf
+4
-4
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+1
-1
No files found.
openair1/PHY/INIT/lte_init_ru.c
View file @
79c8d0e0
...
@@ -91,8 +91,8 @@ int phy_init_RU(RU_t *ru) {
...
@@ -91,8 +91,8 @@ int phy_init_RU(RU_t *ru) {
}
}
/* number of elements of an array X is computed as sizeof(X) / sizeof(X[0]) */
/* number of elements of an array X is computed as sizeof(X) / sizeof(X[0]) */
AssertFatal
(
ru
->
nb_rx
<=
sizeof
(
ru
->
prach_rxsigF
)
/
sizeof
(
ru
->
prach_rxsigF
[
0
]),
//
AssertFatal(ru->nb_rx <= sizeof(ru->prach_rxsigF) / sizeof(ru->prach_rxsigF[0]),
"nb_antennas_rx too large"
);
//
"nb_antennas_rx too large");
ru
->
prach_rxsigF
=
(
int16_t
**
)
malloc
(
ru
->
nb_rx
*
sizeof
(
int16_t
*
));
ru
->
prach_rxsigF
=
(
int16_t
**
)
malloc
(
ru
->
nb_rx
*
sizeof
(
int16_t
*
));
for
(
j
=
0
;
j
<
4
;
j
++
)
ru
->
prach_rxsigF_br
[
j
]
=
(
int16_t
**
)
malloc
(
ru
->
nb_rx
*
sizeof
(
int16_t
*
));
for
(
j
=
0
;
j
<
4
;
j
++
)
ru
->
prach_rxsigF_br
[
j
]
=
(
int16_t
**
)
malloc
(
ru
->
nb_rx
*
sizeof
(
int16_t
*
));
...
...
openair1/PHY/LTE_TRANSPORT/if4_tools.c
View file @
79c8d0e0
This diff is collapsed.
Click to expand it.
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.lo.conf
View file @
79c8d0e0
...
@@ -74,9 +74,9 @@ eNBs =
...
@@ -74,9 +74,9 @@ eNBs =
srs_ackNackST
=;
srs_ackNackST
=;
srs_MaxUpPts
=;*/
srs_MaxUpPts
=;*/
pusch_p0_Nominal
= -
96
;
pusch_p0_Nominal
= -
104
;
pusch_alpha
=
"AL1"
;
pusch_alpha
=
"AL1"
;
pucch_p0_Nominal
= -
10
4
;
pucch_p0_Nominal
= -
10
8
;
msg3_delta_Preamble
=
6
;
msg3_delta_Preamble
=
6
;
pucch_deltaF_Format1
=
"deltaF2"
;
pucch_deltaF_Format1
=
"deltaF2"
;
pucch_deltaF_Format1b
=
"deltaF3"
;
pucch_deltaF_Format1b
=
"deltaF3"
;
...
@@ -188,8 +188,8 @@ RUs = (
...
@@ -188,8 +188,8 @@ RUs = (
remote_portd
=
50001
;
remote_portd
=
50001
;
local_rf
=
"no"
local_rf
=
"no"
tr_preference
=
"udp_if4p5"
tr_preference
=
"udp_if4p5"
nb_tx
=
1
nb_tx
=
2
nb_rx
=
1
nb_rx
=
2
att_tx
=
0
att_tx
=
0
att_rx
=
0
;
att_rx
=
0
;
eNB_instances
= [
0
];
eNB_instances
= [
0
];
...
...
targets/RT/USER/lte-ru.c
View file @
79c8d0e0
...
@@ -1300,7 +1300,7 @@ void wakeup_eNBs(RU_t *ru) {
...
@@ -1300,7 +1300,7 @@ void wakeup_eNBs(RU_t *ru) {
if
(
proc
->
RU_mask
[
ru
->
proc
.
subframe_rx
]
==
(
1
<<
eNB
->
num_RU
)
-
1
)
{
if
(
proc
->
RU_mask
[
ru
->
proc
.
subframe_rx
]
==
(
1
<<
eNB
->
num_RU
)
-
1
)
{
proc
->
RU_mask
[
ru
->
proc
.
subframe_rx
]
=
0
;
proc
->
RU_mask
[
ru
->
proc
.
subframe_rx
]
=
0
;
clock_gettime
(
CLOCK_MONOTONIC
,
&
t
);
clock_gettime
(
CLOCK_MONOTONIC
,
&
t
);
AssertFatal
(
t
.
tv_nsec
<
proc
->
t
[
ru
->
proc
.
subframe_rx
].
tv_nsec
+
500000
,
AssertFatal
(
t
.
tv_nsec
<
proc
->
t
[
ru
->
proc
.
subframe_rx
].
tv_nsec
+
500000
0
,
"Time difference for subframe %d => %d > 5ms
\n
"
,
"Time difference for subframe %d => %d > 5ms
\n
"
,
ru
->
proc
.
subframe_rx
,
t
.
tv_nsec
-
proc
->
t
[
ru
->
proc
.
subframe_rx
].
tv_nsec
);
ru
->
proc
.
subframe_rx
,
t
.
tv_nsec
-
proc
->
t
[
ru
->
proc
.
subframe_rx
].
tv_nsec
);
}
}
...
...
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