All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] allow automatic context activation
@ 2016-03-18 10:47 Dragos Tatulea
  2016-03-18 10:47 ` [PATCH 1/5] idmap: add api for finding a certain id in map Dragos Tatulea
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Dragos Tatulea @ 2016-03-18 10:47 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1550 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 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-18 10:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 10:47 [PATCH v2 0/9] allow automatic context activation Dragos Tatulea
2016-03-18 10:47 ` [PATCH 1/5] idmap: add api for finding a certain id in map Dragos Tatulea
2016-03-18 10:47 ` [PATCH 2/5] gprs-context.h: add op for reading context config Dragos Tatulea
2016-03-18 10:47 ` [PATCH 3/5] gprs: implement ofono_gprs_cid_activated Dragos Tatulea
2016-03-18 10:47 ` [PATCH 3/9] gprs.h: automatic context configuration notifier Dragos Tatulea
2016-03-18 10:47 ` [PATCH 4/5] atmodem: gprs: handle automatic context activation Dragos Tatulea
2016-03-18 10:47 ` [PATCH 4/9] gprs: pri_activate_callback: optional msg reply Dragos Tatulea
2016-03-18 10:47 ` [PATCH 5/9] gprs: pri_set_apn: make reply msg optional Dragos Tatulea
2016-03-18 10:47 ` [PATCH 5/5] ubloxmodem: support automatic ctx activation Dragos Tatulea
2016-03-18 10:54 ` [PATCH v2 0/5] allow automatic context activation Dragos Tatulea

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.