diff options
author | Mike Haben <michael.haben@btinternet.com> | 2009-10-02 12:19:34 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-10-05 12:12:54 +0200 |
commit | e2d82274990ddae78cabdb96087ed90ffd7a9d3a (patch) | |
tree | f0107ef917bc4df83773bf31d76507f01aa57a81 /openbsc/src/abis_nm.c | |
parent | a03f97775b0f853195bc2c8dad9397863ebd6c10 (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/abis_nm.c')
-rwxr-xr-x | openbsc/src/abis_nm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c index 35ed8dbc6..9a2fad7bf 100755 --- a/openbsc/src/abis_nm.c +++ b/openbsc/src/abis_nm.c @@ -1025,8 +1025,7 @@ static int abis_nm_rcvmsg_manuf(struct msgb *mb) int bts_type = mb->trx->bts->type; switch (bts_type) { - case GSM_BTS_TYPE_NANOBTS_900: - case GSM_BTS_TYPE_NANOBTS_1800: + case GSM_BTS_TYPE_NANOBTS: rc = abis_nm_rx_ipacc(mb); break; default: |