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
zzha zzha
OpenXG-RAN
Commits
4bcdb0f6
Commit
4bcdb0f6
authored
Jun 23, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR_UE_RAR_fix' into integration_2023_w25
parents
5d1dbf13
2922ea51
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+1
-1
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
4bcdb0f6
...
...
@@ -4081,7 +4081,7 @@ int nr_ue_process_rar(nr_downlink_indication_t *dl_info, int pdu_id)
// MCS
rar_grant
.
mcs
=
(
unsigned
char
)
(
rar
->
UL_GRANT_4
>>
4
);
// time alloc
rar_grant
.
Msg3_t_alloc
=
(
unsigned
char
)
(
rar
->
UL_GRANT_3
&
0x0
7
);
rar_grant
.
Msg3_t_alloc
=
(
unsigned
char
)
(
rar
->
UL_GRANT_3
&
0x0
f
);
// frequency alloc
rar_grant
.
Msg3_f_alloc
=
(
uint16_t
)
((
rar
->
UL_GRANT_3
>>
4
)
|
(
rar
->
UL_GRANT_2
<<
4
)
|
((
rar
->
UL_GRANT_1
&
0x03
)
<<
12
));
// frequency hopping
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
4bcdb0f6
...
...
@@ -2224,7 +2224,7 @@ static void nr_fill_rar(uint8_t Mod_idP, NR_RA_t *ra, uint8_t *dlsch_buffer, nfa
int
mcs
=
(
unsigned
char
)
(
rar
->
UL_GRANT_4
>>
4
);
// time alloc
int
Msg3_t_alloc
=
(
unsigned
char
)
(
rar
->
UL_GRANT_3
&
0x0
7
);
int
Msg3_t_alloc
=
(
unsigned
char
)
(
rar
->
UL_GRANT_3
&
0x0
f
);
// frequency alloc
int
Msg3_f_alloc
=
(
uint16_t
)
((
rar
->
UL_GRANT_3
>>
4
)
|
(
rar
->
UL_GRANT_2
<<
4
)
|
((
rar
->
UL_GRANT_1
&
0x03
)
<<
12
));
// frequency hopping
...
...
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