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
lizhongxiao
OpenXG-RAN
Commits
07b133cd
Commit
07b133cd
authored
Sep 25, 2019
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Still working on ASN.1
parent
56b8b3ce
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
166 deletions
+15
-166
openair2/LAYER2/MAC/config_NB_IoT.c
openair2/LAYER2/MAC/config_NB_IoT.c
+2
-2
openair2/RRC/NBIOT/MESSAGES/asn1_msg_NB_IoT.c
openair2/RRC/NBIOT/MESSAGES/asn1_msg_NB_IoT.c
+6
-1
openair2/RRC/NBIOT/rrc_eNB_NB_IoT.c
openair2/RRC/NBIOT/rrc_eNB_NB_IoT.c
+7
-163
No files found.
openair2/LAYER2/MAC/config_NB_IoT.c
View file @
07b133cd
...
...
@@ -292,7 +292,7 @@ void rrc_mac_config_req_NB_IoT(
int
CC_idP
,
int
rntiP
,
rrc_eNB_carrier_data_NB_IoT_t
*
carrier
,
LTE_
LTE_
SystemInformationBlockType1_NB_t
*
sib1_NB_IoT
,
LTE_SystemInformationBlockType1_NB_t
*
sib1_NB_IoT
,
LTE_RadioResourceConfigCommonSIB_NB_r13_t
*
radioResourceConfigCommon
,
LTE_PhysicalConfigDedicated_NB_r13_t
*
physicalConfigDedicated
,
LTE_LogicalChannelConfig_NB_r13_t
*
logicalChannelConfig
,
...
...
@@ -390,7 +390,7 @@ void rrc_mac_config_req_NB_IoT(
if
(
radioResourceConfigCommon
!=
NULL
)
{
//LOG_I(MAC,"[CONFIG]SIB2/3-NB radioResourceConfigCommon Contents (partial)\n");
NPRACH_Parameters_NB_r13_t
*
nprach_parameter
;
LTE_
NPRACH_Parameters_NB_r13_t
*
nprach_parameter
;
//CE level 0
if
(
radioResourceConfigCommon
->
nprach_Config_r13
.
nprach_ParametersList_r13
.
list
.
array
[
0
]
!=
NULL
)
...
...
openair2/RRC/NBIOT/MESSAGES/asn1_msg_NB_IoT.c
View file @
07b133cd
...
...
@@ -151,6 +151,7 @@ uint8_t do_MIB_NB_IoT(
// (uint32_t)hsfn_LSB);
enc_rval
=
uper_encode_to_buffer
(
&
asn_DEF_LTE_BCCH_BCH_Message_NB
,
NULL
,
(
void
*
)
mib_NB_IoT
,
carrier
->
MIB_NB_IoT
,
100
);
...
...
@@ -389,6 +390,7 @@ uint8_t do_SIB1_NB_IoT(uint8_t Mod_id, int CC_id,
//bcch_message->message.choice.c1.choice.systemInformationBlockType1_r13 = **sib1_NB_IoT;
enc_rval
=
uper_encode_to_buffer
(
&
asn_DEF_LTE_BCCH_DL_SCH_Message_NB
,
NULL
,
(
void
*
)
bcch_message
,
carrier
->
SIB1_NB_IoT
,
100
);
...
...
@@ -629,6 +631,7 @@ uint8_t do_SIB1_NB_IoT_x(uint8_t Mod_id, int CC_id,
//bcch_message->message.choice.c1.choice.systemInformationBlockType1_r13 = **sib1_NB_IoT;
enc_rval
=
uper_encode_to_buffer
(
&
asn_DEF_LTE_BCCH_DL_SCH_Message_NB
,
NULL
,
(
void
*
)
bcch_message
,
carrier
->
SIB1_NB_IoT
,
100
);
...
...
@@ -905,6 +908,7 @@ uint8_t do_SIB23_NB_IoT(uint8_t Mod_id,
xer_fprint
(
stdout
,
&
asn_DEF_LTE_BCCH_DL_SCH_Message_NB
,
(
void
*
)
bcch_message
);
#endif
enc_rval
=
uper_encode_to_buffer
(
&
asn_DEF_LTE_BCCH_DL_SCH_Message_NB
,
NULL
,
(
void
*
)
bcch_message
,
carrier
->
SIB23_NB_IoT
,
900
);
...
...
@@ -942,7 +946,7 @@ uint8_t do_RRCConnectionSetup_NB_IoT(
uint8_t
*
const
buffer
,
//Srb0.Tx_buffer.Payload
const
uint8_t
Transaction_id
,
LTE_SRB_ToAddModList_NB_r13_t
**
SRB_configList_NB_IoT
,
//for both SRB1bis and SRB1
struct
PhysicalConfigDedicated_NB_r13
**
physicalConfigDedicated_NB_IoT
)
struct
LTE_
PhysicalConfigDedicated_NB_r13
**
physicalConfigDedicated_NB_IoT
)
{
asn_enc_rval_t
enc_rval
;
uint8_t
ecause
=
0
;
...
...
@@ -1111,6 +1115,7 @@ uint8_t do_RRCConnectionSetup_NB_IoT(
xer_fprint
(
stdout
,
&
asn_DEF_LTE_DL_CCCH_Message
,
(
void
*
)
&
dl_ccch_msg
);
#endif
enc_rval
=
uper_encode_to_buffer
(
&
asn_DEF_LTE_DL_CCCH_Message_NB
,
NULL
,
(
void
*
)
&
dl_ccch_msg_NB_IoT
,
buffer
,
100
);
...
...
openair2/RRC/NBIOT/rrc_eNB_NB_IoT.c
View file @
07b133cd
This diff is collapsed.
Click to expand it.
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