Jonathan Santos | 03fd8d0 | 2011-05-25 13:54:02 -0400 | [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 Affero General Public License as published by |
| 9 | * the Free Software Foundation; either version 3 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 Affero General Public License for more details. |
| 16 | * |
| 17 | * 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/>. |
| 19 | * |
| 20 | */ |
| 21 | |
Jonathan Santos | 03fd8d0 | 2011-05-25 13:54:02 -0400 | [diff] [blame] | 22 | |
| 23 | #include <openbsc/gsm_data.h> |
Jonathan Santos | 5a45b15 | 2011-08-17 15:33:57 -0400 | [diff] [blame^] | 24 | #include <osmocom/gsm/tlv.h> |
Jonathan Santos | 03fd8d0 | 2011-05-25 13:54:02 -0400 | [diff] [blame] | 25 | #include <openbsc/abis_nm.h> |
| 26 | |
| 27 | static struct gsm_bts_model model_unknown = { |
| 28 | .type = GSM_BTS_TYPE_UNKNOWN, |
| 29 | .name = "unknown", |
| 30 | .oml_rcvmsg = &abis_nm_rcvmsg, |
| 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 | } |