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
5cdda338
Commit
5cdda338
authored
Apr 12, 2018
by
Guy De Souza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor config correction
parent
8dec69ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-0
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-1
targets/RT/USER/nr-ru.c
targets/RT/USER/nr-ru.c
+4
-3
No files found.
openair1/PHY/INIT/nr_init.c
View file @
5cdda338
...
...
@@ -339,6 +339,7 @@ void nr_phy_config_request(PHY_VARS_gNB *gNB)
//overwrite for new NR parameters
gNB_config
->
subframe_config
.
numerology_index_mu
.
value
=
1
;
gNB_config
->
subframe_config
.
duplex_mode
.
value
=
FDD
;
gNB_config
->
rf_config
.
dl_channel_bandwidth
.
value
=
106
;
gNB_config
->
rf_config
.
ul_channel_bandwidth
.
value
=
106
;
gNB_config
->
sch_config
.
half_frame_index
=
0
;
...
...
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
5cdda338
...
...
@@ -85,6 +85,6 @@ void phy_procedures_gNB_TX(PHY_VARS_gNB *gNB,
}
if
(
nfapi_mode
==
0
||
nfapi_mode
==
1
)
{
common_signal_procedures
(
gNB
,
frame
,
subframe
);
nr_
common_signal_procedures
(
gNB
,
frame
,
subframe
);
}
}
targets/RT/USER/nr-ru.c
View file @
5cdda338
...
...
@@ -124,6 +124,7 @@ extern volatile int oai_exit;
extern
void
nr_phy_init_RU
(
RU_t
*
);
extern
void
nr_phy_free_RU
(
RU_t
*
);
extern
void
nr_phy_config_request
(
PHY_VARS_gNB
*
gNB
);
void
init_RU
(
char
*
);
void
stop_RU
(
int
nb_ru
);
...
...
@@ -1374,6 +1375,7 @@ static void* ru_thread( void* param ) {
}
if
(
ru
->
if_south
==
LOCAL_RF
)
{
// configure RF parameters only
fill_rf_config
(
ru
,
ru
->
rf_config_file
);
nr_phy_config_request
(
ru
->
gNB_list
[
0
]);
nr_init_frame_parms
(
ru
->
gNB_list
[
0
]
->
gNB_config
,
fp
);
nr_dump_frame_parms
(
fp
);
nr_phy_init_RU
(
ru
);
...
...
@@ -1899,11 +1901,10 @@ void configure_rru(int idx,
ru->nr_frame_parms.prach_config_common.prach_ConfigInfo.prach_ConfigIndex = config->prach_ConfigIndex[0]; */
}
nr_init_frame_parms
(
ru
->
gNB_list
[
0
]
->
gNB_config
,
&
ru
->
nr_frame_parms
);
fill_rf_config
(
ru
,
ru
->
rf_config_file
);
nr_phy_config_request
(
ru
->
gNB_list
[
0
]);
nr_init_frame_parms
(
ru
->
gNB_list
[
0
]
->
gNB_config
,
&
ru
->
nr_frame_parms
);
nr_phy_init_RU
(
ru
);
...
...
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