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
1faf08e1
Commit
1faf08e1
authored
Jan 09, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving initialization of msg3 frame and slot
parent
2628be1e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
openair1/PHY/NR_REFSIG/nr_gold_ue.c
openair1/PHY/NR_REFSIG/nr_gold_ue.c
+1
-1
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+2
-0
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
+0
-1
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
+0
-2
No files found.
openair1/PHY/NR_REFSIG/nr_gold_ue.c
View file @
1faf08e1
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
1faf08e1
...
...
@@ -421,6 +421,8 @@ int nr_rrc_mac_config_req_ue(
mac
->
scg
=
cell_group_config
;
mac
->
servCellIndex
=
*
cell_group_config
->
spCellConfig
->
servCellIndex
;
config_control_ue
(
mac
);
mac
->
msg3_frame
=
-
1
;
// initialize to an invalid value
mac
->
msg3_slot
=
-
1
;
if
(
cell_group_config
->
spCellConfig
->
reconfigurationWithSync
)
{
mac
->
rach_ConfigDedicated
=
cell_group_config
->
spCellConfig
->
reconfigurationWithSync
->
rach_ConfigDedicated
->
choice
.
uplink
;
mac
->
scc
=
cell_group_config
->
spCellConfig
->
reconfigurationWithSync
->
spCellConfigCommon
;
...
...
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
View file @
1faf08e1
...
...
@@ -52,7 +52,6 @@ NR_UE_MAC_INST_t * nr_l2_init_ue(NR_UE_RRC_INST_t* rrc_inst)
nr_ue_mac_inst
=
(
NR_UE_MAC_INST_t
*
)
calloc
(
sizeof
(
NR_UE_MAC_INST_t
),
NB_NR_UE_MAC_INST
);
if
(
rrc_inst
)
{
nr_rrc_mac_config_req_ue
(
0
,
0
,
0
,
NULL
,
rrc_inst
->
cell_group_config
);
if
(
IS_SOFTMODEM_NOS1
){
AssertFatal
(
rlc_module_init
(
0
)
==
0
,
"%s: Could not initialize RLC layer
\n
"
,
__FUNCTION__
);
pdcp_layer_init
();
...
...
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
View file @
1faf08e1
...
...
@@ -499,8 +499,6 @@ uint8_t nr_ue_get_rach(NR_PRACH_RESOURCES_t *prach_resources,
mac
->
RA_PREAMBLE_TRANSMISSION_COUNTER
=
1
;
mac
->
RA_PREAMBLE_POWER_RAMPING_COUNTER
=
1
;
mac
->
RA_Msg3_size
=
size_sdu
+
sizeof
(
NR_MAC_SUBHEADER_SHORT
)
+
sizeof
(
NR_MAC_SUBHEADER_SHORT
);
mac
->
msg3_frame
=
-
1
;
// initialize to an invalid value
mac
->
msg3_slot
=
-
1
;
mac
->
RA_prachMaskIndex
=
0
;
// todo: add the backoff condition here
mac
->
RA_backoff_cnt
=
0
;
...
...
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