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
2f40c9ff
Commit
2f40c9ff
authored
Jan 15, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporary: makes Benetel work?
parent
835aec37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
radio/ETHERNET/oran/5g/oaioran.c
radio/ETHERNET/oran/5g/oaioran.c
+7
-9
No files found.
radio/ETHERNET/oran/5g/oaioran.c
View file @
2f40c9ff
...
...
@@ -290,18 +290,16 @@ int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot){
struct
xran_prb_map
*
pPrbMap
=
(
struct
xran_prb_map
*
)
pPrbMapData
;
struct
xran_prb_elm
*
pRbElm
=
&
pPrbMap
->
prbMap
[
0
];
struct
xran_section_desc
*
p_sec_desc
=
pRbElm
->
p_sec_desc
[
sym_idx
][
0
];
uint32_t
one_rb_size
=
(((
pRbElm
->
iqWidth
==
0
)
||
(
pRbElm
->
iqWidth
==
16
))
?
(
N_SC_PER_PRB
*
2
*
2
)
:
(
3
*
pRbElm
->
iqWidth
+
1
));
if
(
xran_ctx
->
fh_init
.
mtu
<
pRbElm
->
nRBSize
*
one_rb_size
)
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
;
else
pData
=
p_sec_desc
->
pData
;
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
;
//}
ptr
=
pData
;
pos
=
(
int32_t
*
)(
start_ptr
+
(
4
*
sym_idx
*
4096
));
uint8_t
*
u8dptr
;
struct
xran_prb_map
*
pRbMap
=
pPrbMap
;
if
(
ptr
&&
pos
){
AssertFatal
(
ptr
!=
NULL
,
"ptr NULL
\n
"
);
AssertFatal
(
pos
!=
NULL
,
"pos NULL
\n
"
);
if
(
1
){
uint32_t
idxElm
=
0
;
u8dptr
=
(
uint8_t
*
)
ptr
;
int16_t
payload_len
=
0
;
...
...
@@ -366,8 +364,8 @@ int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot){
}
}
else
{
exit
(
-
1
);
printf
(
"ptr ==NULL
\n
"
);
exit
(
-
1
);
}
}
//sym_ind
}
//ant_ind
...
...
@@ -505,8 +503,8 @@ int xran_fh_tx_send_slot(ru_info_t *ru, int frame, int slot, uint64_t timestamp)
pRbMap
->
tti_id
=
tti
;
}
else
{
exit
(
-
1
);
printf
(
"ptr ==NULL
\n
"
);
exit
(
-
1
);
// fails here??
}
}
}
...
...
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