~ubuntu-branches/ubuntu/vivid/ofono/vivid-proposed

« back to all changes in this revision

Viewing changes to drivers/mtkmodem/mtkutil.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Alfonso Sanchez-Beato, Martti Piirainen
  • Date: 2014-08-04 09:01:34 UTC
  • mfrom: (1.3.22)
  • Revision ID: package-import@ubuntu.com-20140804090134-cj2dntd9ywbfp2oz
Tags: 1.12.bzr6872+14.10.20140804-0ubuntu1
[ Alfonso Sanchez-Beato ]
* doc, plugins/nettime.c: multi-modem support for nettime plugin
* build, doc, gril, mtkmodem, rilmodem, plugins/ril.c,mtk.c: expose
  RadioSettings 'ModemTechnologies' property.  This property can be
  used by clients to determine the supported raido technologies supported
  by a specific modem instance (LP: #1346790).
* gril/gril.c, mtkmodem, plugins/mtk.c, unit: add support for SIM hot insertion/
  removal support.  Hot-swap is disabled by default.  It can be enabled
  by defining OFONO_RIL_HOT_SIM_SWAP env var.
* gril, rilmodem, plugins/mtk.c,ril.c: MTK MMS fix.  For standalone
  MMS contexts, the cid and a special MMS-specific data profile need
  to included in the SETUP_DATA_CALL request.
* gril, mtk, ril, mtkmodem, rilmodem: Fix MTK data attachment (LP: #1349911)

[ Martti Piirainen ]
* plugins/ubuntu-apndb.c: fix IMSI provisioning (LP: #1347733)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef MTKUTIL_H
23
23
#define MTKUTIL_H
24
24
 
 
25
#include <ofono/types.h>
 
26
#include <gril.h>
 
27
 
25
28
#ifdef __cplusplus
26
29
extern "C" {
27
30
#endif
28
31
 
 
32
struct ofono_modem;
 
33
 
 
34
void mtk_set_attach_state(struct ofono_modem *modem, ofono_bool_t attached);
 
35
void mtk_detach_received(struct ofono_modem *modem);
 
36
 
 
37
struct mtk_gprs_data {
 
38
        GRil *gril;
 
39
        struct ofono_modem *modem;
 
40
};
 
41
 
29
42
const char *mtk_request_id_to_string(int req);
30
43
const char *mtk_unsol_request_to_string(int req);
31
44