[PATCH] osmo-pcu[master]: Array indexing for SPB counters in bts statistics.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

sivasankari gerrit-no-reply at lists.osmocom.org
Thu Dec 29 10:57:39 UTC 2016


Review at  https://gerrit.osmocom.org/1511

Array indexing for SPB counters in bts statistics.

Array indexing mismatch is corrected for SPB counters.
 (bts_ctr_description with the bts counter declaration).

Change-Id: I9b17ca0f838a37d9405cebf2319e722a302f5ed9
---
M src/bts.h
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/11/1511/1

diff --git a/src/bts.h b/src/bts.h
index 636c7ec..2932154 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -266,11 +266,11 @@
 		CTR_LLC_DL_BYTES,
 		CTR_LLC_UL_BYTES,
 		CTR_RACH_REQUESTS,
+		CTR_11BIT_RACH_REQUESTS,
 		CTR_SPB_UL_FIRST_SEGMENT,
 		CTR_SPB_UL_SECOND_SEGMENT,
 		CTR_SPB_DL_FIRST_SEGMENT,
 		CTR_SPB_DL_SECOND_SEGMENT,
-		CTR_11BIT_RACH_REQUESTS,
 		CTR_IMMEDIATE_ASSIGN_UL_TBF,
 		CTR_IMMEDIATE_ASSIGN_REJ,
 		CTR_IMMEDIATE_ASSIGN_DL_TBF,
@@ -401,11 +401,11 @@
 	void llc_dl_bytes(int bytes);
 	void llc_ul_bytes(int bytes);
 	void rach_frame();
+	void rach_frame_11bit();
 	void spb_uplink_first_segment();
 	void spb_uplink_second_segment();
 	void spb_downlink_first_segment();
 	void spb_downlink_second_segment();
-	void rach_frame_11bit();
 	void immediate_assignment_ul_tbf();
 	void immediate_assignment_reject();
 	void immediate_assignment_dl_tbf();
@@ -602,11 +602,11 @@
 CREATE_COUNT_ADD_INLINE(llc_dl_bytes, CTR_LLC_DL_BYTES);
 CREATE_COUNT_ADD_INLINE(llc_ul_bytes, CTR_LLC_UL_BYTES);
 CREATE_COUNT_INLINE(rach_frame, CTR_RACH_REQUESTS);
+CREATE_COUNT_INLINE(rach_frame_11bit, CTR_11BIT_RACH_REQUESTS);
 CREATE_COUNT_INLINE(spb_uplink_first_segment, CTR_SPB_UL_FIRST_SEGMENT);
 CREATE_COUNT_INLINE(spb_uplink_second_segment, CTR_SPB_UL_SECOND_SEGMENT);
 CREATE_COUNT_INLINE(spb_downlink_first_segment, CTR_SPB_DL_FIRST_SEGMENT);
 CREATE_COUNT_INLINE(spb_downlink_second_segment, CTR_SPB_DL_SECOND_SEGMENT);
-CREATE_COUNT_INLINE(rach_frame_11bit, CTR_11BIT_RACH_REQUESTS);
 CREATE_COUNT_INLINE(immediate_assignment_ul_tbf, CTR_IMMEDIATE_ASSIGN_UL_TBF);
 CREATE_COUNT_INLINE(immediate_assignment_reject, CTR_IMMEDIATE_ASSIGN_REJ);
 CREATE_COUNT_INLINE(immediate_assignment_dl_tbf, CTR_IMMEDIATE_ASSIGN_DL_TBF);

-- 
To view, visit https://gerrit.osmocom.org/1511
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b17ca0f838a37d9405cebf2319e722a302f5ed9
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: sivasankari <Sivasankari.Theerthagiri at radisys.com>



More information about the gerrit-log mailing list