diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2020-12-06 01:23:51 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-12-16 12:50:50 +0100 |
commit | 5012e076855936ac7d248a829cd60740cea8c9e4 (patch) | |
tree | 5cc265cdd3759d7c6922ea04c0c25566932b0aa8 /src/bts.h | |
parent | 398f60e11cce6c71d7f6dc9269943ba93bec1861 (diff) |
ns2: follow ns2 dialect changes
NS2 introduce a ns dialect to differentiate
between the 4 possible dialects.
Related: OS#4472, OS#4890
Depends: libosmocore.git Ia118bb6f994845d84db09de7a94856f5ca573404
Change-Id: I16dc82c38eb75c2b9d1197640a955fec7df84efc
Diffstat (limited to 'src/bts.h')
-rw-r--r-- | src/bts.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -23,17 +23,23 @@ #ifdef __cplusplus extern "C" { +#endif + #include <osmocom/core/linuxlist.h> #include <osmocom/core/rate_ctr.h> #include <osmocom/core/stat_item.h> #include <osmocom/core/tdef.h> +#include <osmocom/gprs/gprs_ns2.h> #include <osmocom/gsm/l1sap.h> #include <osmocom/gsm/protocol/gsm_04_08.h> #include <osmocom/gsm/gsm48.h> #include "mslot_class.h" #include "gsm_rlcmac.h" +#ifdef __cplusplus } +#endif +#ifdef __cplusplus #include "poll_controller.h" #include "sba.h" #include "tbf.h" @@ -170,7 +176,7 @@ struct gprs_rlcmac_bts { char *pcu_sock_path; /* Are we talking Gb with IP-SNS (true) or classic Gb? */ - bool gb_dialect_sns; + enum gprs_ns2_dialect ns_dialect; /* Packet Application Information (3GPP TS 44.060 11.2.47, usually ETWS primary message). We don't need to store * more than one message, because they get sent so rarely. */ |