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
wangjie
OpenXG-RAN
Commits
6f9f2d89
Commit
6f9f2d89
authored
Jan 19, 2019
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct PDCP stats defining constant to MAX_eNB from CC
parent
ad9778be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
29 deletions
+29
-29
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+1
-1
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
+28
-28
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
6f9f2d89
...
...
@@ -2193,7 +2193,7 @@ void pdcp_layer_init(void)
memset
(
Pdcp_stats_tx_window_ms
,
0
,
sizeof
(
Pdcp_stats_tx_window_ms
));
memset
(
Pdcp_stats_rx_window_ms
,
0
,
sizeof
(
Pdcp_stats_rx_window_ms
));
for
(
i
=
0
;
i
<
MAX_
NUM_CCs
;
i
++
){
for
(
i
=
0
;
i
<
MAX_
eNB
;
i
++
){
for
(
j
=
0
;
j
<
MAX_MOBILES_PER_ENB
;
j
++
){
Pdcp_stats_tx_window_ms
[
i
][
j
]
=
100
;
Pdcp_stats_rx_window_ms
[
i
][
j
]
=
100
;
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp.h
View file @
6f9f2d89
...
...
@@ -66,34 +66,34 @@ extern int pdcp_instance_cnt;
int
init_pdcp_thread
(
void
);
void
cleanup_pdcp_thread
(
void
);
uint32_t
Pdcp_stats_tx_window_ms
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
];
uint32_t
Pdcp_stats_tx_bytes
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_bytes_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_bytes_tmp_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_tmp_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_sn
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_throughput_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_aiat
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_aiat_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_aiat_tmp_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_iat
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_window_ms
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
];
uint32_t
Pdcp_stats_rx
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_tmp_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_bytes
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_bytes_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_bytes_tmp_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_sn
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_goodput_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_aiat
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_aiat_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_aiat_tmp_w
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_iat
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_outoforder
[
MAX_
NUM_CCs
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_window_ms
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
];
uint32_t
Pdcp_stats_tx_bytes
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_bytes_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_bytes_tmp_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_tmp_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_sn
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_throughput_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_aiat
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_aiat_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_aiat_tmp_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_tx_iat
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_window_ms
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
];
uint32_t
Pdcp_stats_rx
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_tmp_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_bytes
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_bytes_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_bytes_tmp_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_sn
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_goodput_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_aiat
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_aiat_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_aiat_tmp_w
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_iat
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
uint32_t
Pdcp_stats_rx_outoforder
[
MAX_
eNB
][
MAX_MOBILES_PER_ENB
][
NB_RB_MAX
];
void
pdcp_update_perioidical_stats
(
const
protocol_ctxt_t
*
const
ctxt_pP
);
...
...
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