blob: 2957ce08b63367156d1a35ad08b992e6b78837cf [file] [log] [blame]
Daniel Willmann604d8512010-01-11 13:50:44 +01001/* 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
Harald Welte9af6ddf2011-01-01 15:25:50 +01008 * it under the terms of the GNU Affero General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
Daniel Willmann604d8512010-01-11 13:50:44 +010010 * (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
Harald Welte9af6ddf2011-01-01 15:25:50 +010015 * GNU Affero General Public License for more details.
Daniel Willmann604d8512010-01-11 13:50:44 +010016 *
Harald Welte9af6ddf2011-01-01 15:25:50 +010017 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
Daniel Willmann604d8512010-01-11 13:50:44 +010019 *
20 */
21
22#include <sys/types.h>
23
24#include <openbsc/gsm_data.h>
Harald Weltedfe6c7d2010-02-20 16:24:02 +010025#include <osmocore/tlv.h>
Daniel Willmann604d8512010-01-11 13:50:44 +010026#include <openbsc/abis_nm.h>
27
28static struct gsm_bts_model model_unknown = {
29 .type = GSM_BTS_TYPE_UNKNOWN,
30 .nm_att_tlvdef = {
31 .def = {
32 },
33 },
34};
35
36int bts_model_unknown_init(void)
37{
38 return gsm_bts_model_register(&model_unknown);
39}