Commit Graph

5379 Commits

Author SHA1 Message Date
Marcel Holtmann ebb82bee81 tools: Fix missing handling of signalfd read results 2011-05-27 10:01:30 -07:00
Marcel Holtmann b4879d72d8 tools: Fix unused variable for Huawei audio settings 2011-05-27 10:00:08 -07:00
Szymon Janc ecd56f7a07 gdbus: Remove unused result variable from g_dbus_pending_success 2011-05-27 09:53:38 -07:00
Marcel Holtmann 3297a3e865 gatchat: Fix unused variable cases 2011-05-27 09:52:31 -07:00
Marcel Holtmann f13bedd9dc smsutil: Fix missing error handling for strtol function 2011-05-27 09:48:45 -07:00
Denis Kenzior bc52e40801 gsmdial: Send escape sequence followed by ATH/ATO
This functionality can be triggered by sending SIGUSR1 / SIGUSR2 to
gsmdial.  e.g. kill -10 <pid> and kill -12 <pid>
2011-05-25 05:32:05 -05:00
Denis Kenzior 92e0657eed ppp_net: Keep valgrind happy 2011-05-25 05:30:38 -05:00
Denis Kenzior afce582246 gathdlc: Fix memory leak 2011-05-25 05:30:17 -05:00
Denis Kenzior e244e2d42a gatppp: Set the suspend function in open / listen
In case it was set before calling these functions
2011-05-25 05:22:58 -05:00
Denis Kenzior 4f7027de6f emulator: Reflow ato implementation logic 2011-05-25 04:54:41 -05:00
Guillaume Zajac a65cc631ea emulator: add ATO implementation 2011-05-25 04:52:53 -05:00
Denis Kenzior 375a32e1f3 emulator: Make sure to cleanup on forceful exit 2011-05-24 13:45:36 -05:00
Denis Kenzior 4f7a2c06fd emulator: simplify ath callback 2011-05-24 13:45:26 -05:00
Denis Kenzior 9bcce86ade examples: Add a simple private-network driver 2011-05-24 13:20:31 -05:00
Denis Kenzior 00c49a5ad7 include: Declare typedef as a function pointer 2011-05-24 13:20:18 -05:00
Denis Kenzior 42bed7b16a emulator: Update to the new GAtPPP API 2011-05-24 12:34:32 -05:00
Denis Kenzior 1bd4f75ac0 test-server: Update to the new GAtPPP API 2011-05-24 12:25:08 -05:00
Denis Kenzior 6d5b7d0bff cdmamodem: Update to the new GAtPPP API 2011-05-24 12:25:08 -05:00
Denis Kenzior 17deacbfff atmodem: Update to new GAtPPP api 2011-05-24 12:25:08 -05:00
Denis Kenzior 0c4a0e61b6 gsmdial: Update to new API 2011-05-24 12:25:07 -05:00
Denis Kenzior eeb3ccc321 gatppp: Refactor PPP API
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-24 12:25:07 -05:00
Denis Kenzior 72dee45005 gatppp: Make sure to clean up guard_timeout_source 2011-05-24 12:25:07 -05:00
Denis Kenzior d82c5ce1fa gatppp: Rename guard_timeout_src to _source 2011-05-24 12:25:07 -05:00
Guillaume Zajac db430aaf1c gatppp: Do not call disconnect func if suspended 2011-05-24 12:25:07 -05:00
Guillaume Zajac ab027e9e9c gatppp: Add GAtPPP suspend API 2011-05-24 12:25:07 -05:00
Guillaume Zajac 7617c492b8 gatppp: Add GAtPPP resume functionality 2011-05-24 12:25:07 -05:00
Guillaume Zajac 47f5887c29 ppp_net: add ppp_net_resume_interface() API 2011-05-24 12:25:07 -05:00
Denis Kenzior 6f6a9747f8 gathdlc: Squash unneeded function 2011-05-24 12:25:07 -05:00
Guillaume Zajac ce71d75675 gathdlc: add g_at_hdlc_resume() API 2011-05-24 12:25:07 -05:00
Denis Kenzior a8e58a5f39 emulator: Send a NO CARRIER where appropriate 2011-05-24 12:11:01 -05:00
Denis Kenzior c54cdecc12 emulator: Get rid of return at the end of func 2011-05-24 12:11:01 -05:00
Denis Kenzior 831e5ac4ec emulator: optimize request_private_network_cb flow 2011-05-24 12:11:01 -05:00
Guillaume Zajac 5021c1ee46 emulator: add request/release private network calls 2011-05-24 12:11:01 -05:00
Guillaume Zajac 3f58ff93d8 private-network: add initial implementation 2011-05-24 12:11:01 -05:00
Guillaume Zajac e997dd43eb private-network: add header into include and Makefile.am 2011-05-24 12:10:22 -05:00
Denis Kenzior 832cc3317b gatppp: Make ppp->fd handling a bit easier to grok 2011-05-24 12:10:22 -05:00
Denis Kenzior e8c7fc8a8a ppp_net: streamline ppp_net_new logic 2011-05-24 12:10:22 -05:00
Denis Kenzior 5405d0860f gatppp: Ensure created GAtPPP object is not null 2011-05-24 12:10:22 -05:00
Guillaume Zajac 7e5ccc18d7 gatppp: Add new contructor to use external fd 2011-05-24 12:10:22 -05:00
Denis Kenzior db5e828787 gitignore: Add unit/test-cdmasms 2011-05-24 12:00:51 -05:00
Lei Yu 09bb193614 test: Add CDMA SMS Support 2011-05-24 12:00:14 -05:00
Lei Yu 257d5a9330 cdma-sms: Add CDMA SMS Support 2011-05-24 11:58:41 -05:00
Lei Yu d7ab83a50f cdma-sms: Add CDMA SMS Support 2011-05-24 11:55:18 -05:00
Frédéric Dalleau b2299175cf TODO: Lower priority and remove owner of CE4A task 2011-05-24 11:47:47 -05:00
Frédéric Dalleau 1aa92b7394 TODO: Remove owner of HSP task 2011-05-24 11:47:47 -05:00
Frédéric Dalleau 871dd70833 voicecall: remove unnecessary local var 2011-05-24 11:47:47 -05:00
Denis Kenzior be7cce9cb3 gatppp: Don't go over 80 characters / line 2011-05-24 11:47:46 -05:00
Denis Kenzior cccf76cfdf test-server: Remove legacy code
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-24 11:47:46 -05:00
Denis Kenzior 004cb21f98 gitignore: Add lookup-apn 2011-05-24 11:47:46 -05:00
Caiwen Zhang 88a16cabc7 udev: add rule for Option GTM661W modem 2011-05-25 19:39:41 -07:00