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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
3dab8887
Commit
3dab8887
authored
Apr 23, 2024
by
Rúben Soares da Silva
Committed by
Rúben Soares Silva
May 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Creation of empty FAPI P5 library in preparation for separation of related functions
parent
f4a659bc
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
135 additions
and
1 deletion
+135
-1
CMakeLists.txt
CMakeLists.txt
+2
-0
nfapi/oai_integration/aerial/CMakeLists.txt
nfapi/oai_integration/aerial/CMakeLists.txt
+1
-0
nfapi/oai_integration/aerial/fapi_vnf_p5.c
nfapi/oai_integration/aerial/fapi_vnf_p5.c
+2
-0
nfapi/open-nFAPI/CMakeLists.txt
nfapi/open-nFAPI/CMakeLists.txt
+1
-0
nfapi/open-nFAPI/fapi/CMakeLists.txt
nfapi/open-nFAPI/fapi/CMakeLists.txt
+5
-0
nfapi/open-nFAPI/fapi/inc/nr_fapi.h
nfapi/open-nFAPI/fapi/inc/nr_fapi.h
+52
-0
nfapi/open-nFAPI/fapi/inc/nr_fapi_p5.h
nfapi/open-nFAPI/fapi/inc/nr_fapi_p5.h
+37
-0
nfapi/open-nFAPI/fapi/src/nr_fapi_p5.c
nfapi/open-nFAPI/fapi/src/nr_fapi_p5.c
+33
-0
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
+1
-1
nfapi/open-nFAPI/vnf/src/vnf.c
nfapi/open-nFAPI/vnf/src/vnf.c
+1
-0
No files found.
CMakeLists.txt
View file @
3dab8887
...
...
@@ -735,6 +735,7 @@ set(NFAPI_SRC
)
add_library
(
NFAPI_LIB
${
NFAPI_SRC
}
)
target_link_libraries
(
NFAPI_LIB PUBLIC nfapi_common
)
target_link_libraries
(
NFAPI_LIB PUBLIC nr_fapi_p5
)
include_directories
(
${
NFAPI_DIR
}
/nfapi/public_inc
)
include_directories
(
${
NFAPI_DIR
}
/nfapi/inc
)
...
...
@@ -759,6 +760,7 @@ set(NFAPI_VNF_SRC
)
add_library
(
NFAPI_VNF_LIB
${
NFAPI_VNF_SRC
}
)
target_link_libraries
(
NFAPI_VNF_LIB PRIVATE asn1_lte_rrc_hdrs asn1_nr_rrc_hdrs
)
target_link_libraries
(
NFAPI_VNF_LIB PRIVATE nr_fapi_p5
)
if
(
OAI_AERIAL
)
target_compile_definitions
(
NFAPI_VNF_LIB PRIVATE ENABLE_AERIAL
)
endif
()
...
...
nfapi/oai_integration/aerial/CMakeLists.txt
View file @
3dab8887
...
...
@@ -21,6 +21,7 @@ if (OAI_AERIAL)
endif
()
target_compile_definitions
(
aerial_lib PUBLIC ENABLE_L2_SLT_RSP ENABLE_AERIAL
)
target_link_libraries
(
aerial_lib PRIVATE asn1_lte_rrc_hdrs asn1_nr_rrc_hdrs
)
target_link_libraries
(
aerial_lib PRIVATE nr_fapi_p5
)
target_link_libraries
(
aerial_lib PRIVATE
"
${
NVLOG_LIB
}
"
"
${
NVIPC_LIB
}
"
)
else
()
message
(
STATUS
"No Support for Aerial"
)
...
...
nfapi/oai_integration/aerial/fapi_vnf_p5.c
View file @
3dab8887
...
...
@@ -33,6 +33,8 @@
#include "fapi_vnf_p5.h"
#include "fapi_vnf_p7.h"
#include "nfapi/open-nFAPI/vnf/inc/vnf_p7.h"
#include "nr_fapi.h"
#include "nr_fapi_p5.h"
extern
RAN_CONTEXT_t
RC
;
extern
UL_RCC_IND_t
UL_RCC_INFO
;
...
...
nfapi/open-nFAPI/CMakeLists.txt
View file @
3dab8887
add_subdirectory
(
common
)
add_subdirectory
(
fapi
)
nfapi/open-nFAPI/fapi/CMakeLists.txt
0 → 100644
View file @
3dab8887
add_library
(
nr_fapi_p5
src/nr_fapi_p5.c
)
target_include_directories
(
nr_fapi_p5 PUBLIC inc
)
target_link_libraries
(
nr_fapi_p5 PUBLIC nfapi_common NFAPI_LIB NFAPI_USER_LIB
)
nfapi/open-nFAPI/fapi/inc/nr_fapi.h
0 → 100644
View file @
3dab8887
/*
* 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
*/
/*! \file nfapi/open-nFAPI/fapi/inc/nr_fapi.h
* \brief
* \author Ruben S. Silva
* \date 2024
* \version 0.1
* \company OpenAirInterface Software Alliance
* \email: contact@openairinterface.org, rsilva@allbesmart.pt
* \note
* \warning
*/
#ifndef OPENAIRINTERFACE_NR_FAPI_H
#define OPENAIRINTERFACE_NR_FAPI_H
#include "stdint.h"
#include "string.h"
#include "nfapi_interface.h"
#include "nfapi_nr_interface.h"
#include "nfapi_nr_interface_scf.h"
#include "nfapi.h"
#include "assertions.h"
#define DEBUG_FAPI_NFAPI_MSGS 0
typedef
struct
{
uint8_t
num_msg
;
uint8_t
opaque_handle
;
uint16_t
message_id
;
uint32_t
message_length
;
}
fapi_message_header_t
;
#endif // OPENAIRINTERFACE_NR_FAPI_H
nfapi/open-nFAPI/fapi/inc/nr_fapi_p5.h
0 → 100644
View file @
3dab8887
/*
* 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
*/
/*! \file nfapi/open-nFAPI/fapi/inc/nr_fapi_p5.h
* \brief
* \author Ruben S. Silva
* \date 2024
* \version 0.1
* \company OpenAirInterface Software Alliance
* \email: contact@openairinterface.org, rsilva@allbesmart.pt
* \note
* \warning
*/
#ifndef OPENAIRINTERFACE_NR_FAPI_P5_H
#define OPENAIRINTERFACE_NR_FAPI_P5_H
#include "stdint.h"
#include "nfapi_interface.h"
#endif // OPENAIRINTERFACE_NR_FAPI_P5_H
nfapi/open-nFAPI/fapi/src/nr_fapi_p5.c
0 → 100644
View file @
3dab8887
/*
* 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
*/
/*! \file nfapi/open-nFAPI/fapi/src/nr_fapi_p5.c
* \brief
* \author Ruben S. Silva
* \date 2024
* \version 0.1
* \company OpenAirInterface Software Alliance
* \email: contact@openairinterface.org, rsilva@allbesmart.pt
* \note
* \warning
*/
#include "nr_fapi.h"
#include "nr_fapi_p5.h"
#include "debug.h"
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
View file @
3dab8887
...
...
@@ -37,7 +37,7 @@
#include "nfapi_nr_interface_scf.h"
#include "nfapi/oai_integration/vendor_ext.h"
#include <debug.h>
#include "nr_fapi_p5.h"
// Pack routines
//TODO: Add pacl/unpack fns for uint32 and uint64
...
...
nfapi/open-nFAPI/vnf/src/vnf.c
View file @
3dab8887
...
...
@@ -30,6 +30,7 @@
#ifdef ENABLE_AERIAL
#include "nfapi/oai_integration/aerial/fapi_nvIPC.h"
#include "nfapi/oai_integration/aerial/fapi_vnf_p5.h"
#include "nr_fapi.h"
#endif
#include "nfapi/oai_integration/vendor_ext.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