path: root/openbsc/include
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-20 18:02:25 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-20 18:02:25 +0800
commit4417f7f477dc5ab503dae5ab6ad2a85ab0567243 (patch)
tree376e33ab99b485e0c4927b478ab6c0c0978a0ce6 /openbsc/include
parent39563af27c110b73b057f667daa9559387d4aad5 (diff)
[vty] Allow to set the RACH NM attributes on a per BTS basis
Be able to tune the RACH settings of the BTS via the vty interface, by default they are initialized to -1 which means we will use the content of the static array (BTS default) and can be changed via the VTY interface. I have verified the setting on the nanoBTS with wireshark and I have tested writing the config file.
Diffstat (limited to 'openbsc/include')
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 649aff436..5fd5ccd3b 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -525,6 +525,10 @@ struct gsm_bts {
struct gsm_bts_gprs_nsvc nsvc[2];
u_int8_t rac;
} gprs;
+ /* RACH NM values */
+ int rach_b_thresh;
+ int rach_ldavg_slots;
/* transceivers */
int num_trx;