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
c4ae0b06
Commit
c4ae0b06
authored
Aug 15, 2019
by
Khalid Ahmed
Committed by
Thomas Schlichter
Aug 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing TDD mode using USRP x300
parent
bb2efbe4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
executables/nr-ru.c
executables/nr-ru.c
+7
-4
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
.../GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
+1
-1
No files found.
executables/nr-ru.c
View file @
c4ae0b06
...
...
@@ -2100,6 +2100,7 @@ void init_NR_RU(char *rf_config_file)
{
int
ru_id
;
RU_t
*
ru
;
PHY_VARS_gNB
*
gNB_RC
;
PHY_VARS_gNB
*
gNB0
=
(
PHY_VARS_gNB
*
)
NULL
;
NR_DL_FRAME_PARMS
*
fp
=
(
NR_DL_FRAME_PARMS
*
)
NULL
;
int
i
;
...
...
@@ -2143,6 +2144,7 @@ void init_NR_RU(char *rf_config_file)
}
}
gNB_RC
=
RC
.
gNB
[
0
][
0
];
gNB0
=
ru
->
gNB_list
[
0
];
fp
=
ru
->
nr_frame_parms
;
LOG_D
(
PHY
,
"RU FUnction:%d ru->if_south:%d
\n
"
,
ru
->
function
,
ru
->
if_south
);
...
...
@@ -2151,10 +2153,11 @@ void init_NR_RU(char *rf_config_file)
if
((
ru
->
function
!=
NGFI_RRU_IF5
)
&&
(
ru
->
function
!=
NGFI_RRU_IF4p5
))
AssertFatal
(
gNB0
!=
NULL
,
"gNB0 is null!
\n
"
);
if
(
gNB0
)
{
LOG_I
(
PHY
,
"Copying frame parms from gNB %d to ru %d
\n
"
,
gNB0
->
Mod_id
,
ru
->
idx
);
memcpy
((
void
*
)
fp
,(
void
*
)
&
gNB0
->
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
memset
((
void
*
)
ru
->
nr_frame_parms
,
0
,
sizeof
(
NR_DL_FRAME_PARMS
));
if
(
gNB0
&&
gNB_RC
)
{
LOG_I
(
PHY
,
"Copying frame parms from gNB in RC to gNB %d in ru %d and frame_parms in ru
\n
"
,
gNB0
->
Mod_id
,
ru
->
idx
);
memset
((
void
*
)
fp
,
0
,
sizeof
(
NR_DL_FRAME_PARMS
));
memcpy
((
void
*
)
fp
,
&
gNB_RC
->
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
memcpy
((
void
*
)
&
gNB0
->
frame_parms
,(
void
*
)
&
gNB_RC
->
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
// attach all RU to all gNBs in its list/
LOG_D
(
PHY
,
"ru->num_gNB:%d gNB0->num_RU:%d
\n
"
,
ru
->
num_gNB
,
gNB0
->
num_RU
);
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
View file @
c4ae0b06
...
...
@@ -31,7 +31,7 @@ gNBs =
UL_prefix_type
=
"NORMAL"
;
eutra_band
=
78
;
downlink_frequency
=
3510000000
L
;
uplink_frequency_offset
=
-
12000000
0
;
uplink_frequency_offset
=
0
;
Nid_cell
=
0
;
N_RB_DL
=
106
;
nb_antenna_ports
=
1
;
...
...
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