summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-08-18voicecall: Relax reqs for hangup of held callsDenis Kenzior1-1/+3
If we have a single held call, then it should be possible to hang it up with 'Hangup' even if active calls exist. Only if multiple held calls or a waiting call exists should we disallow the request due to possible side-effects.
2011-08-18voicecall: Move stuff aroundDenis Kenzior1-48/+48
2011-08-18gprs: Experimental fix for twitchy Huawei firmwareDenis Kenzior1-0/+8
2011-08-18network: Fix crash with an empty mcc/mnc cops listDenis Kenzior1-0/+3
Some hardware returns an empty mcc/mnc operator during an operator scan when no operators are found (e.g. on an LTE dongle in a non-LTE area). This results in oFono mistaking trying to update a non-existent operator object. For reference: ofonod[27532]: Device: < \r\n+NWSTATEIND: 4\r\n\r\n+COPS: (0,"","","",255),,(0-4),(0-2)\r\n\r \nOK\r\n process 27532: arguments to dbus_message_new_signal() were incorrect, assertion "_dbus_check_ is_valid_path (path)" failed in file dbus-message.c line 1289. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace
2011-08-15plugin: Use simpler version mismatch errorMarcel Holtmann1-2/+2
2011-08-15plugin: Add debug support for external pluginsMarcel Holtmann1-0/+2
2011-08-15log: Use separate function for enable loggingMarcel Holtmann2-5/+17
2011-08-15cdma-voicecall: Implement SendTones methodCaiwen Zhang1-0/+54
2011-08-15cdma-voicecall: Implement SendFlash methodCaiwen Zhang1-0/+25
2011-08-15cdma-voicecall: Implement Answer methodCaiwen Zhang1-0/+23
2011-08-15emulator: fix indicator notificationFrédéric Danis2-13/+31
2011-08-15stkagent: Define DBUS_TIMEOUT_INFINITE if undefinedMarcel Holtmann1-0/+4
2011-08-14stkagent: Use infinite timeoutsDenis Kenzior1-3/+3
for DisplayActionInformation and DisplayAction
2011-08-14stk: Fix crashesDenis Kenzior1-36/+13
2011-08-09cdma-netreg: Initialize hdr strengthDenis Kenzior1-0/+1
2011-08-09cdma-netreg: Implement HDR strength updatesDenis Kenzior1-7/+29
2011-08-05cdma-netreg: Add Strength property supportBertrand Aygon1-0/+39
2011-08-05cdma-netreg: implement support for Status propertyBertrand Aygon1-0/+47
2011-08-05cdma-netreg: Add initial stub implementationBertrand Aygon2-0/+192
2011-07-29modem: Add some more debug outputsMarcel Holtmann1-3/+11
2011-07-29main: Print message when starting to shutdownMarcel Holtmann1-0/+1
2011-07-27network: Force auto-only mode if manual registration is not supportedMarcel Holtmann1-0/+9
If the network registration driver decides to not provide a manual registration method, then force the mode to auto-only.
2011-07-25stk: Fix missing break statementDenis Kenzior1-0/+1
2011-07-25voicecall: Be more paranoid and null terminateDenis Kenzior1-1/+4
2011-07-25voicecall: Use defined constantsDenis Kenzior1-3/+3
2011-07-25stk: Make sure to set cancel_cmdDenis Kenzior1-17/+34
For handled commands, in case the terminal response is not reported by the modem, we must set the cancel_cmd variable so the command is canceled properly. This patch also modifies the behavior so that pending_cmd is freed, since stk_proactive_command_cancel expects cancel_cmd to be set if pending_cmd is not NULL.
2011-07-25stk: Remove code that does nothingDenis Kenzior1-3/+0
2011-07-25stk: Fix possible crashDenis Kenzior1-4/+4
We can't call stk_command_free on a NULL object
2011-07-25stk: Handle set up call in handled_notifyJeevaka Badrappan1-26/+140
2011-07-25voicecall: api for set/clear alpha and icon idJeevaka Badrappan2-0/+71
2011-07-24cdma-connman: fix the set_property Activate replyBertrand Aygon1-1/+1
2011-07-22network: handle hfp operator change correctlyDenis Kenzior1-1/+2
2011-07-21voicecall: remove usage of em_atd_numberFrédéric Danis1-10/+9
as emulator atom can only run with a 'ready' SIM, use saved number instead of em_atd_number
2011-07-21cdma-connman: emit PropertyChanged signalDenis Kenzior1-2/+20
When Username / Password are changed, we should emit the PropertyChanged signal
2011-07-21cdma-connman: Add Username and Password propertiesGuillaume Zajac1-1/+47
2011-07-19voicecall: Free settings when sim gets locked outDenis Kenzior1-1/+2
2011-07-19sim: Support SIM_STATE_LOCKED_OUTDenis Kenzior2-4/+7
2011-07-19sim: Break out state notification into own methodDenis Kenzior1-19/+15
2011-07-19voicecall: close settings when SIM is removedFrédéric Danis1-0/+3
This also fixes the case where +BLDN uses an invalid number when the SIM is removed.
2011-07-19voicecall: fix callheld indicator for PTSFrédéric Danis1-0/+20
Fix PTS test TP/TWC/BV-03-I [Call Waiting- Hold Active/Retrieve Waiting Call or Held]. PTS test fails after receiving intermediate update of callheld indicator with value 0 (no held call) before it receives update to value 1 (active and held calls). This is due to the non-atomic update of calls status after call swap (moving first call to active state before moving second one to hold state). HFP 1.5 spec specifies that an update of callheld indicator to 1 should be sent after AT+CHLD=2 command. As oFono emulator sends +CIEV only if the indicator value changes, we need to use an intermediate state for callheld indicator (2, all calls on hold). So, in case of multiple active calls, or an active call with an active mutiparty call, force update of callheld indicator to 2.
2011-07-15stk: Fix crash seen in stk_alpha_id_unsetJeevaka Badrappan1-1/+6
If there is no default agent, then current agent also will be NULL. So, call stk_agent_request_cancel only when there is a valid current agent.
2011-07-14voicecall: Minor style fixDenis Kenzior1-5/+5
2011-07-14voicecall: dial_request_user_cancel is not safeDenis Kenzior1-14/+8
It is not safe to call dial_request_user_cancel directly. This is because there might be a situation where the SIM requested the calls to be dropped first. If we're still executing the release_all_active request and someone calls hangup -> crash. Instead it is safer to throttle the hangup requests until the call is actually dialing. In similar fashion, we should not allow hanging up a specific call if a dial request is active, unless that call is part of the SIM dial request. Note that by default this is not known until the driver's dial implementation returns and the call is in the dialing (or alerting / connected) state.
2011-07-14voicecall: Send busy to DBus if emulator is pendingDenis Kenzior1-12/+12
2011-07-14voicecall: Don't send response to defunct emulatorDenis Kenzior1-12/+28
2011-07-14voicecall: Throttle emulatorsDenis Kenzior1-35/+45
Make sure that only a single request from (possibly multiple) emulators is ever sent to the voicecall driver. In the beginning it wasn't clear whether this will be necessary, however several command implementations already implemented basic throttling (+CHUP, ATD, CHLD=3, CHLD=2x) and it made sense to make this more formal. The other constraint is the abrupt removal of the emulator atom while an operation is pending. This case must be handled gracefully. See next commit.
2011-07-14voicecall: Minor style fixesDenis Kenzior1-4/+4
2011-07-14voicecall: manage multiparty list in AT+CHLD=2XFrédéric Dalleau1-2/+56
2011-07-14voicecall: manage multiparty list in AT+CHLD=3Frédéric Dalleau1-4/+51
2011-07-14voicecall: Minor style fixDenis Kenzior1-1/+1