diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-06-15 11:07:03 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-15 11:07:03 +0800 |
commit | 821bf067e408f649bed62f10683fd44b43c0d673 (patch) | |
tree | 1240ff85da82df229f36fc051af7d06d43b905d7 /include/osmo-bts/gsm_data.h | |
parent | c882b85d8c867264a0fe038dfe34bf204f5e3f32 (diff) |
RSL: Add CCCH LOAD INDICATION for RACH
We now count the total number of RACH slots, the number with rx level
above the busy threshold, and the number of valid access bursts.
This data is used to generate RSL CCCH LOAD INDICATION for the RACH.
Diffstat (limited to 'include/osmo-bts/gsm_data.h')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index f2e3fc86..332c95c1 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -36,6 +36,10 @@ struct gsm_bts_role_bts { /* Input parameters from OML */ int16_t busy_thresh; /* in dBm */ uint16_t averaging_slots; + /* Internal data */ + unsigned int total; /* total nr */ + unsigned int busy; /* above busy_thresh */ + unsigned int access; /* access bursts */ } rach; } load; uint8_t ny1; |