~phablet-team/ofono/lp1363413

« back to all changes in this revision

Viewing changes to drivers/mtkmodem/voicecall.c

  • Committer: CI bot
  • Author(s): Tony Espy
  • Date: 2014-08-04 09:01:21 UTC
  • mfrom: (6871.1.2 ofono-update-bzr)
  • Revision ID: ps-jenkins@lists.canonical.com-20140804090121-yfrd4clxg2eeqew5
 * 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.
  * plugins/ubuntu-apndb.c: fix IMSI provisioning (LP: #1347733)
 Fixes: 1346790, 1347733
Approved by: Alfonso Sanchez-Beato, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                                                call_ind->call_id,
85
85
                                                call_ind->seq_number, &rilp);
86
86
 
87
 
        if (g_ril_send(vd->ril, RIL_REQUEST_SET_CALL_INDICATION,
 
87
        if (g_ril_send(vd->ril, MTK_RIL_REQUEST_SET_CALL_INDICATION,
88
88
                        &rilp, mtk_set_indication_cb, vc, NULL) == 0)
89
89
                ofono_error("%s: cannot send indication", __func__);
90
90
 
97
97
        struct ril_voicecall_data *vd = ofono_voicecall_get_data(vc);
98
98
 
99
99
        /* MTK generates this event instead of CALL_STATE_CHANGED */
100
 
        g_ril_register(vd->ril, RIL_UNSOL_CALL_PROGRESS_INFO,
 
100
        g_ril_register(vd->ril, MTK_RIL_UNSOL_CALL_PROGRESS_INFO,
101
101
                        ril_call_state_notify, vc);
102
102
 
103
103
        /* Indicates incoming call, before telling the network our state */
104
 
        g_ril_register(vd->ril, RIL_UNSOL_INCOMING_CALL_INDICATION,
 
104
        g_ril_register(vd->ril, MTK_RIL_UNSOL_INCOMING_CALL_INDICATION,
105
105
                        mtk_incoming_notify, vc);
106
106
 
107
107
        /* This makes the timeout a single-shot */