Skip to content

allow automatic context activation

Dragos Tatulea ofono 5 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 5 repliesApplied
  2. v33 of 9 patches 1 replySuperseded
  3. v2 posting 2/25 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/23 of 9 patches0 repliesSuperseded
v19 patches8 repliesApplied

Changes in v4 from the cover letter

* Patchset v3 was borked.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5idmap: add api for finding a certain id in mapsrc/idmap.c src/idmap.h+13 -01 reply
2/5gprs-context.h: add op for reading context configinclude/gprs-context.h+3 -01 reply
3/5gprs: implement ofono_gprs_cid_activatedsrc/gprs.c+114 -01 reply
4/5atmodem: gprs: handle automatic context activationdrivers/atmodem/gprs.c+50 -01 reply
5/5ubloxmodem: support automatic ctx activationdrivers/ubloxmodem/gprs-context.c+22 -101 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/5] allow automatic context activation

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 v4:
* Patchset v3 was borked.

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(-)
Signature · 1 line
2.5.0