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
wangjie
OpenXG-RAN
Commits
a0f2d481
Commit
a0f2d481
authored
Aug 16, 2017
by
islam.galal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eMTC modem receives SIB1 & SIB23 successfully
parent
4d6af687
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
17 deletions
+39
-17
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+1
-1
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+25
-7
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
...JECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
+13
-9
No files found.
openair2/ENB_APP/enb_config.c
View file @
a0f2d481
...
...
@@ -4063,7 +4063,7 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
RRC_CONFIGURATION_REQ
(
msg_p
).
si_HoppingConfigCommon_r13
[
j
]
=
si_HoppingConfigCommon_r13
;
RRC_CONFIGURATION_REQ
(
msg_p
).
startSymbolBR_r13
[
j
]
=
startSymbolBR_r13
;
if
(
config_setting_lookup_int
(
setting_br13
,
ENB_CONFIG_STRING_
Q_QUALMINRSRQ_C
E
,
&
si_ValidityTime_r13
))
if
(
config_setting_lookup_int
(
setting_br13
,
ENB_CONFIG_STRING_
SI_VALIDITYTIM
E
,
&
si_ValidityTime_r13
))
{
RRC_CONFIGURATION_REQ
(
msg_p
).
si_ValidityTime_r13
[
j
]
=
calloc
(
1
,
sizeof
(
long
));
*
RRC_CONFIGURATION_REQ
(
msg_p
).
si_ValidityTime_r13
[
j
]
=
si_ValidityTime_r13
;
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
a0f2d481
...
...
@@ -608,10 +608,15 @@ uint8_t do_SIB1(rrc_eNB_carrier_data_t *carrier,
else
{
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_DownlinkOrTddSubframeBitmapBR_r13
->
present
=
SystemInformationBlockType1_v1310_IEs__bandwidthReducedAccessRelatedInfo_r13__fdd_DownlinkOrTddSubframeBitmapBR_r13_PR_subframePattern
1
0_r13
;
=
SystemInformationBlockType1_v1310_IEs__bandwidthReducedAccessRelatedInfo_r13__fdd_DownlinkOrTddSubframeBitmapBR_r13_PR_subframePattern
4
0_r13
;
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_DownlinkOrTddSubframeBitmapBR_r13
->
choice
.
subframePattern40_r13
.
buf
=
calloc
(
5
,
sizeof
(
uint8_t
));
memmove
(
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_DownlinkOrTddSubframeBitmapBR_r13
->
choice
.
subframePattern40_r13
.
buf
,
&
configuration
->
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
[
CC_id
],
5
*
sizeof
(
uint8_t
));
// memmove(sib1_1310->bandwidthReducedAccessRelatedInfo_r13->fdd_DownlinkOrTddSubframeBitmapBR_r13->choice.subframePattern40_r13.buf, &configuration->fdd_DownlinkOrTddSubframeBitmapBR_val_r13[CC_id], 5 * sizeof(uint8_t));
int
bm_index
;
for
(
bm_index
=
0
;
bm_index
<
5
;
bm_index
++
)
{
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_DownlinkOrTddSubframeBitmapBR_r13
->
choice
.
subframePattern40_r13
.
buf
[
bm_index
]
=
0xFF
;
}
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_DownlinkOrTddSubframeBitmapBR_r13
->
choice
.
subframePattern40_r13
.
size
=
5
;
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_DownlinkOrTddSubframeBitmapBR_r13
->
choice
.
subframePattern40_r13
.
bits_unused
=
0
;
}
...
...
@@ -647,6 +652,7 @@ uint8_t do_SIB1(rrc_eNB_carrier_data_t *carrier,
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
si_ValidityTime_r13
=
calloc
(
1
,
sizeof
(
long
));
memset
(
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
si_ValidityTime_r13
,
0
,
sizeof
(
long
));
*
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
si_ValidityTime_r13
=
*
configuration
->
si_ValidityTime_r13
[
CC_id
];
printf
(
"[DEBUGGING][KOGO]: si_validity time = %d
\n
"
,
*
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
si_ValidityTime_r13
);
}
else
{
...
...
@@ -1783,16 +1789,16 @@ uint8_t do_SIB23(uint8_t Mod_id,
(
*
sib3
)
->
cellReselectionInfoCommon
.
speedStateReselectionPars
=
NULL
;
(
*
sib3
)
->
cellReselectionServingFreqInfo
.
s_NonIntraSearch
=
NULL
;
(
*
sib3
)
->
cellReselectionServingFreqInfo
.
threshServingLow
=
31
;
(
*
sib3
)
->
cellReselectionServingFreqInfo
.
cellReselectionPriority
=
7
;
(
*
sib3
)
->
cellReselectionServingFreqInfo
.
s_NonIntraSearch
=
NULL
;
(
*
sib3
)
->
cellReselectionServingFreqInfo
.
threshServingLow
=
0
;
(
*
sib3
)
->
cellReselectionServingFreqInfo
.
s_NonIntraSearch
=
0
;
(
*
sib3
)
->
cellReselectionServingFreqInfo
.
cellReselectionPriority
=
7
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
q_RxLevMin
=
-
70
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
p_Max
=
NULL
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
s_IntraSearch
=
CALLOC
(
1
,
sizeof
(
*
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
s_IntraSearch
));
*
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
s_IntraSearch
=
31
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
allowedMeasBandwidth
=
CALLOC
(
1
,
sizeof
(
*
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
allowedMeasBandwidth
));
*
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
allowedMeasBandwidth
=
AllowedMeasBandwidth_mbw6
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
presenceAntennaPort1
=
0
;
...
...
@@ -1800,9 +1806,21 @@ uint8_t do_SIB23(uint8_t Mod_id,
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
neighCellConfig
.
size
=
1
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
neighCellConfig
.
buf
[
0
]
=
1
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
neighCellConfig
.
bits_unused
=
6
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
t_ReselectionEUTRA
=
1
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
t_ReselectionEUTRA
=
2
;
(
*
sib3
)
->
intraFreqCellReselectionInfo
.
t_ReselectionEUTRA_SF
=
(
struct
SpeedStateScaleFactors
*
)
NULL
;
(
*
sib3
)
->
ext1
=
CALLOC
(
1
,
sizeof
(
struct
SystemInformationBlockType3__ext1
));
(
*
sib3
)
->
ext1
->
s_IntraSearch_v920
=
CALLOC
(
1
,
sizeof
(
struct
SystemInformationBlockType3__ext1__s_IntraSearch_v920
));
(
*
sib3
)
->
ext1
->
s_IntraSearch_v920
->
s_IntraSearchP_r9
=
31
;
// FIXME
(
*
sib3
)
->
ext1
->
s_IntraSearch_v920
->
s_IntraSearchQ_r9
=
4
;
(
*
sib3
)
->
ext4
=
CALLOC
(
1
,
sizeof
(
struct
SystemInformationBlockType3__ext4
));
(
*
sib3
)
->
ext4
->
cellSelectionInfoCE_r13
=
CALLOC
(
1
,
sizeof
(
CellSelectionInfoCE_r13_t
));
(
*
sib3
)
->
ext4
->
cellSelectionInfoCE_r13
->
q_RxLevMinCE_r13
=
-
70
;
(
*
sib3
)
->
ext4
->
cellSelectionInfoCE_r13
->
q_QualMinRSRQ_CE_r13
=
NULL
;
(
*
sib3
)
->
ext4
->
t_ReselectionEUTRA_CE_r13
=
CALLOC
(
1
,
sizeof
(
T_ReselectionEUTRA_CE_r13_t
));
*
(
*
sib3
)
->
ext4
->
t_ReselectionEUTRA_CE_r13
=
2
;
// SIB13
// fill in all elements of SIB13 if present
#if defined(Rel10) || defined(Rel14)
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
View file @
a0f2d481
...
...
@@ -109,12 +109,16 @@ eNBs =
# BR Parameters
br_parameters
:
{
fdd_DownlinkOrTddSubframeBitmapBR_r13
=
"subframePattern40-r13"
;
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
=
0
xFFFFFFFFFF
;
#SIB1
schedulingInfoSIB1_BR_r13
=
4
;
hyperSFN_r13
=
0
;
#
hyperSFN_r13 = 0;
#eDRX_Allowed_r13 = 0;
cellSelectionInfoCE_r13
=
"ENABLE"
;
q_RxLevMinCE_r13
= -
5
0
;
q_RxLevMinCE_r13
= -
7
0
;
#q_QualMinRSRQ_CE_r13 = ;
bandwidthReducedAccessRelatedInfo_r13
=
"ENABLE"
scheduling_info_br
=
...
...
@@ -129,12 +133,12 @@ eNBs =
startSymbolBR_r13
=
3
;
si_HoppingConfigCommon_r13
=
1
;
# Note: 1==OFF !
si_ValidityTime_r13
=
0
;
system_info_value_tag_SI
=
(
{
systemInfoValueTagSi_r13
=
0
;
}
);
#
system_info_value_tag_SI =
#
(
#
{
#
systemInfoValueTagSi_r13 = 0;
#
}
#
);
freqHoppingParametersDL_r13
=
"DISABLE"
mpdcch_pdsch_HoppingNB_r13
=
0
;
interval_DLHoppingConfigCommonModeA_r13
=
"interval-FDD-r13"
...
...
@@ -196,7 +200,7 @@ eNBs =
{
paging_narrowbands_r13
=
1
;
mpdcch_numrepetition_paging_r13
=
0
;
nb_v1310
=
2
;
#
nb_v1310 = 2;
}
...
...
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