[PATCH 1/2] Cleanup shared data structure

msuraev at sysmocom.de msuraev at sysmocom.de
Wed Apr 20 11:07:21 UTC 2016


From: Max <msuraev at sysmocom.de>

* remove unused variable.
* lower max number of (e|u)arfcns to more realistic value.
---
 openbsc/include/openbsc/gsm_data_shared.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index cbc0c77..52e4805 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -105,7 +105,7 @@ struct gsm_abis_mo {
 #define A38_XOR_MAX_KEY_LEN	16
 #define A38_COMP128_KEY_LEN	16
 #define RSL_ENC_ALG_A5(x)	(x+1)
-#define MAX_EARFCN_LIST 512
+#define MAX_EARFCN_LIST 32
 
 /* is the data link established? who established it? */
 #define LCHAN_SAPI_UNUSED	0
@@ -716,7 +716,6 @@ struct gsm_bts {
 		struct bitvec neigh_list;
 		struct bitvec cell_alloc;
 		struct bitvec si5_neigh_list;
-		struct bitvec si2quater_na_list;
 		struct osmo_earfcn_si2q si2quater_neigh_list;
 		struct {
 			/* bitmask large enough for all possible ARFCN's */
-- 
2.8.1



More information about the OpenBSC mailing list