2010-01-11 12:50:44 +00:00
|
|
|
/* Generic BTS - VTY code tries to allocate this BTS before type is known */
|
|
|
|
|
|
|
|
/* (C) 2010 by Daniel Willmann <daniel@totalueberwachung.de>
|
|
|
|
*
|
|
|
|
* All Rights Reserved
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
2011-01-01 14:25:50 +00:00
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2010-01-11 12:50:44 +00:00
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2011-01-01 14:25:50 +00:00
|
|
|
* GNU Affero General Public License for more details.
|
2010-01-11 12:50:44 +00:00
|
|
|
*
|
2011-01-01 14:25:50 +00:00
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2010-01-11 12:50:44 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#include <openbsc/gsm_data.h>
|
split 'libosmocore' from openbsc codebase
This library is intended to collect all generic/common funcitionality
of all Osmocom.org projects, including OpenBSC but also OsmocomBB
The library currently includes the following modules:
bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer,
tlv_parse, linuxlist
msgb allocation error debugging had to be temporarily disabled as it depends on
'debug.c' functionality which at the moment remains in OpenBSC
2010-02-20 15:24:02 +00:00
|
|
|
#include <osmocore/tlv.h>
|
2010-01-11 12:50:44 +00:00
|
|
|
#include <openbsc/abis_nm.h>
|
|
|
|
|
|
|
|
static struct gsm_bts_model model_unknown = {
|
|
|
|
.type = GSM_BTS_TYPE_UNKNOWN,
|
2011-02-12 11:29:21 +00:00
|
|
|
.name = "unknown",
|
|
|
|
.oml_rcvmsg = &abis_nm_rcvmsg,
|
2010-01-11 12:50:44 +00:00
|
|
|
.nm_att_tlvdef = {
|
|
|
|
.def = {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
int bts_model_unknown_init(void)
|
|
|
|
{
|
|
|
|
return gsm_bts_model_register(&model_unknown);
|
|
|
|
}
|