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
e1a7a2e8
Commit
e1a7a2e8
authored
Apr 01, 2026
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove L1s.local_n_portc: not used
Also remove intermediate variable eth_params_n that is not used anywhere.
parent
16b1a031
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
17 deletions
+7
-17
openair1/PHY/defs_gNB.h
openair1/PHY/defs_gNB.h
+0
-2
openair2/GNB_APP/L1_nr_paramdef.h
openair2/GNB_APP/L1_nr_paramdef.h
+0
-2
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+7
-13
No files found.
openair1/PHY/defs_gNB.h
View file @
e1a7a2e8
...
...
@@ -329,8 +329,6 @@ typedef struct PHY_VARS_gNB_s {
gNB_L1_proc_t
proc
;
int
num_RU
;
RU_t
*
RU_list
[
MAX_NUM_RU_PER_gNB
];
/// Ethernet parameters for northbound midhaul interface
eth_params_t
eth_params_n
;
/// Ethernet parameters for fronthaul interface
eth_params_t
eth_params
;
int
rx_total_gain_dB
;
...
...
openair2/GNB_APP/L1_nr_paramdef.h
View file @
e1a7a2e8
...
...
@@ -15,7 +15,6 @@
/* L1 configuration parameters names */
#define L1_LOCAL_N_ADDRESS "local_n_address"
#define L1_REMOTE_N_ADDRESS "remote_n_address"
#define L1_LOCAL_N_PORTC "local_n_portc"
#define L1_REMOTE_N_PORTC "remote_n_portc"
#define L1_LOCAL_N_PORTD "local_n_portd"
#define L1_REMOTE_N_PORTD "remote_n_portd"
...
...
@@ -47,7 +46,6 @@
{L1_TRANSPORT_N_PREFERENCE, NULL, 0, .strptr=NULL, .defstrval="local_mac", TYPE_STRING, 0}, \
{L1_LOCAL_N_ADDRESS, NULL, 0, .strptr=NULL, .defstrval="127.0.0.1", TYPE_STRING, 0}, \
{L1_REMOTE_N_ADDRESS, NULL, 0, .strptr=NULL, .defstrval="127.0.0.2", TYPE_STRING, 0}, \
{L1_LOCAL_N_PORTC, NULL, 0, .uptr=NULL, .defintval=50030, TYPE_UINT, 0}, \
{L1_REMOTE_N_PORTC, NULL, 0, .uptr=NULL, .defintval=50030, TYPE_UINT, 0}, \
{L1_LOCAL_N_PORTD, NULL, 0, .uptr=NULL, .defintval=50031, TYPE_UINT, 0}, \
{L1_REMOTE_N_PORTD, NULL, 0, .uptr=NULL, .defintval=50031, TYPE_UINT, 0}, \
...
...
openair2/GNB_APP/gnb_config.c
View file @
e1a7a2e8
...
...
@@ -851,19 +851,13 @@ void RCconfig_NR_L1(void)
if
(
strcmp
(
*
gpd
(
params
,
np
,
L1_TRANSPORT_N_PREFERENCE
)
->
strptr
,
"local_mac"
)
==
0
)
{
// do nothing
}
else
if
(
strcmp
(
*
gpd
(
params
,
np
,
L1_TRANSPORT_N_PREFERENCE
)
->
strptr
,
"nfapi"
)
==
0
)
{
gNB
->
eth_params_n
.
my_addr
=
strdup
(
*
gpd
(
params
,
np
,
L1_LOCAL_N_ADDRESS
)
->
strptr
);
gNB
->
eth_params_n
.
remote_addr
=
strdup
(
*
gpd
(
params
,
np
,
L1_REMOTE_N_ADDRESS
)
->
strptr
);
gNB
->
eth_params_n
.
my_portc
=
*
gpd
(
params
,
np
,
L1_LOCAL_N_PORTC
)
->
iptr
;
gNB
->
eth_params_n
.
remote_portc
=
*
gpd
(
params
,
np
,
L1_REMOTE_N_PORTC
)
->
iptr
;
gNB
->
eth_params_n
.
my_portd
=
*
gpd
(
params
,
np
,
L1_LOCAL_N_PORTD
)
->
iptr
;
gNB
->
eth_params_n
.
remote_portd
=
*
gpd
(
params
,
np
,
L1_REMOTE_N_PORTD
)
->
iptr
;
gNB
->
eth_params_n
.
transp_preference
=
ETH_UDP_MODE
;
configure_nr_nfapi_pnf
(
gNB
->
eth_params_n
.
remote_addr
,
gNB
->
eth_params_n
.
remote_portc
,
gNB
->
eth_params_n
.
my_addr
,
gNB
->
eth_params_n
.
my_portd
,
gNB
->
eth_params_n
.
remote_portd
);
char
*
my_addr
=
strdup
(
*
gpd
(
params
,
np
,
L1_LOCAL_N_ADDRESS
)
->
strptr
);
char
*
remote_addr
=
strdup
(
*
gpd
(
params
,
np
,
L1_REMOTE_N_ADDRESS
)
->
strptr
);
int
remote_portc
=
*
gpd
(
params
,
np
,
L1_REMOTE_N_PORTC
)
->
iptr
;
int
my_portd
=
*
gpd
(
params
,
np
,
L1_LOCAL_N_PORTD
)
->
iptr
;
int
remote_portd
=
*
gpd
(
params
,
np
,
L1_REMOTE_N_PORTD
)
->
iptr
;
configure_nr_nfapi_pnf
(
remote_addr
,
remote_portc
,
my_addr
,
my_portd
,
remote_portd
);
}
else
{
// other midhaul, do nothing
}
...
...
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