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
spbro
OpenXG-RAN
Commits
fc8ed209
Commit
fc8ed209
authored
Jul 09, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bugfix_compute_PDU_Length' into integration_2024_w27
parents
9f86e33e
d795c729
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
+1
-1
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
+1
-1
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.c
View file @
fc8ed209
...
...
@@ -5218,7 +5218,7 @@ bool supported_bw_comparison(int bw_mhz, NR_SupportedBandwidth_t *supported_BW,
return
false
;
}
uint32_t
compute_PDU_length
(
uint32_t
num_TLV
,
uint
16
_t
total_length
)
uint32_t
compute_PDU_length
(
uint32_t
num_TLV
,
uint
32
_t
total_length
)
{
uint32_t
pdu_length
=
8
;
// 2 bytes PDU_Length + 2 bytes PDU_Index + 4 bytes num_TLV
// For each TLV, add 2 bytes tag + 2 bytes length + value size without padding
...
...
openair2/LAYER2/NR_MAC_COMMON/nr_mac_common.h
View file @
fc8ed209
...
...
@@ -311,7 +311,7 @@ void compute_csi_bitlen(const NR_CSI_MeasConfig_t *csi_MeasConfig, nr_csi_report
uint16_t
nr_get_csi_bitlen
(
nr_csi_report_t
*
csi_report
);
uint32_t
compute_PDU_length
(
uint32_t
num_TLV
,
uint
16
_t
total_length
);
uint32_t
compute_PDU_length
(
uint32_t
num_TLV
,
uint
32
_t
total_length
);
rnti_t
nr_get_ra_rnti
(
uint8_t
s_id
,
uint8_t
t_id
,
uint8_t
f_id
,
uint8_t
ul_carrier_id
);
...
...
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