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
56b8b3ce
Commit
56b8b3ce
authored
Sep 24, 2019
by
chenhsunyang0922
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix asn1_TYPE_descriptor & include file error
parent
e21a3989
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
openair1/SIMULATION/ETH_TRANSPORT/extern.h
openair1/SIMULATION/ETH_TRANSPORT/extern.h
+1
-1
openair2/RRC/NBIOT/rrc_eNB_NB_IoT.c
openair2/RRC/NBIOT/rrc_eNB_NB_IoT.c
+9
-8
openair2/UTIL/OMG/defs.h
openair2/UTIL/OMG/defs.h
+1
-1
No files found.
openair1/SIMULATION/ETH_TRANSPORT/extern.h
View file @
56b8b3ce
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#ifndef __BYPASS_SESSION_LAYER_EXTERN_H__
#ifndef __BYPASS_SESSION_LAYER_EXTERN_H__
# define __BYPASS_SESSION_LAYER_EXTERN_H__
# define __BYPASS_SESSION_LAYER_EXTERN_H__
#include "defs.h"
#include <pthread.h>
#include <pthread.h>
extern
unsigned
char
Emulation_status
;
extern
unsigned
char
Emulation_status
;
...
...
openair2/RRC/NBIOT/rrc_eNB_NB_IoT.c
View file @
56b8b3ce
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
/*NB-IoT include files*/
/*NB-IoT include files*/
//#include "PHY/extern_NB_IoT.h"
//#include "PHY/extern_NB_IoT.h"
#include "LAYER2/MAC/extern_NB_IoT.h"
//
#include "LAYER2/MAC/extern_NB_IoT.h"
//#include "RRC/NBIOT/proto_NB_IoT.h"
//#include "RRC/NBIOT/proto_NB_IoT.h"
#include "defs_NB_IoT.h"
#include "defs_NB_IoT.h"
/**************/
/**************/
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
#include "extern_NB_IoT.h"
#include "extern_NB_IoT.h"
#include "extern_NB_IoT.h"
#include "extern_NB_IoT.h"
#include "LAYER2/MAC/proto_NB_IoT.h"
#include "LAYER2/MAC/proto_NB_IoT.h"
#include "RRC/LTE/rrc_extern.h"
/**************/
/**************/
#include "openair1/SCHED_NBIOT/defs_NB_IoT.h"
#include "openair1/SCHED_NBIOT/defs_NB_IoT.h"
#include "RRC/NBIOT/MESSAGES/asn1_msg_NB_IoT.h"
#include "RRC/NBIOT/MESSAGES/asn1_msg_NB_IoT.h"
...
@@ -179,7 +180,7 @@ uint8_t* mac_rrc_msg3_ind_NB_IoT(uint8_t *payload_ptr, uint16_t rnti, uint32_t l
...
@@ -179,7 +180,7 @@ uint8_t* mac_rrc_msg3_ind_NB_IoT(uint8_t *payload_ptr, uint16_t rnti, uint32_t l
LTE_UL_CCCH_Message_NB_t
*
ul_ccch_msg_NB
=
NULL
;
LTE_UL_CCCH_Message_NB_t
*
ul_ccch_msg_NB
=
NULL
;
dec_rval
=
uper_decode
(
dec_rval
=
uper_decode
(
NULL
,
NULL
,
&
asn_DEF_UL_CCCH_Message_NB
,
&
asn_DEF_
LTE_
UL_CCCH_Message_NB
,
(
void
**
)
&
ul_ccch_msg_NB
,
(
void
**
)
&
ul_ccch_msg_NB
,
payload_ptr
,
payload_ptr
,
100
,
100
,
...
@@ -580,25 +581,25 @@ void rrc_eNB_free_mem_UE_context_NB_IoT(
...
@@ -580,25 +581,25 @@ void rrc_eNB_free_mem_UE_context_NB_IoT(
//no Scell in NB-IoT --> no DC (Dual Connectivity)
//no Scell in NB-IoT --> no DC (Dual Connectivity)
if
(
ue_context_pP
->
ue_context
.
SRB_configList
)
{
if
(
ue_context_pP
->
ue_context
.
SRB_configList
)
{
ASN_STRUCT_FREE
(
asn_DEF_SRB_ToAddModList_NB_r13
,
ue_context_pP
->
ue_context
.
SRB_configList
);
ASN_STRUCT_FREE
(
asn_DEF_
LTE_
SRB_ToAddModList_NB_r13
,
ue_context_pP
->
ue_context
.
SRB_configList
);
ue_context_pP
->
ue_context
.
SRB_configList
=
NULL
;
ue_context_pP
->
ue_context
.
SRB_configList
=
NULL
;
}
}
if
(
ue_context_pP
->
ue_context
.
DRB_configList
)
{
if
(
ue_context_pP
->
ue_context
.
DRB_configList
)
{
ASN_STRUCT_FREE
(
asn_DEF_DRB_ToAddModList_NB_r13
,
ue_context_pP
->
ue_context
.
DRB_configList
);
ASN_STRUCT_FREE
(
asn_DEF_
LTE_
DRB_ToAddModList_NB_r13
,
ue_context_pP
->
ue_context
.
DRB_configList
);
ue_context_pP
->
ue_context
.
DRB_configList
=
NULL
;
ue_context_pP
->
ue_context
.
DRB_configList
=
NULL
;
}
}
memset
(
ue_context_pP
->
ue_context
.
DRB_active
,
0
,
sizeof
(
ue_context_pP
->
ue_context
.
DRB_active
));
memset
(
ue_context_pP
->
ue_context
.
DRB_active
,
0
,
sizeof
(
ue_context_pP
->
ue_context
.
DRB_active
));
if
(
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
)
{
if
(
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
)
{
ASN_STRUCT_FREE
(
asn_DEF_PhysicalConfigDedicated_NB_r13
,
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
);
ASN_STRUCT_FREE
(
asn_DEF_
LTE_
PhysicalConfigDedicated_NB_r13
,
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
);
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
=
NULL
;
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
=
NULL
;
}
}
if
(
ue_context_pP
->
ue_context
.
mac_MainConfig_NB_IoT
)
{
if
(
ue_context_pP
->
ue_context
.
mac_MainConfig_NB_IoT
)
{
ASN_STRUCT_FREE
(
asn_DEF_MAC_MainConfig_NB_r13
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB_IoT
);
ASN_STRUCT_FREE
(
asn_DEF_
LTE_
MAC_MainConfig_NB_r13
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB_IoT
);
ue_context_pP
->
ue_context
.
mac_MainConfig_NB_IoT
=
NULL
;
ue_context_pP
->
ue_context
.
mac_MainConfig_NB_IoT
=
NULL
;
}
}
...
@@ -2178,7 +2179,7 @@ rrc_eNB_decode_ccch_NB_IoT(
...
@@ -2178,7 +2179,7 @@ rrc_eNB_decode_ccch_NB_IoT(
LTE_UL_CCCH_Message_NB_t
*
ul_ccch_msg_NB
=
NULL
;
LTE_UL_CCCH_Message_NB_t
*
ul_ccch_msg_NB
=
NULL
;
dec_rval
=
uper_decode
(
dec_rval
=
uper_decode
(
NULL
,
NULL
,
&
asn_DEF_UL_CCCH_Message_NB
,
&
asn_DEF_
LTE_
UL_CCCH_Message_NB
,
(
void
**
)
&
ul_ccch_msg_NB
,
(
void
**
)
&
ul_ccch_msg_NB
,
(
uint8_t
*
)
Srb_info
->
Rx_buffer
.
Payload
,
(
uint8_t
*
)
Srb_info
->
Rx_buffer
.
Payload
,
100
,
100
,
...
@@ -2470,7 +2471,7 @@ int rrc_eNB_decode_dcch_NB_IoT(
...
@@ -2470,7 +2471,7 @@ int rrc_eNB_decode_dcch_NB_IoT(
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
));
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
));
dec_rval
=
uper_decode
(
dec_rval
=
uper_decode
(
NULL
,
NULL
,
&
asn_DEF_UL_DCCH_Message_NB
,
&
asn_DEF_
LTE_
UL_DCCH_Message_NB
,
(
void
**
)
&
ul_dcch_msg_NB_IoT
,
(
void
**
)
&
ul_dcch_msg_NB_IoT
,
Rx_sdu
,
Rx_sdu
,
sdu_sizeP
,
sdu_sizeP
,
...
...
openair2/UTIL/OMG/defs.h
View file @
56b8b3ce
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#define __DEFS_H__
#define __DEFS_H__
#include <stdlib.h>
#include <stdlib.h>
#include "omg_constants.h"
// TYPEDEFS
// TYPEDEFS
#define true 1
#define true 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