aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess-config.c
diff options
context:
space:
mode:
authorMike Haben <michael.haben@btinternet.com>2009-10-02 12:19:34 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-10-05 12:12:54 +0200
commite2d82274990ddae78cabdb96087ed90ffd7a9d3a (patch)
treef0107ef917bc4df83773bf31d76507f01aa57a81 /openbsc/src/ipaccess-config.c
parenta03f97775b0f853195bc2c8dad9397863ebd6c10 (diff)
[ipaccess] Add nanoBTS 1900 support
Add support for 1900 nanoBTS by using unified bts_type GSM_BTS_TYPE_NANOBTS for 900, 1800 and 1900 versions. Reduce the nanoBTS enum values to one and derive the version from the user supplied band. In the future we might want to do auto band detection. The configuration file needs to be changed to refer to nanobts instead of nanobts900/nanobts1800. Signed-off-by: Mike Haben <michael.haben@btinternet.com> Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
Diffstat (limited to 'openbsc/src/ipaccess-config.c')
-rw-r--r--openbsc/src/ipaccess-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/ipaccess-config.c b/openbsc/src/ipaccess-config.c
index 7358d6496..46043d571 100644
--- a/openbsc/src/ipaccess-config.c
+++ b/openbsc/src/ipaccess-config.c
@@ -348,7 +348,7 @@ int main(int argc, char **argv)
if (!gsmnet)
exit(1);
- bts = gsm_bts_alloc(gsmnet, GSM_BTS_TYPE_NANOBTS_900, HARDCODED_TSC,
+ bts = gsm_bts_alloc(gsmnet, GSM_BTS_TYPE_NANOBTS, HARDCODED_TSC,
HARDCODED_BSIC);
register_signal_handler(SS_NM, nm_sig_cb, NULL);