summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-07-06emulator: Make the logic a bit more readableDenis Kenzior1-13/+18
2011-07-06emulator: fix CCWA for PTSFrédéric Danis1-36/+59
During test TP/TCA/BV-05-I [Terminate Ongoing Call – While Call Waiting] PTS fails if multiple +CCWA are sent (waiting for 1st phone number when waiting one becomes incoming, intead of 2nd phone number). So, send only 1 +CCWA. Update RING timer management to be started as soon as an incoming call exists, and retrieve +CLIP info for incoming or waiting call (in case of waiting call becoming incoming call, call indicator changes before internal call status is updated) Force to send +CCWA (if needed) on reception of AT+CCWA=1
2011-07-06stk: Use the right command pointerAndrzej Zaborowski1-1/+1
2011-07-01main: Move signalfd setup in its own functionMarcel Holtmann1-38/+55
2011-06-30stkutil: Fix alignment issue with channel data lengthMarcel Holtmann1-1/+1
2011-06-30stkutil: Fix alignment issue with building event listMarcel Holtmann1-1/+1
2011-06-30stkutil: Add missing call to va_end()Marcel Holtmann1-0/+2
2011-06-29emulator: Use ACFC and PFC by defaultGuillaume Zajac1-0/+3
2011-06-29stk: Remove deprecated structurePhilippe Nunes1-8/+0
2011-06-21voicecall: add ATD> support for HFP emulatorFrédéric Danis1-3/+28
2011-06-21message-waiting: API to retrieve voicemail numberFrédéric Danis2-0/+11
2011-06-20emulator: fix local HFP AG featuresFrédéric Danis1-2/+5
2011-06-16voicecall: add +BLDN support for HFP emulatorFrédéric Danis1-0/+34
2011-06-16voicecall: add ATD support for HFP emulatorFrédéric Danis1-19/+146
2011-06-16call-settings: fix typoNicolas Bertrand1-1/+1
2011-06-15emulator: fix request testsFrédéric Danis1-2/+2
2011-06-12cdma-voicecall: Fix for crash when unregistering atomDara Spieker-Doyle1-0/+14
2011-06-05cdma-smsutil: Fix uninitialized var on gcc >= 4.5Denis Kenzior1-1/+1
2011-06-02sim: Make sure only PINs can be sent to EnterPinDenis Kenzior1-0/+3
2011-06-02gprs: Unify logic inside registration_status_cbDenis Kenzior1-11/+12
And delay reseting the ATTACHING flag until we had a chance to query the CGREG status.
2011-06-01emulator: Don't try to release in case of errorDenis Kenzior1-2/+4
2011-06-01voicecall: save last dialed numberFrédéric Danis1-0/+45
2011-06-01voicecall: create generic dial functionFrédéric Danis1-27/+55
split manager_dial between generic and dbus parts
2011-05-31stk: Cancel pending DTMF tones if session is endedDenis Kenzior1-13/+25
The Send DTMF command is special in its use of DisplayAction method of STK agent. This allows the user to send a 'User Terminated Session' response to the SIM. If the user performs this action, then any pending DTMFs should also be canceled as soon as possible.
2011-05-31stk: simplify respond_on_exit flag handlingPhilippe Nunes1-25/+2
respond_on_exit flag is set by commands which are dispatched to the agent, so that if the agent exits prematurely, a 'User Terminated Session' response is sent to the SIM. There were a couple of corner cases not quite handled correctly: - During Set Up Call, if the user confirmation phase succeeded and the call was dispatched to voicecall atom successfully, and the agent exited at this point, then no terminal response would be sent until the call succeeded / failed. Now the agent termination results in an 'User Terminated Session' response being sent immediately, but the call setup proceeding.
2011-05-31netreg: Remove unused variableDenis Kenzior1-6/+1
2011-05-29smsutil: Mark variable properly as unusedMarcel Holtmann1-4/+1
2011-05-25emulator: Fix make distcheckDenis Kenzior1-1/+0
2011-05-27smsutil: Fix missing error handling for strtol functionMarcel Holtmann1-1/+3
2011-05-25emulator: Reflow ato implementation logicDenis Kenzior1-11/+4
2011-05-25emulator: add ATO implementationGuillaume Zajac1-0/+53
2011-05-24emulator: Make sure to cleanup on forceful exitDenis Kenzior1-0/+8
2011-05-24emulator: simplify ath callbackDenis Kenzior1-10/+7
2011-05-24emulator: Update to the new GAtPPP APIDenis Kenzior1-66/+27
2011-05-24emulator: Send a NO CARRIER where appropriateDenis Kenzior1-0/+3
2011-05-24emulator: Get rid of return at the end of funcDenis Kenzior1-2/+0
2011-05-24emulator: optimize request_private_network_cb flowDenis Kenzior1-10/+8
2011-05-24emulator: add request/release private network callsGuillaume Zajac1-10/+66
2011-05-24private-network: add initial implementationGuillaume Zajac2-0/+96
2011-05-24cdma-sms: Add CDMA SMS SupportLei Yu2-0/+332
2011-05-24cdma-sms: Add CDMA SMS SupportLei Yu2-0/+1034
2011-05-24voicecall: remove unnecessary local varFrédéric Dalleau1-5/+1
2011-05-22voicecall: add +VTS support for HFP emulatorFrédéric Dalleau1-0/+52
2011-05-20simutil: remove set but not used varGustavo F. Padovan1-2/+1
2011-05-20gprs: remove set but not used varGustavo F. Padovan1-3/+0
2011-05-20sms: remove set but not used varGustavo F. Padovan1-3/+0
2011-05-16voicecall: fix CHLD support replyFrédéric Dalleau1-2/+2
2011-05-11gprs: Make sure to clean up interfacesDenis Kenzior1-0/+10
When going down, it is sometimes possible for us not to ifconfig down the interface or reset the MMS context IPv4 address propertly
2011-05-11simfs: Fix error reported by valgrindDenis Kenzior1-9/+2
==20365== Invalid read of size 8 ==20365== at 0x4B3501: sim_fs_free (simfs.c:114) ==20365== by 0x493CEC: sim_remove (sim.c:2485) ==20365== by 0x4703D7: modem_change_state (modem.c:410) ==20365== by 0x470664: set_powered (modem.c:848) ==20365== by 0x4706BA: __ofono_modem_shutdown (modem.c:2137) ==20365== by 0x46F2C5: signal_cb (main.c:76) ==20365== by 0x52F555E: g_io_unix_dispatch (giounix.c:166) ==20365== by 0x52A0AAB: g_main_dispatch (gmain.c:2440) ==20365== by 0x52A203B: g_main_context_dispatch (gmain.c:3013) ==20365== by 0x52A2501: g_main_context_iterate (gmain.c:3091) ==20365== by 0x52A2C98: g_main_loop_run (gmain.c:3299) ==20365== by 0x46F0D3: main (main.c:243) ==20365== Address 0x63ff998 is 8 bytes inside a block of size 16 free'd ==20365== at 0x4C2612D: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==20365== by 0x52AA4A1: g_free (gmem.c:263) ==20365== by 0x52C433D: g_slice_free1 (gslice.c:907) ==20365== by 0x52C58D0: g_slist_free_1 (gslist.c:192) ==20365== by 0x52C5C5F: g_slist_remove (gslist.c:465) ==20365== by 0x4B342A: sim_fs_context_free (simfs.c:192) ==20365== by 0x4B3500: sim_fs_free (simfs.c:117) ==20365== by 0x493CEC: sim_remove (sim.c:2485) ==20365== by 0x4703D7: modem_change_state (modem.c:410) ==20365== by 0x470664: set_powered (modem.c:848) ==20365== by 0x4706BA: __ofono_modem_shutdown (modem.c:2137) ==20365== by 0x46F2C5: signal_cb (main.c:76)
2011-05-11simfs: Fix issue reported by valgrindDenis Kenzior1-0/+1
==20287== Invalid read of size 4 ==20287== at 0x52B5C6B: g_queue_peek_nth_link (gqueue.c:704) ==20287== by 0x52B5F57: g_queue_peek_nth (gqueue.c:848) ==20287== by 0x4B33ED: sim_fs_context_free (simfs.c:170) ==20287== by 0x4B34F8: sim_fs_free (simfs.c:116) ==20287== by 0x493CEC: sim_remove (sim.c:2485) ==20287== by 0x4703D7: modem_change_state (modem.c:410) ==20287== by 0x470664: set_powered (modem.c:848) ==20287== by 0x4706BA: __ofono_modem_shutdown (modem.c:2137) ==20287== by 0x46F2C5: signal_cb (main.c:76) ==20287== by 0x52F555E: g_io_unix_dispatch (giounix.c:166) ==20287== by 0x52A0AAB: g_main_dispatch (gmain.c:2440) ==20287== by 0x52A203B: g_main_context_dispatch (gmain.c:3013) ==20287== Address 0x63fae70 is 16 bytes inside a block of size 24 free'd ==20287== at 0x4C2612D: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==20287== by 0x52AA4A1: g_free (gmem.c:263) ==20287== by 0x52C433D: g_slice_free1 (gslice.c:907) ==20287== by 0x52B4E96: g_queue_free (gqueue.c:60) ==20287== by 0x4B34E0: sim_fs_free (simfs.c:107) ==20287== by 0x493CEC: sim_remove (sim.c:2485) ==20287== by 0x4703D7: modem_change_state (modem.c:410) ==20287== by 0x470664: set_powered (modem.c:848) ==20287== by 0x4706BA: __ofono_modem_shutdown (modem.c:2137) ==20287== by 0x46F2C5: signal_cb (main.c:76) ==20287== by 0x52F555E: g_io_unix_dispatch (giounix.c:166) ==20287== by 0x52A0AAB: g_main_dispatch (gmain.c:2440)