aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-02-03 20:26:25 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-02-03 20:26:25 +0100
commit54fa2c7eab57a0b044ea82956f3c82e68b7b580a (patch)
tree43e4d3ee03dbff7b3b89050779488c5725139bdc /openbsc/include
parentc6d0a17100e9523c8cedbe1f55680a3e37f4a6e0 (diff)
abis_rsl: The rach information was not used, introduce a signal
Introduce a SS_CCCH for the paging and the rach load. The paging code could now start using the signal. GCC warning: abis_rsl.c: In function ‘rsl_rx_ccch_load’: abis_rsl.c:1371:11: warning: variable ‘rach_access_count’ set but not used [-Wunused-but-set-variable] abis_rsl.c:1370:11: warning: variable ‘rach_busy_count’ set but not used [-Wunused-but-set-variable] abis_rsl.c:1369:11: warning: variable ‘rach_slot_count’ set but not used [-Wunused-but-set-variable]
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/signal.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h
index 7f30f4f47..f96c5e3c5 100644
--- a/openbsc/include/openbsc/signal.h
+++ b/openbsc/include/openbsc/signal.h
@@ -46,6 +46,7 @@ enum signal_subsystems {
SS_RF,
SS_MSC,
SS_HO,
+ SS_CCCH,
};
/* SS_PAGING signals */
@@ -247,4 +248,18 @@ struct ho_signal_data {
struct gsm_lchan *new_lchan;
};
+/* SS_CCCH signals */
+enum signal_ccch {
+ S_CCCH_PAGING_LOAD,
+ S_CCCH_RACH_LOAD,
+};
+
+struct ccch_signal_data {
+ struct gsm_bts *bts;
+ uint16_t pg_buf_space;
+ uint16_t rach_slot_count;
+ uint16_t rach_busy_count;
+ uint16_t rach_access_count;
+};
+
#endif