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
2922ea51
Commit
2922ea51
authored
Jun 21, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix also on gnb side
parent
bdc445f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+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_gNB/gNB_scheduler_RA.c
View file @
2922ea51
...
@@ -2224,7 +2224,7 @@ static void nr_fill_rar(uint8_t Mod_idP, NR_RA_t *ra, uint8_t *dlsch_buffer, nfa
...
@@ -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
);
int
mcs
=
(
unsigned
char
)
(
rar
->
UL_GRANT_4
>>
4
);
// time alloc
// 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
// frequency alloc
int
Msg3_f_alloc
=
(
uint16_t
)
((
rar
->
UL_GRANT_3
>>
4
)
|
(
rar
->
UL_GRANT_2
<<
4
)
|
((
rar
->
UL_GRANT_1
&
0x03
)
<<
12
));
int
Msg3_f_alloc
=
(
uint16_t
)
((
rar
->
UL_GRANT_3
>>
4
)
|
(
rar
->
UL_GRANT_2
<<
4
)
|
((
rar
->
UL_GRANT_1
&
0x03
)
<<
12
));
// frequency hopping
// 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