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
canghaiwuhen
OpenXG-RAN
Commits
4444c5ae
Commit
4444c5ae
authored
Sep 04, 2018
by
Y_Tomita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed for Segmantation Fault problem.
parent
8b9b9db5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
17 deletions
+51
-17
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+2
-4
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
+39
-7
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+5
-1
openair2/PHY_INTERFACE/phy_stub_UE.h
openair2/PHY_INTERFACE/phy_stub_UE.h
+5
-5
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
4444c5ae
...
...
@@ -361,10 +361,8 @@ boolean_t pdcp_data_req(
#endif
rlc_status
=
rlc_data_req
(
ctxt_pP
,
srb_flagP
,
MBMS_FLAG_NO
,
rb_idP
,
muiP
,
confirmP
,
pdcp_pdu_size
,
pdcp_pdu_p
#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0))
//,sourceL2Id
//,destinationL2Id
,
NULL
,
NULL
,
sourceL2Id
,
destinationL2Id
#endif
);
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
View file @
4444c5ae
...
...
@@ -85,7 +85,7 @@ unsigned char pdcp_read_state_g = 0;
#endif
extern
Packet_OTG_List_t
*
otg_pdcp_buffer
;
extern
uint8_t
nfapi_mode
;
#if defined(LINK_ENB_PDCP_TO_GTPV1U)
# include "gtpv1u_eNB_task.h"
# include "gtpv1u_eNB_defs.h"
...
...
@@ -1072,7 +1072,22 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
pdcp_read_header_g
.
rb_id
,
rab_id
,
pdcp_read_header_g
.
data_size
);
if
(
nfapi_mode
==
3
){
pdcp_data_req
(
&
ctxt
,
SRB_FLAG_NO
,
rab_id
,
RLC_MUI_UNDEFINED
,
RLC_SDU_CONFIRM_NO
,
pdcp_read_header_g
.
data_size
,
(
unsigned
char
*
)
NLMSG_DATA
(
nas_nlh_rx
),
PDCP_TRANSMISSION_MODE_DATA
#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0))
,
NULL
,
NULL
#endif
);
}
else
{
pdcp_data_req
(
&
ctxt
,
SRB_FLAG_NO
,
...
...
@@ -1083,10 +1098,11 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
(
unsigned
char
*
)
NLMSG_DATA
(
nas_nlh_rx
),
PDCP_TRANSMISSION_MODE_DATA
#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0))
,
NULL
,
NULL
//,
&pdcp_read_header_g.sourceL2Id
//
,&pdcp_read_header_g.destinationL2Id
,
&
pdcp_read_header_g
.
sourceL2Id
,
&
pdcp_read_header_g
.
destinationL2Id
#endif
);
}
}
else
{
MSC_LOG_RX_DISCARDED_MESSAGE
(
(
ctxt_pP
->
enb_flag
==
ENB_FLAG_YES
)
?
MSC_PDCP_ENB
:
MSC_PDCP_UE
,
...
...
@@ -1130,7 +1146,22 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
pdcp_read_header_g
.
rb_id
,
DEFAULT_RAB_ID
,
pdcp_read_header_g
.
data_size
);
if
(
nfapi_mode
==
3
){
pdcp_data_req
(
&
ctxt
,
SRB_FLAG_NO
,
DEFAULT_RAB_ID
,
RLC_MUI_UNDEFINED
,
RLC_SDU_CONFIRM_NO
,
pdcp_read_header_g
.
data_size
,
(
unsigned
char
*
)
NLMSG_DATA
(
nas_nlh_rx
),
PDCP_TRANSMISSION_MODE_DATA
#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0))
,
NULL
,
NULL
#endif
);
}
else
{
pdcp_data_req
(
&
ctxt
,
SRB_FLAG_NO
,
...
...
@@ -1141,10 +1172,11 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
(
unsigned
char
*
)
NLMSG_DATA
(
nas_nlh_rx
),
PDCP_TRANSMISSION_MODE_DATA
#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0))
,
NULL
,
NULL
//,
&pdcp_read_header_g.sourceL2Id
//
,&pdcp_read_header_g.destinationL2Id
,
&
pdcp_read_header_g
.
sourceL2Id
,
&
pdcp_read_header_g
.
destinationL2Id
#endif
);
}
}
}
...
...
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
4444c5ae
...
...
@@ -25,7 +25,11 @@ extern int oai_nfapi_rach_ind(nfapi_rach_indication_t *rach_ind);
void
configure_nfapi_pnf
(
char
*
vnf_ip_addr
,
int
vnf_p5_port
,
char
*
pnf_ip_addr
,
int
pnf_p7_port
,
int
vnf_p7_port
);
UL_IND_t
*
UL_INFO
=
NULL
;
nfapi_tx_request_pdu_t
*
tx_request_pdu_list
=
NULL
;
nfapi_dl_config_request_t
*
dl_config_req
=
NULL
;
nfapi_ul_config_request_t
*
ul_config_req
=
NULL
;
nfapi_hi_dci0_request_t
*
hi_dci0_req
=
NULL
;
//extern uint8_t nfapi_pnf;
//UL_IND_t *UL_INFO;
...
...
openair2/PHY_INTERFACE/phy_stub_UE.h
View file @
4444c5ae
...
...
@@ -17,14 +17,14 @@
//#include "openair1/PHY/defs.h"
//#include "openair1/PHY/LTE_TRANSPORT/defs.h"
UL_IND_t
*
UL_INFO
;
FILL_UL_INFO_MUTEX
fill_ul_mutex
;
nfapi_tx_request_pdu_t
*
tx_request_pdu_list
;
extern
UL_IND_t
*
UL_INFO
;
extern
nfapi_tx_request_pdu_t
*
tx_request_pdu_list
;
// New
/// Pointers to config_request types. Used from nfapi callback functions.
nfapi_dl_config_request_t
*
dl_config_req
;
nfapi_ul_config_request_t
*
ul_config_req
;
nfapi_hi_dci0_request_t
*
hi_dci0_req
;
extern
nfapi_dl_config_request_t
*
dl_config_req
;
extern
nfapi_ul_config_request_t
*
ul_config_req
;
extern
nfapi_hi_dci0_request_t
*
hi_dci0_req
;
int
tx_req_num_elems
;
...
...
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