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
6047bc6c
Commit
6047bc6c
authored
Dec 20, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various
parent
65451cc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
radio/ETHERNET/oran/5g/oran-config.c
radio/ETHERNET/oran/5g/oran-config.c
+1
-1
radio/ETHERNET/oran/5g/oran-init.c
radio/ETHERNET/oran/5g/oran-init.c
+12
-9
No files found.
radio/ETHERNET/oran/5g/oran-config.c
View file @
6047bc6c
...
...
@@ -340,7 +340,7 @@ void print_fh_config(const struct xran_fh_config *fh_config)
fh_config
->
nCC
,
fh_config
->
neAxc
,
fh_config
->
neAxcUl
,
fh_config
->
prach_eAxc_offset
,
0
,
//
fh_config->prach_eAxc_offset,
fh_config
->
nAntElmTRx
,
fh_config
->
nDLFftSize
,
fh_config
->
nULFftSize
,
...
...
radio/ETHERNET/oran/5g/oran-init.c
View file @
6047bc6c
...
...
@@ -415,7 +415,6 @@ static void oran_allocate_buffers(void *handle,
int
*
oai_oran_initialize
(
const
openair0_config_t
*
openair0_cfg
)
{
int32_t
o_xu_id
=
0
;
int32_t
xret
=
0
;
struct
xran_fh_init
init
=
{
0
};
...
...
@@ -430,18 +429,22 @@ int *oai_oran_initialize(const openair0_config_t *openair0_cfg)
// exit(-1);
// }
xret
=
xran_init
(
0
,
NULL
,
&
init
,
NULL
,
&
gxran_handle
);
if
(
xret
!=
XRAN_STATUS_SUCCESS
)
{
printf
(
"xran_init failed %d
\n
"
,
xret
);
exit
(
-
1
);
}
//
xret = xran_init(0, NULL, &init, NULL, &gxran_handle);
//
if (xret != XRAN_STATUS_SUCCESS) {
//
printf("xran_init failed %d\n", xret);
//
exit(-1);
//
}
/** process all the O-RU|O-DU for use case */
for
(
o_xu_id
=
0
;
o_xu_id
<
1
;
o_xu_id
++
)
{
if
(
!
set_fh_config
(
openair0_cfg
,
&
gxran_fh_config
[
o_xu_id
]))
exit
(
124
);
for
(
int32_t
o_xu_id
=
0
;
o_xu_id
<
1
;
o_xu_id
++
)
{
if
(
!
set_fh_config
(
o_xu_id
,
openair0_cfg
,
&
gxran_fh_config
[
o_xu_id
]))
{
printf
(
"could not read FHI 7.2/RU-specific config
\n
"
);
return
NULL
;
}
print_fh_config
(
&
gxran_fh_config
[
o_xu_id
]);
exit
(
1
);
xret
=
xran_open
(
gxran_handle
,
&
gxran_fh_config
[
o_xu_id
]);
if
(
xret
!=
XRAN_STATUS_SUCCESS
)
{
printf
(
"xran_open failed %d
\n
"
,
xret
);
...
...
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