Neels Hofmeyr | 0e5a7c4 | 2017-05-08 15:12:20 +0200 | [diff] [blame] | 1 | /* A-interface implementation, from MSC to BSC */ |
| 2 | |
| 3 | /* (C) 2016 by sysmocom s.m.f.c GmbH <info@sysmocom.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 | |
| 22 | #include <osmocom/core/msgb.h> |
| 23 | #include <osmocom/core/logging.h> |
| 24 | |
| 25 | #include <openbsc/debug.h> |
| 26 | |
| 27 | #include <openbsc/gsm_data.h> |
| 28 | #include <openbsc/msc_ifaces.h> |
| 29 | #include <openbsc/debug.h> |
| 30 | |
| 31 | int a_tx(struct msgb *msg) |
| 32 | { |
| 33 | LOGP(DMSC, LOGL_ERROR, "message to be sent to BSC, but A-interface" |
| 34 | " not implemented.\n%s\n", osmo_hexdump(msg->data, msg->len)); |
| 35 | return -1; |
| 36 | } |
| 37 | |
| 38 | int msc_gsm0808_tx_cipher_mode(struct gsm_subscriber_connection *conn, int cipher, |
| 39 | const uint8_t *key, int len, int include_imeisv) |
| 40 | { |
| 41 | /* TODO generalize for A- and Iu interfaces, don't name after 08.08 */ |
| 42 | LOGP(DMSC, LOGL_ERROR, "gsm0808_cipher_mode(): message to be sent to" |
| 43 | " BSC, but A interface not yet implemented.\n"); |
| 44 | return -1; |
| 45 | } |