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
e6e5c481
Commit
e6e5c481
authored
Mar 04, 2026
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for DAS handled via index based analog beamforming
parent
46b76706
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+3
-2
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+13
-4
No files found.
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
e6e5c481
...
...
@@ -72,11 +72,12 @@ int beam_index_allocation(bool das,
{
if
(
!
common_vars
->
beam_id
)
return
0
;
if
(
das
)
return
fapi_beam_index
;
AssertFatal
(
IS_BIT_SET
(
fapi_beam_index
,
15
),
"Can't handle preconfigured DBM yet
\n
"
);
int
ru_beam_idx
=
fapi_beam_index
&
0x7fff
;
if
(
das
)
return
ru_beam_idx
;
int
idx
=
-
1
;
for
(
int
j
=
0
;
j
<
common_vars
->
num_beams_period
;
j
++
)
{
// L2 analog beam implementation is slot based, so we need to verify occupancy for the whole slot
...
...
openair2/GNB_APP/gnb_config.c
View file @
e6e5c481
...
...
@@ -1638,13 +1638,15 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg)
beam_info
->
beams_per_period
=
beams_per_period
;
beam_info
->
beam_allocation_size
=
-
1
;
// to be initialized once we have information on frame configuration
}
bool
das_enabled
=
false
;
if
(
NFAPI_MODE
==
NFAPI_MONOLITHIC
)
{
GET_PARAMS_LIST
(
L1_ParamList
,
L1_Params
,
L1PARAMS_DESC
,
CONFIG_STRING_L1_LIST
,
NULL
);
das_enabled
=
*
(
L1_ParamList
.
paramarray
[
j
][
L1_ANALOG_DAS
].
uptr
);
}
// TODO config_isparamset doesn't seem to work for array types, checking numelt instead
int
n
=
MacRLC_ParamList
.
paramarray
[
j
][
MACRLC_BEAMWEIGHTS_IDX
].
numelt
;
if
(
n
>
0
)
{
if
(
NFAPI_MODE
==
NFAPI_MONOLITHIC
)
{
GET_PARAMS_LIST
(
L1_ParamList
,
L1_Params
,
L1PARAMS_DESC
,
CONFIG_STRING_L1_LIST
,
NULL
);
AssertFatal
(
*
(
L1_ParamList
.
paramarray
[
j
][
L1_ANALOG_DAS
].
uptr
)
==
0
,
"No need to set beam weights in case of DAS
\n
"
);
}
AssertFatal
(
!
das_enabled
,
"No need to set beam weights in case of DAS
\n
"
);
int
num_beam
=
n
;
if
(
RC
.
nrmac
[
j
]
->
beam_info
.
beam_mode
==
PRECONFIGURED_BEAM_IDX
)
{
AssertFatal
(
n
%
num_tx
==
0
,
"Error! Number of beam input needs to be multiple of TX antennas
\n
"
);
...
...
@@ -1658,6 +1660,13 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg)
config
.
bw_list
=
calloc_or_fail
(
n
,
sizeof
(
*
config
.
bw_list
));
for
(
int
b
=
0
;
b
<
n
;
b
++
)
config
.
bw_list
[
b
]
=
MacRLC_ParamList
.
paramarray
[
j
][
MACRLC_BEAMWEIGHTS_IDX
].
iptr
[
b
];
}
else
if
(
das_enabled
)
{
n
=
*
MacRLC_ParamList
.
paramarray
[
j
][
MACRLC_ANALOG_BEAMS_PERIOD_IDX
].
u8ptr
;
config
.
nb_bfw
[
0
]
=
num_tx
;
// number of tx antennas
config
.
nb_bfw
[
1
]
=
n
;
// number of beams weights/indices
config
.
bw_list
=
calloc_or_fail
(
n
,
sizeof
(
*
config
.
bw_list
));
for
(
int
b
=
0
;
b
<
n
;
b
++
)
config
.
bw_list
[
b
]
=
b
;
}
// triggers also PHY initialization in case we have L1 via FAPI
nr_mac_config_scc
(
RC
.
nrmac
[
j
],
scc
,
&
config
);
...
...
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