From: Dragos Tatulea <dragos@endocode.com>
To: ofono@ofono.org
Subject: [PATCH v3 0/9] allow automatic context activation
Date: Fri, 18 Mar 2016 12:53:06 +0100 [thread overview]
Message-ID: <1458301994-5567-1-git-send-email-dragos@endocode.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]
LTE uses default bearer activation. Once register to the network is
received of which context has been activated.
This patchset takes action in the atmodem gprs driver when receiving
the activation event. It reads the cid and apn and sends it to the
gprs core. From there a matching (my apn) pri_context is
found/created and a gprs-context driver is assigned.
A read_settings operation has been added to the gprs-context driver
to read context ip configuration without activating the context.
The last patch in the patchset adds this support to the U-Blox
Toby L2 modem.
Implementation based mostly on ideas from Denis Kenzior.
Changes in patchset v3:
* Fixed apn string length check.
Changes in patchset v2:
* Removed reliance on pri_activate_callback
* Context recycling: Use failed provision node if no apn match.
* Assign APN to pri_context if apn field is NULL.
* Fixed all suggestions from v1 review.
Dragos Tatulea (5):
idmap: add api for finding a certain id in map
gprs-context.h: add op for reading context config
gprs: implement ofono_gprs_cid_activated
atmodem: gprs: handle automatic context activation
ubloxmodem: support automatic ctx activation
drivers/atmodem/gprs.c | 50 +++++++++++++++++
drivers/ubloxmodem/gprs-context.c | 32 +++++++----
include/gprs-context.h | 3 +
src/gprs.c | 114 ++++++++++++++++++++++++++++++++++++++
src/idmap.c | 12 ++++
src/idmap.h | 1 +
6 files changed, 202 insertions(+), 10 deletions(-)
--
2.5.0
next reply other threads:[~2016-03-18 11:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 11:53 Dragos Tatulea [this message]
2016-03-18 11:53 ` [PATCH 1/5] idmap: add api for finding a certain id in map Dragos Tatulea
2016-03-18 11:53 ` [PATCH 2/5] gprs-context.h: add op for reading context config Dragos Tatulea
2016-03-18 11:53 ` [PATCH 3/5] gprs: implement ofono_gprs_cid_activated Dragos Tatulea
2016-03-18 11:53 ` [PATCH 3/9] gprs.h: automatic context configuration notifier Dragos Tatulea
2016-03-18 11:53 ` [PATCH 4/5] atmodem: gprs: handle automatic context activation Dragos Tatulea
2016-03-18 11:53 ` [PATCH 4/9] gprs: pri_activate_callback: optional msg reply Dragos Tatulea
2016-03-18 11:53 ` [PATCH 5/9] gprs: pri_set_apn: make reply msg optional Dragos Tatulea
2016-03-18 11:53 ` [PATCH 5/5] ubloxmodem: support automatic ctx activation Dragos Tatulea
2016-03-18 12:03 ` [PATCH v3 0/9] allow automatic context activation Dragos Tatulea
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=1458301994-5567-1-git-send-email-dragos@endocode.com \
--to=dragos@endocode.com \
--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