mirror of git://git.sysmocom.de/ofono
ifxmodem: Add skeleton for Infineon specific GPRS context driver
This commit is contained in:
parent
692cf6a6f6
commit
9bdc2b0a43
|
@ -224,6 +224,7 @@ builtin_sources += drivers/atmodem/atutil.h \
|
||||||
drivers/ifxmodem/voicecall.c \
|
drivers/ifxmodem/voicecall.c \
|
||||||
drivers/ifxmodem/audio-settings.c \
|
drivers/ifxmodem/audio-settings.c \
|
||||||
drivers/ifxmodem/radio-settings.c \
|
drivers/ifxmodem/radio-settings.c \
|
||||||
|
drivers/ifxmodem/gprs-context.c \
|
||||||
drivers/ifxmodem/stk.c
|
drivers/ifxmodem/stk.c
|
||||||
|
|
||||||
builtin_modules += stemodem
|
builtin_modules += stemodem
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* oFono - Open Source Telephony
|
||||||
|
*
|
||||||
|
* Copyright (C) 2008-2010 Intel Corporation. All rights reserved.
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
|
#include <ofono/log.h>
|
||||||
|
#include <ofono/modem.h>
|
||||||
|
#include <ofono/gprs-context.h>
|
||||||
|
|
||||||
|
#include "gatchat.h"
|
||||||
|
#include "gatresult.h"
|
||||||
|
#include "gatrawip.h"
|
||||||
|
|
||||||
|
#include "ifxmodem.h"
|
||||||
|
|
||||||
|
void ifx_gprs_context_init()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void ifx_gprs_context_exit()
|
||||||
|
{
|
||||||
|
}
|
|
@ -37,6 +37,7 @@ static int ifxmodem_init(void)
|
||||||
ifx_voicecall_init();
|
ifx_voicecall_init();
|
||||||
ifx_audio_settings_init();
|
ifx_audio_settings_init();
|
||||||
ifx_radio_settings_init();
|
ifx_radio_settings_init();
|
||||||
|
ifx_gprs_context_init();
|
||||||
ifx_stk_init();
|
ifx_stk_init();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -45,6 +46,7 @@ static int ifxmodem_init(void)
|
||||||
static void ifxmodem_exit(void)
|
static void ifxmodem_exit(void)
|
||||||
{
|
{
|
||||||
ifx_stk_exit();
|
ifx_stk_exit();
|
||||||
|
ifx_gprs_context_exit();
|
||||||
ifx_radio_settings_exit();
|
ifx_radio_settings_exit();
|
||||||
ifx_audio_settings_exit();
|
ifx_audio_settings_exit();
|
||||||
ifx_voicecall_exit();
|
ifx_voicecall_exit();
|
||||||
|
|
|
@ -30,5 +30,8 @@ extern void ifx_audio_settings_exit();
|
||||||
extern void ifx_radio_settings_init();
|
extern void ifx_radio_settings_init();
|
||||||
extern void ifx_radio_settings_exit();
|
extern void ifx_radio_settings_exit();
|
||||||
|
|
||||||
|
extern void ifx_gprs_context_init();
|
||||||
|
extern void ifx_gprs_context_exit();
|
||||||
|
|
||||||
extern void ifx_stk_init();
|
extern void ifx_stk_init();
|
||||||
extern void ifx_stk_exit();
|
extern void ifx_stk_exit();
|
||||||
|
|
Loading…
Reference in New Issue