summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/templates
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-10-29 11:30:00 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-10-31 09:59:45 +0100
commit4f23ab58ad64f11eb7ca3360fbea061d1aa801e6 (patch)
tree3a658aee38c8c6a9a1a59618ae4252c2e6859998 /src/osmo_gsm_tester/templates
parent8a72586835c8852fb3cded82ee3432e07754dce7 (diff)
Add support to enable EGPRS
Diffstat (limited to 'src/osmo_gsm_tester/templates')
-rw-r--r--src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl4
-rw-r--r--src/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
index 0d53ccb..4f39f79 100644
--- a/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
@@ -57,8 +57,8 @@ network
% endif
ip.access unit_id ${bts.ipa_unit_id} 0
oml ip.access stream_id ${bts.stream_id} line 0
-% if bts.get('sgsn', False):
- gprs mode gprs
+% if bts.get('sgsn', False) and bts['gprs_mode'] != 'none':
+ gprs mode ${bts.gprs_mode}
gprs routing area ${bts.routing_area_code}
gprs network-control-order nc1
gprs cell bvci ${bts.bvci}
diff --git a/src/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
index e7f2fb8..ede1902 100644
--- a/src/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
@@ -18,7 +18,7 @@ trx
bind-ip ${osmo_trx.trx_ip}
remote-ip ${osmo_trx.bts_ip}
base-port 5700
- egprs disable
+ egprs ${osmo_trx.egprs}
%if osmo_trx.get('multi_arfcn', False):
multi-arfcn enable
%else: