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
c2ccca02
Commit
c2ccca02
authored
Feb 26, 2026
by
Teodora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FHI72] Simplify RunSlotPrbMapBySymbol and add in the README
parent
bbecfd5b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
13 deletions
+7
-13
doc/ORAN_FHI7.2_Tutorial.md
doc/ORAN_FHI7.2_Tutorial.md
+1
-0
radio/fhi_72/oran-config.c
radio/fhi_72/oran-config.c
+2
-1
radio/fhi_72/oran-init.c
radio/fhi_72/oran-init.c
+2
-10
radio/fhi_72/oran-params.h
radio/fhi_72/oran-params.h
+2
-2
No files found.
doc/ORAN_FHI7.2_Tutorial.md
View file @
c2ccca02
...
...
@@ -1012,6 +1012,7 @@ Edit the sample OAI gNB configuration file and check following parameters:
[
Memory in DPDK
](
https://www.dpdk.org/memory-in-dpdk-part-2-deep-dive-into-iova/
)
*
`owdm_enable`
: used for eCPRI One-Way Delay Measurements; it depends if the RU supports it; if not set to 1 (enabled), default value is 0 (disabled)
*
`fh_config`
*
`RunSlotPrbMapBySymbol`
: enable CP multisection (one symbol per section); default value is 0
*
DU delay profile (
`T1a`
and
`Ta4`
): pairs of numbers
`(x, y)`
specifying minimum and maximum delays
*
`ru_config`
: RU-specific configuration:
*
`iq_width`
: Width of DL/UL IQ samples: if 16, no compression, if <16, applies
...
...
radio/fhi_72/oran-config.c
View file @
c2ccca02
...
...
@@ -961,7 +961,6 @@ static bool set_fh_config(void *mplane_api, int ru_idx, int num_rus, enum xran_c
#if defined F_RELEASE
fh_config
->
srsEnableCp
=
0
;
// enable SRS CP; used only if XRAN_CATEGORY_B
fh_config
->
SrsDelaySym
=
0
;
// number of SRS delay symbols; used only if XRAN_CATEGORY_B
fh_config
->
RunSlotPrbMapBySymbolEnable
=
*
gpd
(
fhp
,
nfh
,
ORAN_CONFIG_RunSlotPrbMapBySymbol
)
->
uptr
;
// enable RunSlotPrbMapBySymbol
#endif
fh_config
->
puschMaskEnable
=
0
;
// enable PUSCH mask; only used if id = O_RU
fh_config
->
puschMaskSlot
=
0
;
// specific which slot PUSCH channel masked; only used if id = O_RU
...
...
@@ -1005,6 +1004,8 @@ static bool set_fh_config(void *mplane_api, int ru_idx, int num_rus, enum xran_c
fh_config
->
max_sections_per_symbol
=
0
;
// not used in xran
#if defined F_RELEASE
fh_config
->
RunSlotPrbMapBySymbolEnable
=
*
gpd
(
fhp
,
nfh
,
ORAN_CONFIG_CP_MULTISECTION
)
->
uptr
;
// enable PRB mapping by symbol with multisection
fh_config
->
dssEnable
=
0
;
// enable DSS (extension-9)
fh_config
->
dssPeriod
=
0
;
// DSS pattern period for LTE/NR
// fh_config->technology[XRAN_MAX_DSS_PERIODICITY] // technology array represents slot is LTE(0)/NR(1); used only if DSS enabled
...
...
radio/fhi_72/oran-init.c
View file @
c2ccca02
...
...
@@ -315,16 +315,8 @@ static void oran_allocate_buffers(void *handle,
};
#if defined F_RELEASE
uint32_t
size_of_prb_map
;
if
(
fh_config
->
RunSlotPrbMapBySymbolEnable
)
{
// For Liteon FR2 with RunSlotPrbMapBySymbolEnable, xran_prb_map will have xran_prb_elm prbMap[14]
size_of_prb_map
=
sizeof
(
struct
xran_prb_map
)
+
sizeof
(
struct
xran_prb_elm
)
*
(
XRAN_NUM_OF_SYMBOL_PER_SLOT
);
}
else
{
// For non-Liteon w/o RunSlotPrbMapBySymbolEnable, xran_prb_map will have xran_prb_elm prbMap[1]
uint32_t
numPrbElm
=
xran_get_num_prb_elm
(
&
dlPm
,
mtu
);
size_of_prb_map
=
sizeof
(
struct
xran_prb_map
)
+
sizeof
(
struct
xran_prb_elm
)
*
(
numPrbElm
);
}
uint32_t
numPrbElm
=
(
fh_config
->
RunSlotPrbMapBySymbolEnable
)
?
XRAN_NUM_OF_SYMBOL_PER_SLOT
:
xran_get_num_prb_elm
(
&
dlPm
,
mtu
);
uint32_t
size_of_prb_map
=
sizeof
(
struct
xran_prb_map
)
+
sizeof
(
struct
xran_prb_elm
)
*
(
numPrbElm
);
#endif
// PDSCH
...
...
radio/fhi_72/oran-params.h
View file @
c2ccca02
...
...
@@ -106,7 +106,7 @@
#define CONFIG_STRING_ORAN_FH "fh_config"
#define ORAN_CONFIG_
RunSlotPrbMapBySymbol
"RunSlotPrbMapBySymbol"
#define ORAN_CONFIG_
CP_MULTISECTION
"RunSlotPrbMapBySymbol"
#define ORAN_FH_CONFIG_T1A_CP_DL "T1a_cp_dl"
#define ORAN_FH_CONFIG_T1A_CP_UL "T1a_cp_ul"
#define ORAN_FH_CONFIG_T1A_UP "T1a_up"
...
...
@@ -116,7 +116,7 @@
// clang-format off
#define ORAN_FH_DESC { \
{ORAN_CONFIG_
RunSlotPrbMapBySymbol, "RunSlotPrbMapBySymbol\n", PARAMFLAG_BOOL, .uptr=NULL, .defuintval=0, TYPE_UINT,
0}, \
{ORAN_CONFIG_
CP_MULTISECTION, "RunSlotPrbMapBySymbol\n", PARAMFLAG_BOOL, .iptr=NULL, .defintval=0, TYPE_INT32,
0}, \
{ORAN_FH_CONFIG_T1A_CP_DL, "T1a_cp_dl" ORAN_FH_HLP_CPLT, PARAMFLAG_MANDATORY, .uptr=NULL, .defintarrayval=0, TYPE_UINTARRAY, 0}, \
{ORAN_FH_CONFIG_T1A_CP_UL, "T1a_cp_ul" ORAN_FH_HLP_CPLT, PARAMFLAG_MANDATORY, .uptr=NULL, .defintarrayval=0, TYPE_UINTARRAY, 0}, \
{ORAN_FH_CONFIG_T1A_UP, "T1a_up" ORAN_FH_HLP_CPLT, PARAMFLAG_MANDATORY, .uptr=NULL, .defintarrayval=0, TYPE_UINTARRAY, 0}, \
...
...
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