Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2011-02-28 | gatppp: Try to detect no carrier conditions | Denis Kenzior | 1 | -0/+1 | |
2011-02-28 | gatppp: Delay signaling ppp_down | Denis Kenzior | 1 | -2/+14 | |
Delay signaling of ppp_down until we exit the GAtHDLC read handler. Otherwise exchanging the read handler on GAtIO might lead to funny double consumption problems. | |||||
2011-02-28 | gathdlc: Try to detect no carrier conditions | Denis Kenzior | 2 | -0/+21 | |
Sometimes we receive the no carrier embedded in a stream following the PPP packets. This might be due to write scheduling on the remote side or read scheduling locally. Try not to consume the no carrier condition and assume the previous hdlc frames will result in closing of the ppp stack. | |||||
2011-02-28 | gatio: Remove stray empty line | Denis Kenzior | 1 | -1/+0 | |
2011-02-28 | gatio: update comment | Denis Kenzior | 1 | -2/+2 | |
2011-02-28 | gathdlc: Unregister read / write handlers | Denis Kenzior | 1 | -0/+3 | |
When GAtHDLC is being unregistered make sure to unregister read / write handlers so as not to crash. | |||||
2011-02-28 | gathdlc: drain the last hdlc frame processed | Denis Kenzior | 1 | -1/+1 | |
If we're being destroyed, we should drain the last HDLC frame | |||||
2011-02-28 | gsmdial: register notification before resuming | Denis Kenzior | 1 | -1/+5 | |
2011-02-28 | ppp: Remove some g_prints | Denis Kenzior | 3 | -11/+0 | |
2011-02-28 | ppp_cp: Replace some left over g_prints with DBG | Denis Kenzior | 1 | -3/+3 | |
2011-02-28 | gatppp: Replace some left-over g_prints with DBG | Denis Kenzior | 1 | -4/+4 | |
2011-02-28 | gatppp: Send the final terminate ack | Denis Kenzior | 1 | -10/+42 | |
In the case where we're going down, but have a pending terminate ack, delay signaling the upper layers until the ack has been put on the wire. | |||||
2011-02-28 | gatppp: Add a debug macro | Denis Kenzior | 1 | -0/+7 | |
2011-02-28 | gatio: Add write 'done' notifier | Denis Kenzior | 2 | -0/+21 | |
This allows external clients to get notified when GAtIO no longer has a registered write watcher. E.g. no more data is currently pending. | |||||
2011-02-28 | test-server: Remove root user check | Denis Kenzior | 1 | -5/+0 | |
2011-02-28 | gatserver: Update the internal command parsers | Denis Kenzior | 1 | -10/+3 | |
commit 61b30c025d3d461bfd577de29f27f4f9a5546213 changed the way the command callbacks are being called (namely the contents of the GAtResult object). Most command callbacks were updated, but the internal ones were forgotten. This patch fixes this issue. | |||||
2011-02-25 | gatchat: Fix minor style issues | Denis Kenzior | 1 | -3/+3 | |
2011-02-24 | gatchat: add g_at_result_iter_next_number_default API | Frédéric Danis | 2 | -0/+32 | |
2011-02-23 | gatserver: Add function to enable/disable echo | Frédéric Dalleau | 2 | -0/+11 | |