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
31134547
Commit
31134547
authored
Jun 03, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TX data request for length > 16bits
parent
5d10d031
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
+1
-1
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
+2
-2
openair1/PHY/NR_TRANSPORT/nr_dlsch.h
openair1/PHY/NR_TRANSPORT/nr_dlsch.h
+1
-1
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
+1
-1
openair1/PHY/NR_TRANSPORT/nr_dlsch_tools.c
openair1/PHY/NR_TRANSPORT/nr_dlsch_tools.c
+1
-1
openair1/SCHED_NR/fapi_nr_l1.c
openair1/SCHED_NR/fapi_nr_l1.c
+1
-1
No files found.
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
View file @
31134547
...
...
@@ -29,7 +29,7 @@ typedef struct {
/// Value: 0 -> 1, 0: Payload is carried directly in the value field, 1: Pointer to payload is in the value field
uint16_t
tag
;
/// Length of the actual payload in bytes, without the padding bytes Value: 0 → 65535
uint
16
_t
length
;
uint
32
_t
length
;
union
{
uint32_t
*
ptr
;
uint32_t
direct
[
38016
];
...
...
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
View file @
31134547
...
...
@@ -2086,7 +2086,7 @@ static uint8_t pack_tx_data_pdu_list_value(void *tlv, uint8_t **ppWritePackedMsg
uint16_t
total_number_of_tlvs
=
value
->
num_TLV
;
for
(;
i
<
total_number_of_tlvs
;
++
i
)
{
if
(
!
(
push16
(
value
->
TLVs
[
i
].
tag
,
ppWritePackedMsg
,
end
)
&&
push
16
(
value
->
TLVs
[
i
].
length
,
ppWritePackedMsg
,
end
)))
if
(
!
(
push16
(
value
->
TLVs
[
i
].
tag
,
ppWritePackedMsg
,
end
)
&&
push
32
(
value
->
TLVs
[
i
].
length
,
ppWritePackedMsg
,
end
)))
return
0
;
switch
(
value
->
TLVs
[
i
].
tag
)
{
...
...
@@ -6007,7 +6007,7 @@ static uint8_t unpack_tx_data_pdu_list_value(uint8_t **ppReadPackedMsg, uint8_t
for
(;
i
<
total_number_of_tlvs
;
++
i
)
{
if
(
!
(
pull16
(
ppReadPackedMsg
,
&
pNfapiMsg
->
TLVs
[
i
].
tag
,
end
)
&&
pull
16
(
ppReadPackedMsg
,
&
pNfapiMsg
->
TLVs
[
i
].
length
,
end
)))
pull
32
(
ppReadPackedMsg
,
&
pNfapiMsg
->
TLVs
[
i
].
length
,
end
)))
return
0
;
switch
(
pNfapiMsg
->
TLVs
[
i
].
tag
)
{
...
...
openair1/PHY/NR_TRANSPORT/nr_dlsch.h
View file @
31134547
...
...
@@ -36,7 +36,7 @@
#include "PHY/defs_gNB.h"
void
nr_fill_dlsch_dl_tti_req
(
processingData_L1tx_t
*
msgTx
,
nfapi_nr_dl_tti_pdsch_pdu
*
pdsch_pdu
);
void
nr_fill_dlsch_tx_req
(
processingData_L1tx_t
*
msgTx
,
int
idx
,
uint8_t
*
sdu
,
uint
16
_t
sdu_len
);
void
nr_fill_dlsch_tx_req
(
processingData_L1tx_t
*
msgTx
,
int
idx
,
uint8_t
*
sdu
,
uint
32
_t
sdu_len
);
void
nr_generate_pdsch
(
processingData_L1tx_t
*
msgTx
,
int
frame
,
...
...
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
View file @
31134547
...
...
@@ -273,7 +273,7 @@ int nr_dlsch_encoding(PHY_VARS_gNB *gNB,
impp
.
Zc
=
harq
->
Z
;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_gNB_DLSCH_ENCODING
,
VCD_FUNCTION_IN
);
uint32_t
A
=
rel15
->
TBSize
[
0
]
<<
3
;
AssertError
(
A
==
harq
->
sdu_len
*
8
,
return
-
1
,
"A %d bits
sdu_len %d bytes %d bits
\n
"
,
A
,
harq
->
sdu_len
,
harq
->
sdu_len
*
8
);
AssertError
(
A
==
harq
->
sdu_len
*
8
,
return
-
1
,
"A %d bits
TBSize %d sdu_len %d bytes %d bits
\n
"
,
A
,
rel15
->
TBSize
[
0
]
,
harq
->
sdu_len
,
harq
->
sdu_len
*
8
);
unsigned
char
*
a
=
harq
->
sdu
;
if
(
rel15
->
rnti
!=
SI_RNTI
)
trace_NRpdu
(
DIRECTION_DOWNLINK
,
a
,
rel15
->
TBSize
[
0
],
WS_C_RNTI
,
rel15
->
rnti
,
frame
,
slot
,
0
,
0
);
...
...
openair1/PHY/NR_TRANSPORT/nr_dlsch_tools.c
View file @
31134547
...
...
@@ -58,7 +58,7 @@ void nr_fill_dlsch_dl_tti_req(processingData_L1tx_t *msgTx, nfapi_nr_dl_tti_pdsc
harq
->
sdu_len
=
0
;
}
void
nr_fill_dlsch_tx_req
(
processingData_L1tx_t
*
msgTx
,
int
idx
,
uint8_t
*
sdu
,
uint
16
_t
sdu_len
)
void
nr_fill_dlsch_tx_req
(
processingData_L1tx_t
*
msgTx
,
int
idx
,
uint8_t
*
sdu
,
uint
32
_t
sdu_len
)
{
AssertFatal
(
sdu
!=
NULL
,
"sdu is null
\n
"
);
...
...
openair1/SCHED_NR/fapi_nr_l1.c
View file @
31134547
...
...
@@ -192,7 +192,7 @@ void nr_schedule_tx_req(PHY_VARS_gNB *gNB, nfapi_nr_tx_data_request_t *TX_req)
processingData_L1tx_t
*
msgTx
=
gNB
->
msgDataTx
;
for
(
int
idx
=
0
;
idx
<
TX_req
->
Number_of_PDUs
;
++
idx
)
{
uint
16
_t
len
=
TX_req
->
pdu_list
[
idx
].
TLVs
[
0
].
length
;
uint
32
_t
len
=
TX_req
->
pdu_list
[
idx
].
TLVs
[
0
].
length
;
uint8_t
*
sdu
=
(
uint8_t
*
)
TX_req
->
pdu_list
[
idx
].
TLVs
[
0
].
value
.
direct
;
nr_fill_dlsch_tx_req
(
msgTx
,
idx
,
sdu
,
len
);
}
...
...
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