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
eff2e841
Commit
eff2e841
authored
Nov 30, 2020
by
ChiehChun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mnc/mcc from config (temp)
parent
81b8706b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
+8
-0
No files found.
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
View file @
eff2e841
...
...
@@ -165,6 +165,8 @@ uint8_t do_MIB_NB_IoT(
}
uint16_t
MCC_NB_IoT
=
0
;
uint16_t
MNC_NB_IoT
=
0
;
/*do_SIB1_NB*/
uint8_t
do_SIB1_NB_IoT
(
uint8_t
Mod_id
,
int
CC_id
,
rrc_eNB_carrier_data_NB_IoT_t
*
carrier
,
...
...
@@ -238,6 +240,8 @@ uint8_t do_SIB1_NB_IoT(uint8_t Mod_id, int CC_id,
ASN_SEQUENCE_ADD
(
&
PLMN_identity_info_NB_IoT
.
plmn_Identity_r13
.
mcc
->
list
,
&
dummy_mcc
[
1
]);
ASN_SEQUENCE_ADD
(
&
PLMN_identity_info_NB_IoT
.
plmn_Identity_r13
.
mcc
->
list
,
&
dummy_mcc
[
2
]);
MCC_NB_IoT
=
configuration
->
mcc
;
PLMN_identity_info_NB_IoT
.
plmn_Identity_r13
.
mnc
.
list
.
size
=
0
;
PLMN_identity_info_NB_IoT
.
plmn_Identity_r13
.
mnc
.
list
.
count
=
0
;
...
...
@@ -272,6 +276,8 @@ uint8_t do_SIB1_NB_IoT(uint8_t Mod_id, int CC_id,
ASN_SEQUENCE_ADD
(
&
PLMN_identity_info_NB_IoT
.
plmn_Identity_r13
.
mnc
.
list
,
&
dummy_mnc
[
2
]);
}
MNC_NB_IoT
=
configuration
->
mnc
;
//still set to "notReserved" as in the previous case
PLMN_identity_info_NB_IoT
.
cellReservedForOperatorUse_r13
=
PLMN_IdentityInfo_NB_r13__cellReservedForOperatorUse_r13_notReserved
;
...
...
@@ -417,6 +423,8 @@ uint8_t do_SIB1_NB_IoT_x(uint8_t Mod_id, int CC_id,
BCCH_DL_SCH_Message_NB_t
*
bcch_message
=
&
(
carrier
->
siblock1_NB_IoT
);
SystemInformationBlockType1_NB_t
**
sib1_NB_IoT
=
&
(
carrier
->
sib1_NB_IoT
);
mcc
=
MCC_NB_IoT
;
mnc
=
MNC_NB_IoT
;
asn_enc_rval_t
enc_rval
;
...
...
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