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
常顺宇
OpenXG-RAN
Commits
f9e00c51
Commit
f9e00c51
authored
Dec 09, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix in msg3 freq allocation at UE
parent
3bae6a04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
openair2/LAYER2/NR_MAC_UE/rar_tools_nrUE.c
openair2/LAYER2/NR_MAC_UE/rar_tools_nrUE.c
+3
-1
No files found.
openair2/LAYER2/NR_MAC_UE/rar_tools_nrUE.c
View file @
f9e00c51
...
@@ -116,6 +116,7 @@ void nr_config_Msg3_pdu(NR_UE_MAC_INST_t *mac,
...
@@ -116,6 +116,7 @@ void nr_config_Msg3_pdu(NR_UE_MAC_INST_t *mac,
mask
=
(
1
<<
((
int
)
ceil
(
log2
((
ibwp_size
*
(
ibwp_size
+
1
))
>>
1
))))
-
1
;
mask
=
(
1
<<
((
int
)
ceil
(
log2
((
ibwp_size
*
(
ibwp_size
+
1
))
>>
1
))))
-
1
;
else
else
mask
=
(
1
<<
(
28
-
(
int
)(
ceil
(
log2
((
ibwp_size
*
(
ibwp_size
+
1
))
>>
1
)))))
-
1
;
mask
=
(
1
<<
(
28
-
(
int
)(
ceil
(
log2
((
ibwp_size
*
(
ibwp_size
+
1
))
>>
1
)))))
-
1
;
f_alloc
=
Msg3_f_alloc
&
mask
;
f_alloc
=
Msg3_f_alloc
&
mask
;
nr_ue_process_dci_freq_dom_resource_assignment
(
pusch_config_pdu
,
NULL
,
ibwp_size
,
0
,
f_alloc
);
nr_ue_process_dci_freq_dom_resource_assignment
(
pusch_config_pdu
,
NULL
,
ibwp_size
,
0
,
f_alloc
);
...
@@ -273,7 +274,8 @@ uint16_t nr_ue_process_rar(module_id_t mod_id,
...
@@ -273,7 +274,8 @@ uint16_t nr_ue_process_rar(module_id_t mod_id,
if
(
ue_mac
->
RA_RAPID_found
)
{
if
(
ue_mac
->
RA_RAPID_found
)
{
uint8_t
freq_hopping
,
mcs
,
Msg3_t_alloc
,
Msg3_f_alloc
;
uint8_t
freq_hopping
,
mcs
,
Msg3_t_alloc
;
uint16_t
Msg3_f_alloc
;
unsigned
char
tpc_command
;
unsigned
char
tpc_command
;
#ifdef DEBUG_RAR
#ifdef DEBUG_RAR
unsigned
char
csi_req
;
unsigned
char
csi_req
;
...
...
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