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
Michael Black
OpenXG-RAN
Commits
815032d0
Commit
815032d0
authored
May 27, 2023
by
eurecom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing between skylark and peafowl
parent
9d1f3b18
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
CMakeLists.txt
CMakeLists.txt
+1
-1
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-1
radio/ETHERNET/oran/5g/config_bronze.c
radio/ETHERNET/oran/5g/config_bronze.c
+1
-1
radio/ETHERNET/oran/5g/oaioran.c
radio/ETHERNET/oran/5g/oaioran.c
+11
-3
No files found.
CMakeLists.txt
View file @
815032d0
...
...
@@ -620,7 +620,7 @@ target_link_libraries(benetel_5g PRIVATE asn1_nr_rrc asn1_lte_rrc)
# ORAN 5G library
######################################################################
add_boolean_option
(
ORAN_BRONZE O
FF
"Build support for Bronze version of ORAN FHI"
)
add_boolean_option
(
ORAN_BRONZE O
N
"Build support for Bronze version of ORAN FHI"
)
if
(
ORAN_BRONZE
)
set
(
ORAN_FHLIB_5G_SOURCE
${
OPENAIR_DIR
}
/radio/ETHERNET/oran/5g/sample-app-bronze.c
...
...
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
815032d0
...
...
@@ -698,7 +698,7 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
int
pusch_DTX
=
0
;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_gNB_UESPEC_RX
,
1
);
LOG_
D
(
PHY
,
"phy_procedures_gNB_uespec_RX frame %d, slot %d
\n
"
,
frame_rx
,
slot_rx
);
LOG_
I
(
PHY
,
"phy_procedures_gNB_uespec_RX frame %d, slot %d
\n
"
,
frame_rx
,
slot_rx
);
fill_ul_rb_mask
(
gNB
,
frame_rx
,
slot_rx
);
...
...
radio/ETHERNET/oran/5g/config_bronze.c
View file @
815032d0
...
...
@@ -87,7 +87,7 @@
#define KEY_FILE_AxC "antC"
#define KEY_FILE_PRACH_AxC "antPrachC"
#define KEY_PRACH_ENABLE "rachE
an
ble"
#define KEY_PRACH_ENABLE "rachE
na
ble"
#define KEY_SRS_ENABLE "srsEanble"
#define KEY_PRACH_CFGIDX "prachConfigIndex"
...
...
radio/ETHERNET/oran/5g/oaioran.c
View file @
815032d0
...
...
@@ -279,6 +279,7 @@ int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot){
// This loop would better be more inner to avoid confusion and maybe also errors.
for
(
int32_t
sym_idx
=
0
;
sym_idx
<
XRAN_NUM_OF_SYMBOL_PER_SLOT
;
sym_idx
++
)
{
LOG_D
(
PHY
,
"ORAN RX: CC %d, ant %d, sym %d, tti %d
\n
"
,
cc_id
,
ant_id
,
sym_idx
,
tti
);
uint8_t
*
pData
=
xran_ctx
->
sFrontHaulRxBbuIoBufCtrl
[
tti
%
XRAN_N_FE_BUF_LEN
][
cc_id
][
ant_id
].
sBufferList
.
pBuffers
[
sym_idx
%
XRAN_NUM_OF_SYMBOL_PER_SLOT
].
pData
;
uint8_t
*
pPrbMapData
=
xran_ctx
->
sFrontHaulRxPrbMapBbuIoBufCtrl
[
tti
%
XRAN_N_FE_BUF_LEN
][
cc_id
][
ant_id
].
sBufferList
.
pBuffers
->
pData
;
struct
xran_prb_map
*
pPrbMap
=
(
struct
xran_prb_map
*
)
pPrbMapData
;
...
...
@@ -303,7 +304,10 @@ int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot){
struct
xran_prb_elm
*
p_prbMapElm
=
&
pRbMap
->
prbMap
[
idxElm
];
LOG_D
(
PHY
,
"pRbMap->nPrbElm %d
\n
"
,
pRbMap
->
nPrbElm
);
for
(
idxElm
=
0
;
idxElm
<
pRbMap
->
nPrbElm
;
idxElm
++
)
{
LOG_D
(
PHY
,
"prbMap[%d] : PRBstart %d nPRBs %d
\n
"
,
idxElm
,
pRbMap
->
prbMap
[
idxElm
].
nRBStart
,
pRbMap
->
prbMap
[
idxElm
].
nRBSize
);
struct
xran_section_desc
*
p_sec_desc
=
NULL
;
p_prbMapElm
=
&
pRbMap
->
prbMap
[
idxElm
];
#ifdef ORAN_BRONZE
...
...
@@ -334,6 +338,7 @@ int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot){
for
(
idx
=
0
;
idx
<
payload_len
/
(
2
*
sizeof
(
int16_t
));
idx
++
)
{
((
int16_t
*
)
dst1
)[
idx
]
=
((
int16_t
)
ntohs
(((
uint16_t
*
)
src1
)[
idx
]))
>>
2
;
((
int16_t
*
)
dst2
)[
idx
]
=
((
int16_t
)
ntohs
(((
uint16_t
*
)
src2
)[
idx
]))
>>
2
;
//if (sym_idx==0 && idx<16) LOG_I(PHY,"%d: %d,%d\n",idx,((int16_t *)dst1)[idx],((int16_t *)dst1)[idx]);
}
}
else
if
(
p_prbMapElm
->
compMethod
==
XRAN_COMPMETHOD_BLKFLOAT
)
{
struct
xranlib_decompress_request
bfp_decom_req_2
;
...
...
@@ -444,9 +449,12 @@ int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot){
exit
(
-
1
);
printf
(
"ptr ==NULL
\n
"
);
}
}
}
}
LOG_I
(
PHY
,
"%d.%d ant %d sym %d : %p en %d
\n
"
,
*
frame
,
*
slot
,
ant_id
,
sym_idx
,
pos
,
signal_energy_nodc
(
pos
,
4096
));
}
//sym_ind
}
//ant_ind
}
//vv_inf
#ifdef ORAN_BRONZE
if
((
*
frame
&
0x7f
)
==
0
&&
*
slot
==
0
&&
xran_get_common_counters
(
xranHandle
,
&
x_counters
[
0
])
==
XRAN_STATUS_SUCCESS
)
#else
...
...
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