New APIs are introduced in the gprs atom in order to setup a PDP context directly from the stk atom. In order to privatize the PDP context created from STK, a new PDP context type ('stk') is introduced. By registering a callback, the STK atom is notified when the dedicated PDP context is activated and the interface setup is extended to add also a host route for STK PDP context type.
Philippe Nunes (4): gprs: Add 'stk' gprs context type gprs: Add new external APIs to create, activate and remove a PDP context stk: Use gprs APIs to create, activate and remove a dedicated PDP context gprs: Add a host route for STK context type. include/gprs-context.h | 1 + include/gprs.h | 16 +++ src/gprs.c | 292 +++++++++++++++++++++++++++++++++++++++++++----- src/stk.c | 132 +++++++++++++++++++--- 4 files changed, 398 insertions(+), 43 deletions(-) _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono