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
promise
OpenXG-RAN
Commits
ca5e6b61
Commit
ca5e6b61
authored
Nov 25, 2020
by
ChiehChun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct bit ordering in struct NR_BSR_LONG
parent
526b2f53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
+16
-16
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
View file @
ca5e6b61
...
@@ -102,22 +102,22 @@ typedef NR_BSR_SHORT NR_BSR_SHORT_TRUNCATED;
...
@@ -102,22 +102,22 @@ typedef NR_BSR_SHORT NR_BSR_SHORT_TRUNCATED;
// Long BSR for all logical channel group ID
// Long BSR for all logical channel group ID
typedef
struct
{
typedef
struct
{
uint8_t
Buffer_size7
:
8
;
uint8_t
LcgID0
:
1
;
// octet 1 [0]
uint8_t
Buffer_size6
:
8
;
uint8_t
LcgID1
:
1
;
// octet 1 [1]
uint8_t
Buffer_size5
:
8
;
uint8_t
LcgID2
:
1
;
// octet 1 [2]
uint8_t
Buffer_size4
:
8
;
uint8_t
LcgID3
:
1
;
// octet 1 [3]
uint8_t
Buffer_size3
:
8
;
uint8_t
LcgID4
:
1
;
// octet 1 [4]
uint8_t
Buffer_size2
:
8
;
uint8_t
LcgID5
:
1
;
// octet 1 [5]
uint8_t
Buffer_size1
:
8
;
uint8_t
LcgID6
:
1
;
// octet 1 [6]
uint8_t
Buffer_size0
:
8
;
uint8_t
LcgID7
:
1
;
// octet 1 [7]
uint8_t
LcgID0
:
1
;
uint8_t
Buffer_size0
:
8
;
// octet 2 [7:0]
uint8_t
LcgID1
:
1
;
uint8_t
Buffer_size1
:
8
;
// octet 3 [7:0]
uint8_t
LcgID2
:
1
;
uint8_t
Buffer_size2
:
8
;
// octet 4 [7:0]
uint8_t
LcgID3
:
1
;
uint8_t
Buffer_size3
:
8
;
// octet 5 [7:0]
uint8_t
LcgID4
:
1
;
uint8_t
Buffer_size4
:
8
;
// octet 6 [7:0]
uint8_t
LcgID5
:
1
;
uint8_t
Buffer_size5
:
8
;
// octet 7 [7:0]
uint8_t
LcgID6
:
1
;
uint8_t
Buffer_size6
:
8
;
// octet 8 [7:0]
uint8_t
LcgID7
:
1
;
uint8_t
Buffer_size7
:
8
;
// octet 9 [7:0]
}
__attribute__
((
__packed__
))
NR_BSR_LONG
;
}
__attribute__
((
__packed__
))
NR_BSR_LONG
;
typedef
NR_BSR_LONG
NR_BSR_LONG_TRUNCATED
;
typedef
NR_BSR_LONG
NR_BSR_LONG_TRUNCATED
;
...
...
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