summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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)
2011-05-11gprs: Mark context inactive on removalDenis Kenzior1-0/+26
2011-05-11gprs: Fix valgrind errorDenis Kenzior1-5/+13
This fixes an invalid access condition for the case where the gprs atom is destroyed before context atoms are.
2011-05-11gprs: emit Active changed for contexts being removedDenis Kenzior1-2/+7
2011-05-11gprs: Add additional debug statementsDenis Kenzior1-0/+4
2011-05-08stkutil: Send at least the data currently availablePhilippe Nunes1-1/+2
2011-05-08sim: Fix potential use of uninitialized variableDenis Kenzior1-14/+8
In certain circumstances, when the image has been cached but EFimg has not been read yet, we might end up accessing an unitialized variable. Fix this by always failing if EFimg has not been read yet.
2011-05-08emulator: add AT+CMEE support for HFPFrédéric Danis1-1/+62
2011-05-08emulator: add dun_ath_cb() and register itGuillaume Zajac1-2/+56
2011-05-08emulator: add handler for ppp stream suspensionsGuillaume Zajac1-0/+10
Resulting from the client sending '+++' escape sequence.
2011-05-05call-forwarding: Fix uninitialized var warningBertrand Aygon1-1/+3
Fix a gcc 4.5.2 warning uninit var
2011-05-04voicecall: CHLD support must be enclosed in a listDenis Kenzior1-4/+5
2011-05-04voicecall: Simplify CHLD support generatorDenis Kenzior1-46/+19
In addition, fix ordering and make sure that lower case 'x' is used
2011-05-04voicecall: CHLD call ids start at 1, not 0Denis Kenzior1-2/+2
2011-05-04voicecall: add +CHLD=2X support for HFP emulatorFrédéric Dalleau1-0/+17
2011-05-04voicecall: add +CHLD=1X support for HFP emulatorFrédéric Dalleau1-2/+20
2011-05-04voicecall: add +CHLD=4 support for HFP emulatorFrédéric Dalleau1-0/+14
2011-05-04voicecall: add +CHLD=3 support for HFP emulatorFrédéric Dalleau1-0/+14
2011-05-04voicecall: add +CHLD=0 support for HFP emulatorFrédéric Dalleau1-1/+24
2011-05-04voicecall: add +CHLD support for HFP emulatorFrédéric Dalleau1-0/+70
2011-05-04voicecall: Fix variable initializationFrédéric Dalleau1-0/+1
2011-04-29sms: Remove use of uninitialized variableBertrand Aygon1-1/+1
Remove a debug information, since the info is useless, and more, it can display invalid info due to var not initialise in some case
2011-04-28modem: Don't allow setting online unless poweredDenis Kenzior1-0/+3
2011-04-26voicecall: fix waiting calls for HFP emulatorFrédéric Danis1-1/+3
Fix precedence between waiting and dialing so HFP emulator is notified of dialing/alerting even in case of a waiting call pending.
2011-04-26voicecall: Update CLCC buffer size and commentDenis Kenzior1-3/+4
2011-04-26voicecall: Refactor the previous commit slightlyDenis Kenzior1-13/+11
2011-04-26voicecall: add +CLCC support for HFP emulatorFrédéric Dalleau1-0/+58
2011-04-21emulator: fix +CLIP in case of withheld callFrédéric Danis1-2/+10
2011-04-19voicecall: Tweak the behavior of previous commitDenis Kenzior1-17/+11
Use a generic void pointer to remove the need for emulator_release_done function. Use naming a bit more consistent with the rest of the codebase
2011-04-19voicecall: add +CHUP support for HFP emulatorFrédéric Danis1-5/+86
Update multirelease_callback to be used from DBus calls or HFP Emulator. "release done" is configurable by multirelease caller.
2011-04-19voicecall: Don't go over 80 characters per lineDenis Kenzior1-1/+2
2011-04-19voicecall: add ATA support for HFP emulatorFrédéric Danis1-6/+68
2011-04-19emulator: Use a switch/case instead of ifDenis Kenzior1-5/+10
Seems a bit cleaner
2011-04-19emulator: Reflow commentsDenis Kenzior1-6/+5
2011-04-19emulator: add +CCWA support for HFP AGFrédéric Danis1-1/+76
2011-04-19emulator: add +CLIP support for HFP AGFrédéric Danis1-1/+81
2011-04-19voicecall: add API to find call by statusFrédéric Danis2-0/+19
2011-04-19emulator: add RING for HFP AGFrédéric Danis1-13/+76
2011-04-14simutil: Add support of CPHS EFcsp to our EF dbDenis Kenzior1-0/+1
2011-04-14network: One more trivial fixDenis Kenzior1-2/+2
total_length and record_length are the same in this context, but using total_length makes the code more readable
2011-04-14network: Refactor EFcsp to support STK RefreshDenis Kenzior1-11/+30
2011-04-14network: Use strings instead of ints in settingsDenis Kenzior1-10/+51
2011-04-14modem: Fix entering offline mode prematurelyDenis Kenzior1-4/+16
A contextual change to __ofono_modem_find_atom has caused us to enter into offline mode prematurely. find_atom was changed to return only the atoms that were registered, however the modem really has to know whether the sim atom is created (not registered) in order to know whether to wait for the SIM to be initialized or not.
2011-04-14sms: Fix typoDenis Kenzior1-1/+1
2011-04-14network: Read EFcsp after initializing reg stateDenis Kenzior1-42/+42
This is to avoid some benign race conditions when EFcsp might be read before the registration state has been established.
2011-04-14network: Try not to clash with 27.007-defined modesDenis Kenzior1-1/+1
2011-04-14netreg: Refactor register_callbackDenis Kenzior1-10/+3