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
ZhouShuya
OpenXG-RAN
Commits
566deea2
Commit
566deea2
authored
Oct 13, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only transfer BCH PDU if SI/SIB not decoded
parent
3824b49f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
openair2/LAYER2/MAC/mac.h
openair2/LAYER2/MAC/mac.h
+1
-0
openair2/LAYER2/MAC/ue_procedures.c
openair2/LAYER2/MAC/ue_procedures.c
+1
-0
openair2/RRC/LTE/L2_interface_ue.c
openair2/RRC/LTE/L2_interface_ue.c
+4
-2
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_UE.c
+1
-0
No files found.
openair2/LAYER2/MAC/mac.h
View file @
566deea2
...
@@ -1677,6 +1677,7 @@ typedef struct {
...
@@ -1677,6 +1677,7 @@ typedef struct {
/// after the reception of NFAPI_UL_CONFIG_ULSCH_PDU_TYPE.
/// after the reception of NFAPI_UL_CONFIG_ULSCH_PDU_TYPE.
uint8_t
first_ULSCH_Tx
;
uint8_t
first_ULSCH_Tx
;
uint8_t
SI_Decoded
;
uint8_t
SI_Decoded
;
uint8_t
SIB_Decoded
;
int
ra_frame
;
// This variable keeps the frame in which the RA started for the specific UE. It is used in order
int
ra_frame
;
// This variable keeps the frame in which the RA started for the specific UE. It is used in order
// to make sure that different UEs RA starts within a number of frames difference.
// to make sure that different UEs RA starts within a number of frames difference.
...
...
openair2/LAYER2/MAC/ue_procedures.c
View file @
566deea2
...
@@ -161,6 +161,7 @@ void ue_init_mac(module_id_t module_idP) {
...
@@ -161,6 +161,7 @@ void ue_init_mac(module_id_t module_idP) {
UE_mac_inst
[
module_idP
].
UE_mode
[
0
]
=
PRACH_INACTIVE
;
UE_mac_inst
[
module_idP
].
UE_mode
[
0
]
=
PRACH_INACTIVE
;
UE_mac_inst
[
module_idP
].
first_ULSCH_Tx
=
0
;
UE_mac_inst
[
module_idP
].
first_ULSCH_Tx
=
0
;
UE_mac_inst
[
module_idP
].
SI_Decoded
=
0
;
UE_mac_inst
[
module_idP
].
SI_Decoded
=
0
;
UE_mac_inst
[
module_idP
].
SIB_Decoded
=
0
;
next_ra_frame
=
0
;
next_ra_frame
=
0
;
next_Mod_id
=
0
;
next_Mod_id
=
0
;
tx_request_pdu_list
=
NULL
;
tx_request_pdu_list
=
NULL
;
...
...
openair2/RRC/LTE/L2_interface_ue.c
View file @
566deea2
...
@@ -116,7 +116,7 @@ mac_rrc_data_req_ue(
...
@@ -116,7 +116,7 @@ mac_rrc_data_req_ue(
return
(
0
);
return
(
0
);
}
}
extern
UE_MAC_INST
*
UE_mac_inst
;
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
int8_t
int8_t
mac_rrc_data_ind_ue
(
mac_rrc_data_ind_ue
(
...
@@ -168,7 +168,9 @@ mac_rrc_data_ind_ue(
...
@@ -168,7 +168,9 @@ mac_rrc_data_ind_ue(
}
}
}
}
if
(
srb_idP
==
BCCH
)
{
if
(
srb_idP
==
BCCH
&&
(
!
UE_mac_inst
[
ctxt
.
instance
].
SI_Decoded
||
!
UE_mac_inst
[
ctxt
.
instance
].
SIB_Decoded
))
{
LOG_D
(
RRC
,
"[UE %d] Received SDU for BCCH on SRB %ld from eNB %d
\n
"
,
module_idP
,
srb_idP
,
eNB_indexP
);
LOG_D
(
RRC
,
"[UE %d] Received SDU for BCCH on SRB %ld from eNB %d
\n
"
,
module_idP
,
srb_idP
,
eNB_indexP
);
{
{
MessageDef
*
message_p
;
MessageDef
*
message_p
;
...
...
openair2/RRC/LTE/rrc_UE.c
View file @
566deea2
...
@@ -2599,6 +2599,7 @@ int decode_BCCH_DLSCH_Message(
...
@@ -2599,6 +2599,7 @@ int decode_BCCH_DLSCH_Message(
sizeof
(
LTE_SystemInformationBlockType1_t
)
);
sizeof
(
LTE_SystemInformationBlockType1_t
)
);
LOG_D
(
RRC
,
"[UE %"
PRIu8
"] Decoding First SIB1
\n
"
,
ctxt_pP
->
module_id
);
LOG_D
(
RRC
,
"[UE %"
PRIu8
"] Decoding First SIB1
\n
"
,
ctxt_pP
->
module_id
);
decode_SIB1
(
ctxt_pP
,
eNB_index
,
rsrq
,
rsrp
);
decode_SIB1
(
ctxt_pP
,
eNB_index
,
rsrq
,
rsrp
);
UE_mac_inst
[
ctxt_pP
->
module_id
].
SIB_Decoded
=
1
;
}
}
}
}
...
...
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