Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
e7d7e141
Commit
e7d7e141
authored
Apr 18, 2019
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make separate func_ptr setters for PDCP Ind/RLC Req
parent
ac86dbc8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+4
-2
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
+2
-2
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+4
-6
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+2
-2
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
e7d7e141
...
...
@@ -2140,9 +2140,11 @@ pdcp_data_ind_func_t get_pdcp_data_ind_func() {
return
pdcp_params
.
pdcp_data_ind_func
;
}
void
pdcp_set_rlc_funcptr
(
send_rlc_data_req_func_t
send_rlc_data_req
,
pdcp_data_ind_func_t
pdcp_data_ind
)
{
void
pdcp_set_rlc_data_req_func
(
send_rlc_data_req_func_t
send_rlc_data_req
)
{
pdcp_params
.
send_rlc_data_req_func
=
send_rlc_data_req
;
}
void
pdcp_set_pdcp_data_ind_func
(
pdcp_data_ind_func_t
pdcp_data_ind
)
{
pdcp_params
.
pdcp_data_ind_func
=
pdcp_data_ind
;
}
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
View file @
e7d7e141
...
...
@@ -412,8 +412,8 @@ int pdcp_fifo_flush_sdus ( const protocol_ctxt_t *const ct
int
pdcp_fifo_read_input_sdus_remaining_bytes
(
const
protocol_ctxt_t
*
const
ctxt_pP
);
int
pdcp_fifo_read_input_sdus
(
const
protocol_ctxt_t
*
const
ctxt_pP
);
void
pdcp_fifo_read_input_sdus_from_otg
(
const
protocol_ctxt_t
*
const
ctxt_pP
);
void
pdcp_set_rlc_
funcptr
(
send_rlc_data_req_func_t
send_rlc_data_req
,
pdcp_data_ind_func_t
pdcp_data_ind
);
void
pdcp_set_rlc_
data_req_func
(
send_rlc_data_req_func_t
send_rlc_data_req
);
void
pdcp_set_pdcp_data_ind_func
(
pdcp_data_ind_func_t
pdcp_data_ind
);
pdcp_data_ind_func_t
get_pdcp_data_ind_func
(
void
);
//-----------------------------------------------------------------------------
...
...
targets/RT/USER/lte-softmodem.c
View file @
e7d7e141
...
...
@@ -585,15 +585,13 @@ void init_pdcp(void) {
pdcp_module_init
(
pdcp_initmask
);
if
(
NODE_IS_CU
(
RC
.
rrc
[
0
]
->
node_type
))
{
pdcp_set_rlc_funcptr
((
send_rlc_data_req_func_t
)
proto_agent_send_rlc_data_req
,
(
pdcp_data_ind_func_t
)
proto_agent_send_pdcp_data_ind
);
pdcp_set_rlc_data_req_func
((
send_rlc_data_req_func_t
)
proto_agent_send_rlc_data_req
);
}
else
{
pdcp_set_rlc_
funcptr
((
send_rlc_data_req_func_t
)
rlc_data_req
,
(
pdcp_data_ind_func_t
)
pdcp_data_ind
);
pdcp_set_rlc_
data_req_func
((
send_rlc_data_req_func_t
)
rlc_data_req
);
pdcp_set_pdcp_data_ind_func
(
(
pdcp_data_ind_func_t
)
pdcp_data_ind
);
}
}
else
{
pdcp_set_rlc_funcptr
((
send_rlc_data_req_func_t
)
proto_agent_send_rlc_data_req
,
(
pdcp_data_ind_func_t
)
proto_agent_send_pdcp_data_ind
);
pdcp_set_pdcp_data_ind_func
((
pdcp_data_ind_func_t
)
proto_agent_send_pdcp_data_ind
);
}
}
...
...
targets/RT/USER/lte-uesoftmodem.c
View file @
e7d7e141
...
...
@@ -670,8 +670,8 @@ void init_pdcp(void) {
pdcp_initmask
=
pdcp_initmask
|
UE_NAS_USE_TUN_BIT
;
pdcp_module_init
(
pdcp_initmask
);
pdcp_set_rlc_
funcptr
((
send_rlc_data_req_func_t
)
rlc_data_req
,
(
pdcp_data_ind_func_t
)
pdcp_data_ind
);
pdcp_set_rlc_
data_req_func
((
send_rlc_data_req_func_t
)
rlc_data_req
);
pdcp_set_pdcp_data_ind_func
(
(
pdcp_data_ind_func_t
)
pdcp_data_ind
);
}
int
main
(
int
argc
,
char
**
argv
)
{
...
...
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