Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-25 | gathdlc: Fix memory leak | Denis Kenzior | 1 | -0/+2 | |
2011-05-25 | gatppp: Set the suspend function in open / listen | Denis Kenzior | 1 | -12/+18 | |
In case it was set before calling these functions | |||||
2011-05-24 | test-server: Update to the new GAtPPP API | Denis Kenzior | 1 | -20/+22 | |
2011-05-24 | gsmdial: Update to new API | Denis Kenzior | 1 | -2/+2 | |
2011-05-24 | gatppp: Refactor PPP API | Denis Kenzior | 2 | -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-24 | gatppp: Make sure to clean up guard_timeout_source | Denis Kenzior | 1 | -0/+5 | |
2011-05-24 | gatppp: Rename guard_timeout_src to _source | Denis Kenzior | 1 | -5/+4 | |
2011-05-24 | gatppp: Do not call disconnect func if suspended | Guillaume Zajac | 1 | -2/+3 | |
2011-05-24 | gatppp: Add GAtPPP suspend API | Guillaume Zajac | 2 | -0/+41 | |
2011-05-24 | gatppp: Add GAtPPP resume functionality | Guillaume Zajac | 2 | -0/+20 | |
2011-05-24 | ppp_net: add ppp_net_resume_interface() API | Guillaume Zajac | 2 | -0/+11 | |
2011-05-24 | gathdlc: Squash unneeded function | Denis Kenzior | 1 | -6/+1 | |
2011-05-24 | gathdlc: add g_at_hdlc_resume() API | Guillaume Zajac | 2 | -0/+17 | |
2011-05-24 | gatppp: Make ppp->fd handling a bit easier to grok | Denis Kenzior | 1 | -1/+6 | |
2011-05-24 | ppp_net: streamline ppp_net_new logic | Denis Kenzior | 1 | -16/+9 | |
2011-05-24 | gatppp: Ensure created GAtPPP object is not null | Denis Kenzior | 1 | -1/+2 | |
2011-05-24 | gatppp: Add new contructor to use external fd | Guillaume Zajac | 4 | -17/+66 | |
2011-05-24 | gatppp: Don't go over 80 characters / line | Denis Kenzior | 1 | -1/+1 | |
2011-05-24 | test-server: Remove legacy code | Denis Kenzior | 1 | -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-11 | gatppp: add name field when using chap auth | Caiwen Zhang | 1 | -0/+9 | |
Some systems require name field, otherwise chap authentication will fail. | |||||
2011-05-11 | gatppp: fix ppp protocol-reject constructing error | Caiwen Zhang | 1 | -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-08 | gatppp: Add API for setting suspend callback | Guillaume Zajac | 2 | -0/+26 | |
In situations where the PPP stream can be suspended by the peer, e.g. in the server role using '+++' | |||||
2011-05-08 | ppp_net: Reset the watch to zero when removing | Denis Kenzior | 1 | -3/+10 | |
2011-05-08 | ppp_net: add ppp_net_suspend_interface() function | Guillaume Zajac | 2 | -0/+10 | |
2011-05-08 | gathdlc: delete read/write handler in hdlc_suspend | Guillaume Zajac | 1 | -0/+3 | |
2011-05-08 | gathdlc: Add public suspend function | Guillaume Zajac | 2 | -0/+11 | |
2011-05-06 | gatchat: Fix memory leak with notify nodes list | Marcel Holtmann | 1 | -0/+1 | |
The list itself needs to be freed as well and not only its elements. | |||||
2011-05-02 | gathdlc: Make sure to set in_read_handler properly | Denis Kenzior | 1 | -4/+4 | |
2011-05-02 | gathdlc: Add support for detecting +++ escapes | Denis Kenzior | 2 | -0/+110 | |
2011-05-02 | gatio: add ability to drain GAtIO read buffer | Guillaume Zajac | 2 | -0/+7 | |
2011-04-29 | gat: add GAtSuspendFunc CB typedef | Guillaume Zajac | 1 | -0/+1 | |
2011-04-26 | gatppp: Fix crash related to not stopping timers | Martin Xu | 1 | -0/+2 | |
In case of offline modem when GPRS data connection is connected, if gprs atom is removed before PPP termination process is complete, the terminate_timer will not be stop. It will cause ofonod crash when the timer times out. | |||||
2011-03-29 | gatserver: add tone and pulse dialing AT commands | Olivier Guiter | 1 | -0/+38 | |
2011-03-28 | gatchat: Add support for short prompt send variant | Denis Kenzior | 1 | -13/+40 | |
2011-03-28 | gatsyntax: support short prompt in v1 parser | Denis Kenzior | 1 | -0/+24 | |
2011-03-28 | gatsyntax: support short prompt for permissive | Denis Kenzior | 1 | -0/+25 | |
2011-03-28 | gatchat: new hint to handle +CPOS | Jarko Poutiainen | 1 | -1/+2 | |
2011-03-28 | gatchat: introduce send for +CPOS | Jarko Poutiainen | 1 | -0/+8 | |
2011-03-28 | gatsyntax: Support echo of empty lines | Denis Kenzior | 1 | -1/+4 | |
2011-03-28 | gatsyntax: Re-name enum a proper way | Denis Kenzior | 1 | -3/+3 | |
2011-03-25 | gatserver: add v250 ATL and ATM commands | Olivier Guiter | 1 | -0/+18 | |
2011-03-24 | gatserver: add AT&F command | Olivier Guiter | 1 | -2/+27 | |
2011-03-23 | gatserver: add ATZ command | Olivier Guiter | 1 | -18/+35 | |
2011-03-16 | ringbuffer: Switch ringbuffer to g_slice allocator | Patrick Porlan | 1 | -4/+4 | |
This should allow for more efficient handling of equally sized buffers, in terms of alignment and recycling. | |||||
2011-03-15 | PPP: Optimize write buffer management | Patrick Porlan | 1 | -22/+71 | |
Extend the write buffer handling in gathdlc.c to minimize stalling and process switching during large PPP transfers. The single write buffer is replaced by a queue of buffers, allowing for much larger emission windows without hugely impacting memory consumption. This reduces the time required to send 50 MB between a couple of local PPP interfaces on my laptop from ~53s to ~3s. | |||||
2011-03-02 | gatchat: Optimize ringbuffer modulo operations | Patrick Porlan | 1 | -6/+8 | |
Replace modulo operations in ringbuffer.c by masking operations. This is possible because the size of the ring buffers is always a power of two, and yields a small performance improvement. The improvement should be mostly visible on processors that implement division in microcode (Atom) or lack a division instruction (ARM). | |||||
2011-02-28 | gsmdial: Introduce data_mode | Denis Kenzior | 1 | -0/+7 | |
If we're in PPP mode, then don't send unsolicited notifications. Only a NO CARRIER is really allowed. | |||||
2011-02-28 | gatserver: Tweak use of g_at_server_suspend/resume | Denis Kenzior | 1 | -11/+18 | |
2011-02-28 | test-server: Make sure to send CONNECT | Denis Kenzior | 1 | -6/+9 | |
Before starting the ppp session we should make sure that the CONNECT response has been sent on the wire. | |||||
2011-02-28 | gatserver: Exit garbage state on HDLC frame end | Denis Kenzior | 1 | -1/+2 | |