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
3083f4f3
Commit
3083f4f3
authored
May 14, 2024
by
ndomingues
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Common parameters to apply successRAR
parent
c4b51b78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
1 deletion
+55
-1
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
+55
-1
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
View file @
3083f4f3
...
...
@@ -244,6 +244,12 @@ typedef struct {
uint8_t
E
:
1
;
}
__attribute__
((
__packed__
))
NR_RA_HEADER_RAPID
;
typedef
struct
{
uint8_t
RAPID
:
6
;
uint8_t
T1
:
1
;
uint8_t
E
:
1
;
}
__attribute__
((
__packed__
))
NR_RA_HEADER_RAPID_MSGB
;
/*!\brief RAR MAC subheader with Backoff Indicator */
typedef
struct
{
uint8_t
BI
:
4
;
...
...
@@ -252,7 +258,23 @@ typedef struct {
uint8_t
E
:
1
;
}
__attribute__
((
__packed__
))
NR_RA_HEADER_BI
;
// TS 38.321 ch. 6.2.3
typedef
struct
{
uint8_t
BI
:
4
;
uint8_t
R
:
1
;
uint8_t
T2
:
1
;
uint8_t
T1
:
1
;
uint8_t
E
:
1
;
}
__attribute__
((
__packed__
))
NR_RA_HEADER_BI_MSGB
;
typedef
struct
{
uint8_t
R
:
4
;
uint8_t
S
:
1
;
uint8_t
T2
:
1
;
uint8_t
T1
:
1
;
uint8_t
E
:
1
;
}
__attribute__
((
__packed__
))
NR_RA_HEADER_SUCCESS_RAR_MSGB
;
// TS 38.321 Sec. 6.2.3
typedef
struct
{
uint8_t
TA1
:
7
;
// octet 1 [6:0]
uint8_t
R
:
1
;
// octet 1 [7]
...
...
@@ -265,6 +287,38 @@ typedef struct {
uint8_t
TCRNTI_2
:
8
;
// octet 7 [7:0]
}
__attribute__
((
__packed__
))
NR_MAC_RAR
;
// TS 38.321 Sec. 6.2.3
typedef
struct
{
uint8_t
TA1
:
7
;
// octet 1 [6:0]
uint8_t
R
:
1
;
// octet 1 [7]
uint8_t
UL_GRANT_1
:
3
;
// octet 2 [2:0]
uint8_t
TA2
:
5
;
// octet 2 [7:3]
uint8_t
UL_GRANT_2
:
8
;
// octet 3 [7:0]
uint8_t
UL_GRANT_3
:
8
;
// octet 4 [7:0]
uint8_t
UL_GRANT_4
:
8
;
// octet 5 [7:0]
uint8_t
TCRNTI_1
:
8
;
// octet 6 [7:0]
uint8_t
TCRNTI_2
:
8
;
// octet 7 [7:0]
}
__attribute__
((
__packed__
))
NR_MAC_RAR_MSGB
;
// TS 38.321 Sec. 6.2.3
typedef
struct
{
uint8_t
CONT_RES_1
:
8
;
// octet 1 [7:0]
uint8_t
CONT_RES_2
:
8
;
// octet 2 [7:0]
uint8_t
CONT_RES_3
:
8
;
// octet 3 [7:0]
uint8_t
CONT_RES_4
:
8
;
// octet 4 [7:0]
uint8_t
CONT_RES_5
:
8
;
// octet 5 [7:0]
uint8_t
CONT_RES_6
:
8
;
// octet 6 [7:0]
uint8_t
HARQ_FTI
:
3
;
// octet 7 [2:0]
uint8_t
TPC
:
2
;
// octet 7 [4:3]
uint8_t
CH_ACESS_CPEXT
:
2
;
// octet 7 [6:5]
uint8_t
R
:
1
;
// octet 7 [7]
uint8_t
TA1
:
4
;
// octet 8 [3:0]
uint8_t
PUCCH_RI
:
4
;
// octet 8 [7:4]
uint8_t
TA2
:
8
;
// octet 9 [7:0]
uint8_t
CRNTI_1
:
8
;
// octet 10 [7:0]
uint8_t
CRNTI_2
:
8
;
// octet 11 [7:0]
}
__attribute__
((
__packed__
))
NR_MAC_SUCCESS_RAR
;
// DCI pdu structures. Used by both gNB and UE.
typedef
struct
{
uint32_t
val
;
...
...
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