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
Michael Black
OpenXG UE
Commits
9c0427e1
Commit
9c0427e1
authored
Dec 12, 2017
by
Navid Nikaein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better management of frame counter and stats in PDCP
parent
a7de3784
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
76 additions
and
72 deletions
+76
-72
openair2/ENB_APP/CONTROL_MODULES/PDCP/flexran_agent_pdcp.c
openair2/ENB_APP/CONTROL_MODULES/PDCP/flexran_agent_pdcp.c
+4
-1
openair2/ENB_APP/MESSAGES/V2/stats_common.proto
openair2/ENB_APP/MESSAGES/V2/stats_common.proto
+2
-0
openair2/ENB_APP/flexran_agent_ran_api.c
openair2/ENB_APP/flexran_agent_ran_api.c
+4
-0
openair2/ENB_APP/flexran_agent_ran_api.h
openair2/ENB_APP/flexran_agent_ran_api.h
+3
-0
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+59
-68
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
+4
-3
No files found.
openair2/ENB_APP/CONTROL_MODULES/PDCP/flexran_agent_pdcp.c
View file @
9c0427e1
...
...
@@ -21,7 +21,7 @@
/*! \file flexran_agent_pdcp.c
* \brief FlexRAN agent Control Module PDCP
* \author shahab SHARIAT BAGHERI
* \author
Navid Nikaein and
shahab SHARIAT BAGHERI
* \date 2017
* \version 0.1
*/
...
...
@@ -118,6 +118,9 @@ int flexran_agent_pdcp_stats_reply(mid_t mod_id,
pdcp_aggr_stats
->
pkt_rx_sn
=
flexran_get_pdcp_rx_sn
(
mod_id
,
i
,
DEFAULT_DRB
);
pdcp_aggr_stats
->
has_pkt_rx_sn
=
1
;
pdcp_aggr_stats
->
sfn
=
flexran_get_pdcp_sfn
(
mod_id
);
pdcp_aggr_stats
->
has_sfn
=
1
;
ue_report
[
i
]
->
pdcp_stats
=
pdcp_aggr_stats
;
}
...
...
openair2/ENB_APP/MESSAGES/V2/stats_common.proto
View file @
9c0427e1
...
...
@@ -266,4 +266,6 @@ message flex_pdcp_stats {
optional
uint32
pkt_rx_aiat
=
14
;
optional
uint32
pkt_rx_aiat_s
=
15
;
optional
uint32
pkt_rx_oo
=
16
;
optional
uint64
sfn
=
17
;
}
openair2/ENB_APP/flexran_agent_ran_api.c
View file @
9c0427e1
...
...
@@ -1083,6 +1083,10 @@ void flexran_agent_set_operating_frame_type (mid_t mod_id, int cc_id, int frame_
}
/*********** PDCP *************/
/*PDCP num tx pdu status flexRAN*/
uint32_t
flexran_get_pdcp_sfn
(
const
mid_t
mod_id
){
return
Pdcp_sfn
[
mod_id
];
}
/*PDCP num tx pdu status flexRAN*/
uint32_t
flexran_get_pdcp_tx
(
const
mid_t
mod_id
,
const
mid_t
ue_id
,
const
lcid_t
lcid
){
...
...
openair2/ENB_APP/flexran_agent_ran_api.h
View file @
9c0427e1
...
...
@@ -342,6 +342,9 @@ int flexran_get_rrc_status(const mid_t mod_id, const rnti_t rntiP);
/***************************** PDCP ***********************/
/*PDCP superframe numberflexRAN*/
uint32_t
flexran_get_pdcp_sfn
(
const
mid_t
mod_id
);
/*PDCP num tx pdu status flexRAN*/
uint32_t
flexran_get_pdcp_tx
(
const
mid_t
mod_id
,
const
mid_t
ue_id
,
const
lcid_t
lcid
);
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
9c0427e1
This diff is collapsed.
Click to expand it.
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
View file @
9c0427e1
...
...
@@ -94,9 +94,10 @@ extern int pdcp_instance_cnt;
int
init_pdcp_thread
(
void
);
void
cleanup_pdcp_thread
(
void
);
public_pdcp
(
frame_t
pdcp_frame
);
public_pdcp
(
sub_frame_t
pdcp_subframe
);
public_pdcp
(
uint16_t
pdcp_num_ues
);
public_pdcp
(
uint64_t
Pdcp_sfn
[
MAX_NUM_CCs
]);
public_pdcp
(
frame_t
Pdcp_frame
[
MAX_NUM_CCs
]);
public_pdcp
(
sub_frame_t
Pdcp_subframe
[
MAX_NUM_CCs
]);
public_pdcp
(
uint16_t
Pdcp_num_ues
[
MAX_NUM_CCs
]);
public_pdcp
(
uint32_t
Pdcp_stats_tx_bytes
[
MAX_NUM_CCs
][
NUMBER_OF_UE_MAX
][
NB_RB_MAX
]);
...
...
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