Applied changes of OpenBSC main branch. LCR now works with OpenBSC main branch.
[lcr.git] / gsm.h
diff --git a/gsm.h b/gsm.h
index 61676de..a4653e1 100644 (file)
--- a/gsm.h
+++ b/gsm.h
@@ -1,6 +1,9 @@
+extern "C" {
+#include <openbsc/gsm_data.h>
+}
 
 struct bts_conf {
-       int type;                       /* type of BTS */
+       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 */
@@ -21,6 +24,7 @@ struct gsm_conf {
        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 */
 };
 
 struct lcr_gsm {