From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [PATCH] ifxmodem: Adding fast dormancy support to Infineon modem
Date: Thu, 18 Nov 2010 04:47:43 +0100 [thread overview]
Message-ID: <1290052063.29148.15.camel@aeonflux> (raw)
In-Reply-To: <1290022164-24730-1-git-send-email-robertino.benis@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]
Hi Robertino,
> Initial patch to add fast dormancy to Infineon modem. Timeout is not
> supported yet.
>
> Thanks,
> -- r.
>
> ---
> drivers/ifxmodem/radio-settings.c | 40 ++++++++++++++++++++++++++++++++++++-
> 1 files changed, 39 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/ifxmodem/radio-settings.c b/drivers/ifxmodem/radio-settings.c
> index 89e97e7..68077db 100644
> --- a/drivers/ifxmodem/radio-settings.c
> +++ b/drivers/ifxmodem/radio-settings.c
> @@ -27,6 +27,7 @@
> #include <string.h>
> #include <stdlib.h>
> #include <stdio.h>
> +#include <stdint.h>
> #include <errno.h>
>
> #include <glib.h>
> @@ -45,6 +46,7 @@ static const char *xrat_prefix[] = { "+XRAT:", NULL };
>
> struct radio_settings_data {
> GAtChat *chat;
> + uint16_t fast_dormancy;
> };
>
> static void xrat_query_cb(gboolean ok, GAtResult *result, gpointer user_data)
> @@ -196,12 +198,48 @@ static void ifx_radio_settings_remove(struct ofono_radio_settings *rs)
> g_free(rsd);
> }
>
> +static void update_fast_dormancy(struct radio_settings_data *rsd)
> +{
> + char buf[20];
> +
> + snprintf(buf, sizeof(buf), "AT+XFDOR=%u", rsd->fast_dormancy);
is this command for fast dormancy really doing exactly what is expected
according to doc/radio-settings.txt. In my last documentation from
Infineon, that is still not the case.
Regards
Marcel
next prev parent reply other threads:[~2010-11-18 3:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 19:29 [PATCH] ifxmodem: Adding fast dormancy support to Infineon modem Robertino Benis
2010-11-18 3:47 ` Marcel Holtmann [this message]
2010-11-18 6:15 ` Benis, Robertino
2010-11-18 20:18 ` Bastian, Waldo
2010-11-19 6:58 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1290052063.29148.15.camel@aeonflux \
--to=marcel@holtmann.org \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox