Commit Graph

2432 Commits

Author SHA1 Message Date
Johan Hedberg 3f2494a7b0 Fix memory leak in g_dbus_register_interface 2010-04-29 23:46:12 +02:00
Kristen Carlson Accardi 7d59d7a377 ppp: silently drop invalid packets 2010-04-29 14:40:20 -05:00
Kristen Carlson Accardi 9d5eb5110f ppp: transition to dead when read io destroyed
remove call to signal_close for lcp object, it is redundent.  If
our io is destroyed we are dead, so transition the ppp phase to
DEAD so our disconnect callback can be called.
2010-04-29 14:24:47 -05:00
Denis Kenzior c9edf56fc6 ppp: Hang set_recording off the GAtPPP object
Marcel: recording right now only works for PPP, so we'd need some sort
of multi-protocol support.

So for now expose set_recording to be used through the main PPP object.
HDLC object recording support needs to be extended.
2010-04-28 20:25:10 -05:00
Yang Gu e42b7282f7 Add unit test for get inkey parser 2010-04-28 20:24:54 -05:00
Denis Kenzior fb8ca665dd ppp: Re-add capability to detect io down events 2010-04-28 17:27:36 -05:00
Denis Kenzior 378f3c61e3 gathdlc: Add accessor for GAtIO 2010-04-28 17:27:36 -05:00
Denis Kenzior 3b98ed067a gathdlc: Port GAtHDLC to use GAtIO 2010-04-28 17:27:36 -05:00
Denis Kenzior d271216112 ppp: Don't crash if the interface wasn't created 2010-04-28 17:27:36 -05:00
Denis Kenzior db0b7c8a98 ppp: Accept 1500 byte MTUs 2010-04-28 17:27:36 -05:00
Denis Kenzior 7d5a3730d1 gsmdial: Use set recording on the HDLC object 2010-04-28 17:27:36 -05:00
Denis Kenzior ed15727b98 ppp: Add getter for HDLC object 2010-04-28 17:27:36 -05:00
Denis Kenzior 4cdf49f0de ppp: Initial port of PPP to use GAtHDLC 2010-04-28 17:27:35 -05:00
Denis Kenzior fa8614cc78 ppp: Make pppcp functions const correct 2010-04-28 17:27:35 -05:00
Denis Kenzior 87340d64e2 ppp: Make ppp_chap_process_packet const correct 2010-04-28 17:27:35 -05:00
Denis Kenzior 955673573b ppp: Make ppp_net_process_packet const correct 2010-04-28 17:27:35 -05:00
Denis Kenzior 5acb633a1d gathdlc: Add recording support, ported from PPP
For protocol examination using wireshark
2010-04-28 17:27:35 -05:00
Denis Kenzior 41ce6212a1 gathdlc: Add receive ACCM support 2010-04-28 17:27:35 -05:00
Denis Kenzior 7c6c72f558 gathdlc: Support transmit ACCM 2010-04-28 17:27:35 -05:00
Denis Kenzior e088f3c2bb gatchat: Don't try to cleanup twice
In case we get unrefed from the disconnect callback
2010-04-28 17:27:35 -05:00
Denis Kenzior 0845dc3b5d gatchat: Use GAtIO for write watchers 2010-04-28 17:27:34 -05:00
Denis Kenzior 6a66505e46 gatio: support for blocking / nonblocking writes 2010-04-28 17:27:34 -05:00
Denis Kenzior 85448aac8c gatchat: get_channel should return one from GAtIO 2010-04-28 17:27:34 -05:00
Denis Kenzior 19115e0a15 gatchat: Channel is now setup by GAtIO 2010-04-28 17:27:34 -05:00
Denis Kenzior 033b576593 gatchat: Better re-entrancy handling 2010-04-28 17:27:34 -05:00
Denis Kenzior 9c3ae4746e gsmdial: Get rid of g_at_chat_shutdown usage 2010-04-28 17:27:34 -05:00
Denis Kenzior d875298404 gsmdial: Unref the chat instead of using shutdown 2010-04-28 17:27:34 -05:00
Denis Kenzior 8645b05c4f gatmux: Unref the chat instead of using shutdown 2010-04-28 17:27:34 -05:00
Denis Kenzior b5f81f4012 Fix: For now calling g_at_chat_unref is fine
Same as g_at_chat_shutdown in this case
2010-04-28 17:27:33 -05:00
Denis Kenzior 20a32ff5e8 Fix: g_at_chat_shutdown usage in test-mux 2010-04-28 17:27:33 -05:00
Denis Kenzior 244ea076cc Fix: Remove easy uses of g_at_chat_shutdown 2010-04-28 17:27:33 -05:00
Denis Kenzior f9b2e5cf5a gatchat: Only set debug on IO if we have it 2010-04-28 17:27:33 -05:00
Denis Kenzior 3aa1faddef gatchat: Replace shutdown by suspend/resume
Shutdown was actually pointless and according to Marcel he only had it
in mind for PPP useage.
2010-04-28 17:27:33 -05:00
Denis Kenzior 7b8f4f5dc8 gatchat: port gatchat to use gatio 2010-04-28 17:27:33 -05:00
Denis Kenzior 43c30e2292 gatio: Remove g_at_io_shutdown 2010-04-28 17:27:33 -05:00
Denis Kenzior 204814da05 gatio: Get re-entrancy correct 2010-04-28 17:27:32 -05:00
Denis Kenzior c614254ae9 gatio: Style fix for gsource id comparisons 2010-04-28 17:27:32 -05:00
Denis Kenzior 2d2bc8b5b3 gatio: Kill the reader when no more space 2010-04-28 17:27:32 -05:00
Denis Kenzior f09ce13ad7 gatchat: Remove g_at_chat_set_syntax
Never used and too unsafe in its current form
2010-04-28 17:27:32 -05:00
Denis Kenzior 5fc7c1e1d0 gatchat: Add initial GAtIO implementation 2010-04-28 17:27:32 -05:00
Aki Niemi 3d0d2db83f Add sane default to dial-number script 2010-04-27 23:21:49 +03:00
Aki Niemi 8aa82f0a4f gisi: remove misplaced define 2010-04-27 23:21:48 +03:00
Aki Niemi f89f11d2a2 gisi: refactor client implementation 2010-04-27 23:21:48 +03:00
Aki Niemi 41a21ac96b Fix typo in gprs driver 2010-04-27 23:21:48 +03:00
Aki Niemi b0222a79c3 Fix faulty logic in netreg driver
Also add missing tech param.
2010-04-27 23:21:48 +03:00
Aki Niemi c123a9b5ba Fix remove ops in isimodem drivers 2010-04-27 23:21:48 +03:00
Aki Niemi a03d11fec7 Fix style issues in isimodem 2010-04-27 23:21:48 +03:00
Yang Gu c5023690b7 stkutil: Make get inkey parser use its own struct 2010-04-27 09:35:01 -05:00
Yang Gu 1bd755bcdc stkutil: Use char* instead of char**
char ** should only be used for character arrays that are allocated by
the parser.  Static buffers should be passed as char*
2010-04-27 09:33:32 -05:00
Yang Gu f6f5884fb4 test-stkutil: Add unit test for more time parser 2010-04-27 09:33:02 -05:00