summaryrefslogtreecommitdiffstats
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2015-11-05rilmodem: Get rid of g_try_new0Denis Kenzior1-6/+1
2015-11-05rilmodem: Make ril_ussd_request inlineDenis Kenzior1-5/+4
2015-11-05rilmodem: Rework ril_ussd_requestDenis Kenzior1-34/+17
2015-11-05rilmodem: Rework ril_ussd_cancelDenis Kenzior1-7/+5
2015-11-05rilmodem: Implement ril_ussd_notify inlineDenis Kenzior1-23/+40
2015-11-05rilmodem: Inline query_serial and query_revisionDenis Kenzior1-31/+36
query_serial was supposed to use parse_imei functionality, but called baseband_version instead. Rework both these to use inline parsers.
2015-11-05rilmodem: Rework devinfo driverDenis Kenzior1-38/+7
Remove comments that state the obvious Remove pointless allocations / frees
2015-11-05rilmodem: Rework header order in call-volumeDenis Kenzior1-4/+1
2015-11-05rilmodem: Implement probe_mute_cb inlineDenis Kenzior1-5/+10
2015-11-05rilmodem: Implement ril_call_volume_mute inlineDenis Kenzior1-8/+12
2015-11-05rilmodem: Rework header order in call-settingsDenis Kenzior1-5/+1
2015-11-05rilmodem: Rework header order in call-forwardingDenis Kenzior1-2/+1
2015-11-05rilmodem: Rework header order in call-barringDenis Kenzior1-4/+5
2015-11-05rilmodem: Implement ril_call_barring_set_cb inlineDenis Kenzior1-6/+20
2015-11-05rilmodem: Implement ril_call_barring_query_cb inlineDenis Kenzior1-6/+14
2015-11-05rilmodem: Make ril_call_barring_set_passwd inlineDenis Kenzior1-8/+14
2015-11-05rilmodem: Implement ril_call_barring_set inlineDenis Kenzior1-21/+28
2015-11-05rilmodem: Implement ril_call_barring_query inlineDenis Kenzior1-7/+16
2015-11-04rilmodem: Implement g_ril_request_call_fwd inlineDenis Kenzior1-11/+56
2015-11-04rilmodem: Rework call-forwarding requestsDenis Kenzior1-118/+144
2015-11-04rilmodem: Implement ril_imsi_cb inlineDenis Kenzior1-13/+11
2015-11-04rilmodem: Implement ril_clir_query_cb inlineDenis Kenzior1-7/+11
2015-11-04rilmodem: Implement ril_clip_query_cb inlineDenis Kenzior1-7/+18
2015-11-04rilmodem: Implement ril_cw_query_cb inlineDenis Kenzior1-7/+27
2015-11-04rilmodem: Implement ril_clir_set inlineDenis Kenzior1-1/+6
2015-11-04rilmodem: Implement ril_cw_query inlineDenis Kenzior1-1/+11
2015-11-04rilmodem: Implement ril_cw_set inlineDenis Kenzior1-1/+17
2015-10-15rilmodem: Move get_imsi implementation to rilmodemDenis Kenzior1-1/+7
2015-10-13infineon: Definitions for infineon modemAlfonso Sanchez-Beato1-0/+77
2015-10-13rilmodem: driver for Android modemsTony Espy22-0/+7558
Driver for modems that are accessed through the Android Radio Interface Layer (RIL) for telephony, using the gril library. The driver is almost feature complete with some exceptions, being CBS and SAT the most prominent. Co-authored-by: Tony Espy <espy@canonical.com> Co-authored-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Co-authored-by: Alfonso Sanchez-Beato <alfonso.sanchez-beato@canonical.com> Co-authored-by: Islam Amer <islam.amer@jollamobile.com> Co-authored-by: Jussi Kangas <jussi.kangas@tieto.com> Co-authored-by: Juho Hämäläinen <juho.hamalainen@tieto.com> Co-authored-by: Petri Takalokastari <petri.takalokastari@oss.tieto.com> Co-authored-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com> Co-authored-by: Tommi Kenakkala <tommi.kenakkala@oss.tieto.com> Co-authored-by: Miia Leinonen <miia.leinonen@oss.tieto.com> Co-authored-by: Martti Piirainen <martti.piirainen@canonical.com> Co-authored-by: You-Sheng Yang <vicamo.yang@canonical.com>
2015-08-24hfp: Handle extra CCWA eventKuba Pawlak1-0/+10
When a call is waitng, CCWA event is sent and call object in state WAITING is created. on ReleaseAndAnswer it is promoted to INCOMING and later to ACTIVE. iPhones send an extra CCWA event when active call is ended. This extra event is creating a second call object in state WAITING. It is not possible to have two WAITING calls, but previously waiting call was already promoted to INCOMING. For a brief time we have two calls from the same number, one INCOMING and one WAITING. Later WAITING one is removed. As we cannot have a waiting and incoming call at the same time, ignore CCWA when there is already an INCOMING call. < \r\n+CIEV: 3,3\r\n < \r\n+CIEV: 2,1\r\n < \r\n+CIEV: 3,0\r\n < \r\n+CCWA: "01234567890",129,1,"Me"\r\n < \r\n+CIEV: 3,1\r\n > AT+CLCC\r < \r\n+CLCC: 1,0,0,0,0,"09876543210",129,"Me"\r\n < \r\n+CLCC: 2,1,5,0,0,"01234567890",129,"Me"\r\n < \r\nOK\r\n < \r\n+CIEV: 2,0\r\n < \r\n+CCWA: "01234567890",129,1,"Me"\r\n < \r\n+CIEV: 2,1\r\n < \r\n+CIEV: 3,0\r\n > AT+CLCC\r < \r\n+CLCC: 2,1,0,0,0,"01234567890",129,"Me"\r\n < \r\nOK\r\n
2015-08-05hfp: Synchronize call state in case of +CHUP errorKuba Pawlak1-0/+4
It is possible for the phone to accept Dial request but not actually dial. This leaves a voicecall object in state 'dialling' that cannot be removed. Proposed workaround is to trigger AT+CLCC when an error is returned for Hangup. As the call is not on the list, this would remove this hanging object and signal CallRemoved. Windows Phone trace with this fix: ofonod[273]: > ATD1;\r ofonod[273]: < \r\nOK\r\n ofonod[273]: src/voicecall.c:dial_handle_result() Registering new call: 1 ofonod[273]: < \r\n+CIEV: 5,4\r\n ofonod[273]: src/network.c:ofono_netreg_strength_notify() strength 80 ofonod[273]: > AT+CHUP\r ofonod[273]: < \r\nERROR\r\n ofonod[273]: src/voicecall.c:generic_callback() command failed with error: Unknown error type ofonod[273]: > AT+CLCC\r ofonod[273]: < \r\nOK\r\n ofonod[273]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection event for id: 1, reason: 2
2015-06-04hfpmodem: Fix connecting to AG with existing mptyKuba Pawlak1-0/+20
If there is more then one active or held call, we are in mpty calls. We won't get indicator update if any of them is released by CHLD=1x. So we have to poll it.
2015-05-13atmodem: Add Cinterion quirk for signal strengthAlex J Lennon2-0/+55
Implement OFONO_VENDOR_CINTERION specific vendor support to register textual +CIEV indications for signal strength using AT^SIND command.
2015-03-24hfpmodem: slc.c: make sure to use none_prefixKuba Pawlak1-3/+4
2015-03-24hfpmodem: hfpmodem.c make sure to use none_prefixKuba Pawlak1-5/+6
2015-02-20hfpmodem: Make sure to use none_prefixDenis Kenzior1-2/+2
ofonod[253]: > AT+CCWA=1\r ofonod[253]: < \r\n+BCS:2\r\n ofonod[253]: < \r\nOK\r\n
2015-02-20hfpmodem: Make sure to set the prefix properlyDenis Kenzior1-1/+2
ofonod[1239]: > AT+COPS=3,0\r ofonod[1239]: < \r\n+BCS:2\r\n ofonod[1239]: < \r\nOK\r\n
2015-02-02atmodem: fix retries reporting from AT+CPINRCedric Jehasse1-1/+1
The retries array was not correctly filled in.
2015-02-02atmodem: Sierra modems should be polled after CPINCedric Jehasse1-0/+1
Sierra modem will return "CME ERROR: 14" when polled right after pin has been entered. Use the existing vendor quirk to handle this.
2014-10-22telitmodem: Fix a few coding style violationsDenis Kenzior1-4/+5
2014-10-22telitmodem: location reporting driverKuba Pawlak3-0/+388
2014-10-20slc: Make sure to initialize variablesDenis Kenzior1-0/+3
2014-10-20hfp: Implement +BIND notificationsDenis Kenzior1-0/+22
2014-10-20hfp: Notify core of HF indicators supported by AGDenis Kenzior1-0/+9
This information was obtained from SLC negotiation
2014-10-20hfp: Track supported / active indicatorsDenis Kenzior2-3/+20
This information is obtained during SLC establishment
2014-10-20hfp: Add implementation of +BIEVDenis Kenzior1-0/+20
2014-10-20hfp: Add HF Indicators BRSF feature for 1.7Denis Kenzior1-0/+5
If HFP 1.7 client is used, enable the right BRSF feature
2014-10-20handsfree: Skeleton implementation of DDRDenis Kenzior1-2/+2
Distracted Driving Reduction or Enhanced Safety is implemented using HF indicator 0x0001
2014-10-20hfp: Add initial SLC negotiation for HFP 1.7Denis Kenzior1-1/+94