Commit Graph

5366 Commits

Author SHA1 Message Date
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
Frédéric Dalleau a3998f46e2 voicecall: add +VTS support for HFP emulator 2011-05-22 06:06:39 -05:00
Frédéric Danis 5fd5a9b628 doc: add hfp-overview.txt 2011-05-22 06:04:10 -05:00
Gustavo F. Padovan 807f67d7e8 gobi: remove set but not used var 2011-05-20 15:07:31 -05:00
Gustavo F. Padovan e312060928 udev: remove set but not used var 2011-05-20 15:06:50 -05:00
Gustavo F. Padovan fba5050f7f simutil: remove set but not used var 2011-05-20 15:06:07 -05:00
Gustavo F. Padovan fe4b81d69a gprs: remove set but not used var 2011-05-20 15:04:59 -05:00
Gustavo F. Padovan 39f23f6fe1 sms: remove set but not used var 2011-05-20 15:03:49 -05:00
Marcel Holtmann dd186f585b tools: Add utility for looking up APN from database 2011-05-19 17:20:15 -07:00
Frédéric Dalleau de2b26c906 voicecall: fix CHLD support reply 2011-05-16 23:37:59 -05:00
Caiwen Zhang 65d65f4fbe gatppp: add name field when using chap auth
Some systems require name field, otherwise chap authentication will
fail.
2011-05-11 20:24:35 -05:00
Denis Kenzior 543b54a34e gprs: Make sure to clean up interfaces
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-11 13:29:33 -05:00
Bertrand Aygon 74d3550788 nokia-gpio: Fix memory leak
All dir opened with opendir must be closed with closedir
2011-05-11 13:29:33 -05:00
Bertrand Aygon 62370c5491 nokia-gpio: Fix minor style issue 2011-05-11 13:29:33 -05:00