2 * This file is part of samsung-ril.
4 * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com>
5 * Copyright (C) 2011 Paul Kocialkowski <contact@oaulk.fr>
6 * Copyright (C) 2012 Alexander Tarasikov <alexander.tarasikov@gmail.com>
8 * samsung-ril is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
13 * samsung-ril is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with samsung-ril. If not, see <http://www.gnu.org/licenses/>.
26 #include <telephony/ril.h>
27 #include <utils/Log.h>
42 #define RIL_REQUEST_REGISTRATION_STATE RIL_REQUEST_VOICE_REGISTRATION_STATE
43 #define RIL_REQUEST_GPRS_REGISTRATION_STATE RIL_REQUEST_DATA_REGISTRATION_STATE
44 #define RIL_SignalStrength RIL_SignalStrength_v6
45 #define RIL_CardStatus RIL_CardStatus_v6
46 #define RIL_SIM_IO RIL_SIM_IO_v6
47 #define RIL_UNSOL_RESPONSE_NETWORK_STATE_CHANGED RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
48 #define RIL_LastDataCallActivateFailCause RIL_DataCallFailCause
49 #define COMPAT_RADIO_STATE_ON RADIO_STATE_ON
51 #define COMPAT_RADIO_STATE_ON RADIO_STATE_SIM_READY
54 //set it to the maximum supported revision
55 //we've not yet fully implemented version 7
56 #define SAMSUNG_RIL_VERSION 6