summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 Zajac3-1/+97
2011-05-24private-network: add header into include and Makefile.amGuillaume Zajac2-2/+58
2011-05-24gatppp: Make ppp->fd handling a bit easier to grokDenis Kenzior1-1/+6
2011-05-24ppp_net: streamline ppp_net_new logicDenis Kenzior1-16/+9
2011-05-24gatppp: Ensure created GAtPPP object is not nullDenis Kenzior1-1/+2
2011-05-24gatppp: Add new contructor to use external fdGuillaume Zajac4-17/+66
2011-05-24gitignore: Add unit/test-cdmasmsDenis Kenzior1-0/+1
2011-05-24test: Add CDMA SMS SupportLei Yu2-1/+119
2011-05-24cdma-sms: Add CDMA SMS SupportLei Yu3-1/+334
2011-05-24cdma-sms: Add CDMA SMS SupportLei Yu3-1/+1036
2011-05-24TODO: Lower priority and remove owner of CE4A taskFrédéric Dalleau1-4/+3
2011-05-24TODO: Remove owner of HSP taskFrédéric Dalleau1-1/+0
2011-05-24voicecall: remove unnecessary local varFrédéric Dalleau1-5/+1
2011-05-24gatppp: Don't go over 80 characters / lineDenis Kenzior1-1/+1
2011-05-24test-server: Remove legacy codeDenis Kenzior1-12/+2
The previous thinking was to use the PPP stack to send Conf-Naks with some delay to client requests until the IP configuration was setup correctly. However, we now hide this by using the delay during the processing of the ATD. This code is no longer relevant.
2011-05-24gitignore: Add lookup-apnDenis Kenzior1-0/+1
2011-05-25udev: add rule for Option GTM661W modemCaiwen Zhang1-0/+1
2011-05-22voicecall: add +VTS support for HFP emulatorFrédéric Dalleau1-0/+52
2011-05-22doc: add hfp-overview.txtFrédéric Danis1-0/+49
2011-05-20gobi: remove set but not used varGustavo F. Padovan1-3/+1
2011-05-20udev: remove set but not used varGustavo F. Padovan1-2/+1
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-19tools: Add utility for looking up APN from databaseMarcel Holtmann2-1/+240
2011-05-16voicecall: fix CHLD support replyFrédéric Dalleau1-2/+2
2011-05-11gatppp: add name field when using chap authCaiwen Zhang1-0/+9
Some systems require name field, otherwise chap authentication will fail.
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-11nokia-gpio: Fix memory leakBertrand Aygon1-1/+5
All dir opened with opendir must be closed with closedir
2011-05-11nokia-gpio: Fix minor style issueBertrand Aygon1-1/+0
2011-05-11AUTHORS: Mention Caiwen's contributionsDenis Kenzior1-0/+1
2011-05-11gatppp: fix ppp protocol-reject constructing errorCaiwen Zhang1-3/+3
In PPP Protocol-Reject package the 'rejected data field' should be a copy of the rejected package, the copy starts from the data field. besides, Protocol-Reject package include a 'rejected protocol field', it is the same as the protocol field of the rejected package. Protocol-Reject package structure is: | PPP_header | rejected protocol | rejected data The rejected package structure is: | Addr | Control | protocol | data So the Protocol-Reject package data field is copied from the 3rd byte of the rejected package.
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-11phonesim: Create atoms in a different orderDenis Kenzior1-2/+2
This uncovers a valgrind condition: ==17231== Invalid read of size 8 ==17231== at 0x4A2461: gprs_context_unregister (gprs.c:2143) ==17231== by 0x46FEB0: __ofono_atom_unregister (modem.c:260) ==17231== by 0x4703C9: modem_change_state (modem.c:407) ==17231== by 0x470664: set_powered (modem.c:848) ==17231== by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)
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-08gatppp: Add API for setting suspend callbackGuillaume Zajac2-0/+26
In situations where the PPP stream can be suspended by the peer, e.g. in the server role using '+++'
2011-05-08ppp_net: Reset the watch to zero when removingDenis Kenzior1-3/+10
2011-05-08ppp_net: add ppp_net_suspend_interface() functionGuillaume Zajac2-0/+10
2011-05-08gathdlc: delete read/write handler in hdlc_suspendGuillaume Zajac1-0/+3