aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-27 10:50:35 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:12 +0100
commitc1ae22694cef9a437aedaa5a359e058ea256dc0c (patch)
treedc31367e411730a4887727e20b6e2ad4446fe4d5 /src/bts.h
parent90b87ea5e6bf78b59e25e55a774b25a375738fae (diff)
bts: Count the rach frames we receive
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 259be205..50eb4341 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -159,6 +159,7 @@ public:
CTR_SBA_TIMEDOUT,
CTR_LLC_FRAME_TIMEDOUT,
CTR_LLC_FRAME_DROPPED,
+ CTR_RACH_REQUESTS,
};
BTS();
@@ -202,6 +203,7 @@ public:
void sba_timedout();
void timedout_frame();
void dropped_frame();
+ void rach_frame();
/*
* Below for C interface for the VTY
@@ -262,6 +264,7 @@ CREATE_COUNT_INLINE(sba_freed, CTR_SBA_FREED)
CREATE_COUNT_INLINE(sba_timedout, CTR_SBA_TIMEDOUT)
CREATE_COUNT_INLINE(timedout_frame, CTR_LLC_FRAME_TIMEDOUT);
CREATE_COUNT_INLINE(dropped_frame, CTR_LLC_FRAME_DROPPED);
+CREATE_COUNT_INLINE(rach_frame, CTR_RACH_REQUESTS);
#undef CREATE_COUNT_INLINE