projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LCR now compiles with current version of OpenBSC.
[lcr.git]
/
gsm.h
diff --git
a/gsm.h
b/gsm.h
index
4360cf1
..
1fbcee7
100644
(file)
--- a/
gsm.h
+++ b/
gsm.h
@@
-1,27
+1,21
@@
-
-struct bts_conf {
- int 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 */
-};
+extern "C" {
+#include <openbsc/gsm_data.h>
+}
struct gsm_conf {
char debug[128]; /* debug info */
char interface_bsc[64]; /* loopback interface BSC side */
char interface_lcr[64]; /* loopback interface LCR side */
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 */
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 */
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 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 {
};
struct lcr_gsm {