summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-05-24cdmamodem: Update to the new GAtPPP APIDenis Kenzior1-2/+2
2011-05-24atmodem: Update to new GAtPPP apiDenis Kenzior1-2/+2
2011-05-24gsmdial: Update to new APIDenis Kenzior1-2/+2
2011-05-24gatppp: Refactor PPP APIDenis Kenzior2-98/+43
Remove the series of constructors which take a GIOChannel directly. These weren't used. This change also allows the construction of the PPP object and filling in various pertinent information without starting the HDLC processing. The client must now use g_at_ppp_open() for the client side or g_at_ppp_listen() for the server side to start the true PPP session. The previous owner of the GAtIO object must be suspended beforehand.
2011-05-24gatppp: Make sure to clean up guard_timeout_sourceDenis Kenzior1-0/+5
2011-05-24gatppp: Rename guard_timeout_src to _sourceDenis Kenzior1-5/+4
2011-05-24gatppp: Do not call disconnect func if suspendedGuillaume Zajac1-2/+3
2011-05-24gatppp: Add GAtPPP suspend APIGuillaume Zajac2-0/+41
2011-05-24gatppp: Add GAtPPP resume functionalityGuillaume Zajac2-0/+20
2011-05-24ppp_net: add ppp_net_resume_interface() APIGuillaume Zajac2-0/+11
2011-05-24gathdlc: Squash unneeded functionDenis Kenzior1-6/+1
2011-05-24gathdlc: add g_at_hdlc_resume() APIGuillaume Zajac2-0/+17
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 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)