summaryrefslogtreecommitdiffstats
path: root/gsm.h
diff options
context:
space:
mode:
authorroot2009-08-23 14:58:21 +0200
committerroot2009-08-23 14:58:21 +0200
commitcf1ea15cc320019d7b41eb56aeeb3c1956fbb7a0 (patch)
treed24ffc03e9e15fe0d012f1a063ee0b1a83493f64 /gsm.h
parentMinor fix in display facility. (diff)
downloadlcr-cf1ea15cc320019d7b41eb56aeeb3c1956fbb7a0.tar.gz
lcr-cf1ea15cc320019d7b41eb56aeeb3c1956fbb7a0.tar.xz
lcr-cf1ea15cc320019d7b41eb56aeeb3c1956fbb7a0.zip
LCR now compiles with current version of OpenBSC.
No more patch is required, just link openbsc directory to LCR source directory and run "configure": cd lcr ln -s path_to_openbsc/openbsc . modified: Makefile.am modified: Makefile.in deleted: bootstrap.c deleted: bootstrap.h modified: configure modified: configure.ac modified: default/gsm.conf modified: gsm.cpp modified: gsm.h modified: gsm_conf.c
Diffstat (limited to 'gsm.h')
-rw-r--r--gsm.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/gsm.h b/gsm.h
index a4653e1..1fbcee7 100644
--- a/gsm.h
+++ b/gsm.h
@@ -2,29 +2,20 @@ extern "C" {
#include <openbsc/gsm_data.h>
}
-struct bts_conf {
- gsm_bts_type type; /* type of BTS */
- int card; /* E1 card number of BS11 BTS */
- int numtrx; /* up to 8 TRXs */
- int frequency[8]; /* up to 8 frequencies for TRXs */
-};
-
struct gsm_conf {
char debug[128]; /* debug info */
char interface_bsc[64]; /* loopback interface BSC side */
char interface_lcr[64]; /* loopback interface LCR side */
+ char openbsc_cfg[128]; /* openbsc config file */
char short_name[64]; /* short network name */
char long_name[64]; /* long network name */
- int mcc; /* mobile country code */
- int mnc; /* mobile network code */
- int lac; /* location area code */
char hlr[64]; /* database name */
int allow_all; /* accept unknown subscribers */
int keep_l2; /* keep layer 2 after exit */
- int numbts; /* number of BTS' */
- struct bts_conf bts[8]; /* configure BTS' */
int noemergshut; /* don't shut down on emergency */
char pcapfile[128]; /* open capture file for BS11 links */
+ int reject_cause; /* reject cause for unsubcribed IMSIs */
+ int rtp_proxy; /* enable RTP proxy */
};
struct lcr_gsm {