Daniel Willmann | 2ac4edf | 2010-01-11 13:50:44 +0100 | [diff] [blame] | 1 | /* Generic BTS - VTY code tries to allocate this BTS before type is known */ |
| 2 | |
| 3 | /* (C) 2010 by Daniel Willmann <daniel@totalueberwachung.de> |
| 4 | * |
| 5 | * All Rights Reserved |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along |
| 18 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | * |
| 21 | */ |
| 22 | |
| 23 | #include <sys/types.h> |
| 24 | |
| 25 | #include <openbsc/gsm_data.h> |
Harald Welte | f4625b1 | 2010-02-20 16:24:02 +0100 | [diff] [blame] | 26 | #include <osmocore/tlv.h> |
Daniel Willmann | 2ac4edf | 2010-01-11 13:50:44 +0100 | [diff] [blame] | 27 | #include <openbsc/abis_nm.h> |
| 28 | |
| 29 | static struct gsm_bts_model model_unknown = { |
| 30 | .type = GSM_BTS_TYPE_UNKNOWN, |
| 31 | .nm_att_tlvdef = { |
| 32 | .def = { |
| 33 | }, |
| 34 | }, |
| 35 | }; |
| 36 | |
| 37 | int bts_model_unknown_init(void) |
| 38 | { |
| 39 | return gsm_bts_model_register(&model_unknown); |
| 40 | } |