Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG UE
Commits
3ed550ec
Commit
3ed550ec
authored
Jul 16, 2020
by
cig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in RA window computation
parent
d3054695
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
+9
-10
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
View file @
3ed550ec
...
@@ -62,9 +62,8 @@
...
@@ -62,9 +62,8 @@
#include "NR_MAC_COMMON/nr_mac.h"
#include "NR_MAC_COMMON/nr_mac.h"
#include "LAYER2/NR_MAC_UE/mac_proto.h"
#include "LAYER2/NR_MAC_UE/mac_proto.h"
extern
int64_t
table_6_3_3_2_2_prachConfig_Index
[
256
][
9
];
extern
int64_t
table_6_3_3_2_3_prachConfig_Index
[
256
][
9
];
extern
int64_t
table_6_3_3_2_3_prachConfig_Index
[
256
][
9
];
extern
const
uint
16
_t
nr_slots_per_frame
[
5
];
extern
const
uint
8
_t
nr_slots_per_frame
[
5
];
//extern uint8_t nfapi_mode;
//extern uint8_t nfapi_mode;
...
@@ -616,28 +615,28 @@ void nr_get_RA_window(NR_UE_MAC_INST_t *mac){
...
@@ -616,28 +615,28 @@ void nr_get_RA_window(NR_UE_MAC_INST_t *mac){
mac
->
RA_window_cnt
=
mac
->
RA_offset
*
nr_slots_per_frame
[
mu
];
// taking into account the 2 frames gap introduced by OAI gNB
mac
->
RA_window_cnt
=
mac
->
RA_offset
*
nr_slots_per_frame
[
mu
];
// taking into account the 2 frames gap introduced by OAI gNB
switch
(
ra_ResponseWindow
)
{
switch
(
ra_ResponseWindow
)
{
case
0
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl1
:
mac
->
RA_window_cnt
+=
1
;
mac
->
RA_window_cnt
+=
1
;
break
;
break
;
case
1
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl2
:
mac
->
RA_window_cnt
+=
2
;
mac
->
RA_window_cnt
+=
2
;
break
;
break
;
case
2
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl4
:
mac
->
RA_window_cnt
+=
4
;
mac
->
RA_window_cnt
+=
4
;
break
;
break
;
case
3
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl8
:
mac
->
RA_window_cnt
+=
8
;
mac
->
RA_window_cnt
+=
8
;
break
;
break
;
case
4
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl10
:
mac
->
RA_window_cnt
+=
10
;
mac
->
RA_window_cnt
+=
10
;
break
;
break
;
case
5
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl20
:
mac
->
RA_window_cnt
+=
20
;
mac
->
RA_window_cnt
+=
20
;
break
;
break
;
case
6
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl40
:
mac
->
RA_window_cnt
+=
40
;
mac
->
RA_window_cnt
+=
40
;
break
;
break
;
case
7
:
case
NR_RACH_ConfigGeneric__ra_ResponseWindow_sl80
:
mac
->
RA_window_cnt
+=
80
;
mac
->
RA_window_cnt
+=
80
;
break
;
break
;
}
}
...
...
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