ifxmodem: Add skeleton for Infineon specific GPRS context driver

This commit is contained in:
Marcel Holtmann 2010-10-21 19:44:28 +02:00
parent 692cf6a6f6
commit 9bdc2b0a43
4 changed files with 50 additions and 0 deletions

View File

@ -224,6 +224,7 @@ builtin_sources += drivers/atmodem/atutil.h \
drivers/ifxmodem/voicecall.c \
drivers/ifxmodem/audio-settings.c \
drivers/ifxmodem/radio-settings.c \
drivers/ifxmodem/gprs-context.c \
drivers/ifxmodem/stk.c
builtin_modules += stemodem

View File

@ -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()
{
}

View File

@ -37,6 +37,7 @@ static int ifxmodem_init(void)
ifx_voicecall_init();
ifx_audio_settings_init();
ifx_radio_settings_init();
ifx_gprs_context_init();
ifx_stk_init();
return 0;
@ -45,6 +46,7 @@ static int ifxmodem_init(void)
static void ifxmodem_exit(void)
{
ifx_stk_exit();
ifx_gprs_context_exit();
ifx_radio_settings_exit();
ifx_audio_settings_exit();
ifx_voicecall_exit();

View File

@ -30,5 +30,8 @@ extern void ifx_audio_settings_exit();
extern void ifx_radio_settings_init();
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_exit();