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
068c239b
Commit
068c239b
authored
Dec 04, 2021
by
Sofia Pison
Committed by
rajeshwari.p
Dec 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add first template for NR integration of O-RAN FHI Library.
parent
62c73ee3
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1285 additions
and
1 deletion
+1285
-1
CMakeLists.txt
CMakeLists.txt
+2
-1
targets/ARCH/ETHERNET/oran/5g/oran.cpp
targets/ARCH/ETHERNET/oran/5g/oran.cpp
+653
-0
targets/ARCH/ETHERNET/oran/5g/oran_isolate.c
targets/ARCH/ETHERNET/oran/5g/oran_isolate.c
+464
-0
targets/ARCH/ETHERNET/oran/5g/oran_isolate.h
targets/ARCH/ETHERNET/oran/5g/oran_isolate.h
+166
-0
No files found.
CMakeLists.txt
View file @
068c239b
...
...
@@ -676,10 +676,11 @@ include_directories ("/usr/local/dpdk_19_11/include/dpdk")
include_directories
(
"
${
ICC_LIB
}
"
)
set
(
ORAN_FHLIB_5G_SOURCE
${
OPENAIR_TARGETS
}
/ARCH/ETHERNET/oran/5g/oran.c
c
${
OPENAIR_TARGETS
}
/ARCH/ETHERNET/oran/5g/oran.c
pp
${
OPENAIR_TARGETS
}
/ARCH/ETHERNET/oran/5g/shared_buffers.c
${
OPENAIR_TARGETS
}
/ARCH/ETHERNET/oran/5g/low_oran.c
${
OPENAIR_TARGETS
}
/ARCH/ETHERNET/oran/5g/low_dpdk_oran.c
${
OPENAIR_TARGETS
}
/ARCH/ETHERNET/oran/5g/oran_isolate.c
)
add_library
(
oran_fhlib_5g MODULE
${
ORAN_FHLIB_5G_SOURCE
}
)
...
...
targets/ARCH/ETHERNET/oran/5g/oran.cpp
0 → 100644
View file @
068c239b
This diff is collapsed.
Click to expand it.
targets/ARCH/ETHERNET/oran/5g/oran_isolate.c
0 → 100644
View file @
068c239b
This diff is collapsed.
Click to expand it.
targets/ARCH/ETHERNET/oran/5g/oran_isolate.h
0 → 100644
View file @
068c239b
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#ifndef _ORAN_ISOLATE_H_
#define _ORAN_ISOLATE_H_
#include <stdio.h>
#include "shared_buffers.h"
#include "low_oran.h"
/*
* Structure added to bear the information needed from OAI RU
*/
typedef
struct
ru_info_s
{
// Needed for DL
int
nb_tx
;
int32_t
**
txdataF_BF
;
// Needed for UL
// TODO
}
ru_info_t
;
#ifdef __cplusplus
extern
"C"
{
#endif
void
*
define_oran_pointer
();
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
setup_oran
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
open_oran_callback
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
open_oran
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
initialize_oran
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
start_oran
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
register_physide_callbacks
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
load_iq_from_file
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
xran_fh_tx_send_buffer
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
xran_fh_tx_send_slot
(
void
*
xranlib_
,
ru_info_t
*
ru
,
int
frame
,
int
slot
,
uint64_t
timestamp
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
int
compute_xran_statistics
(
void
*
xranlib_
);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
void
check_xran_ptp_sync
();
#ifdef __cplusplus
}
#endif
#endif
/* _ORAN_ISOLATE_H_ */
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