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
37207076
Commit
37207076
authored
Jan 22, 2024
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing prev commit
parent
7ad6aa37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
executables/nr-softmodem.c
executables/nr-softmodem.c
+4
-2
fapi/oai-integration/fapi_nvIPC.c
fapi/oai-integration/fapi_nvIPC.c
+1
-1
No files found.
executables/nr-softmodem.c
View file @
37207076
...
...
@@ -79,7 +79,8 @@ unsigned short config_frames[4] = {2,9,11,13};
#include <openair3/ocp-gtpu/gtp_itf.h>
#include "nfapi/oai_integration/vendor_ext.h"
#include "gnb_config.h"
#include "openair2/E1AP/e1ap_common.h"
#include "E1AP/e1ap_common.h"
#include "LAYER2/NR_MAC_gNB/nr_mac_gNB.h"
#ifdef ENABLE_AERIAL
#include "fapi/oai-integration/fapi_nvIPC.h"
#endif
...
...
@@ -768,7 +769,8 @@ int main( int argc, char **argv ) {
start_NR_RU
();
#ifdef ENABLE_AERIAL
if
(
NFAPI_MODE
==
NFAPI_MODE_AERIAL
){
nvIPC_Init
(
RC
.
nrmac
[
0
]
->
eth_params_s
.
local_if_name
);
gNB_MAC_INST
*
nrmac
=
RC
.
nrmac
[
0
];
nvIPC_Init
(
nrmac
->
eth_params_s
.
local_if_name
);
}
else
{
AssertFatal
(
1
==
0
,
"Not run as Aerial mode when compiled with AERIAL, if you want to run other (n)FAPI modes, please run ./build_oai without -w AERIAL"
);
}
...
...
fapi/oai-integration/fapi_nvIPC.c
View file @
37207076
...
...
@@ -720,7 +720,7 @@ int nvIPC_Init(char* if_name) {
//nvlog_set_shm_log_level(NULL, NVLOG_ERROR);
//nvlog_set_console_log_level(NULL, NVLOG_ERROR);
// Create nv_ipc_t instance
strcpy
(
nv_ipc_config
->
transport_config
.
shm
.
prefix
,
if_name
);
strcpy
(
nv_ipc_config
.
transport_config
.
shm
.
prefix
,
if_name
);
if
((
ipc
=
create_nv_ipc_interface
(
&
nv_ipc_config
))
==
NULL
)
{
LOG_E
(
NFAPI_VNF
,
"%s: create IPC interface failed
\n
"
,
__func__
);
return
-
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