Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-07-28 | ppp_net: Make static analysis tools happy | Denis Kenzior | 1 | -1/+1 | |
The kernel simply puts a null terminator at index 15 prior to ifr_name processing. So we do the same. Original report by: Sabas Rosales, Blanca E <blanca.e.sabas.rosales@intel.com> Buffer not null terminated (BUFFER_SIZE_WARNING) buffer_size_warning: Calling strncpy with a maximum size argument of 16 bytes on destination array ifr.ifr_ifrn.ifrn_name of size 16 bytes might leave the destination string unterminated. 67 strncpy(ifr.ifr_name, net->if_name, sizeof(ifr.ifr_name)); | |||||
2015-07-07 | gatchat: Fix compiler warning with logical expression | Marcel Holtmann | 1 | -1/+1 | |
CC gatchat/gatchat.o gatchat/gatchat.c: In function ‘have_line’: gatchat/gatchat.c:586:28: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] if (!strncmp(str, "AT", 2) == TRUE) ^ | |||||
2015-07-01 | build: make ofono build against musl | Sergey Alirzaev | 1 | -1/+1 | |
ifdef away GNU libc extensions and use a POSIXly correct pointer type | |||||
2015-05-13 | gatchat: Introduce g_at_chat_get_userdata | Denis Kenzior | 2 | -0/+33 | |
2014-06-21 | gatchat: Fix up minor coding style issues | Denis Kenzior | 2 | -1/+7 | |
2014-06-21 | gatchat: implement PAP authentication | Philip Paeps | 5 | -21/+247 | |
Make the authentication method configurable, CHAP or PAP, defaulting to CHAP (i.e.: previous behaviour). Implementation details: o If PAP is configured, we NAK the CHAP authentication protocol option in LCP configuration requests and suggest PAP instead. This works around the amusing requirement of 3GPP TS 29.061 that modems must send a forced positive acknowledgement of the authentication method tried (i.e.: the modem will successfully accept any CHAP handshake, but if the network only supports PAP, the modem will hang up when it tries and fails to activate the PDP context) o The PAP Authenticate-Request is resent a hard-coded three times at ten-second intervals. This may be a bit too persistent. Chances are if it doesn't work the first time, it'll never work, but the RFC insists that we MUST retry. | |||||
2014-01-19 | gatchat: Fix handling of WRITE_SCHEDULER_DEBUG | Marcel Holtmann | 1 | -3/+13 | |
2012-08-30 | gatchat: Print error message if opening tun failes | Daniel Wagner | 1 | -1/+5 | |
This is a very common mistake. Let's help the users to configure their system correctly. | |||||
2012-07-15 | gatchat: Avoid shadowing global AT server variable | Marcel Holtmann | 1 | -11/+11 | |
2012-07-15 | gatchat: Avoid shadowing variables | Marcel Holtmann | 2 | -4/+4 | |
2012-06-24 | gatserver: Add NULL check to avoid crash | Guillaume Zajac | 1 | -0/+3 | |
Dundee is not waiting to receive the NO CARRIER notification to close the IO channel with oFono so that oFono is trying to send a NO CARRIER although GAtServer is removed. | |||||
2012-05-25 | gatsyntax: Fix typo with GSM_PERMISSIVE_STATE_RESPONSE_STRING | Marcel Holtmann | 1 | -1/+1 | |
2012-05-24 | gatsyntax: Handle lines starting with '"' | Denis Kenzior | 1 | -0/+3 | |
2012-01-11 | gatutil: Use g_ascii_isprint instead of isprint | Denis Kenzior | 1 | -3/+3 | |
2012-01-02 | gsmdial: Set recording after ppp_open | Denis Kenzior | 1 | -3/+3 | |
2011-11-30 | gsmdial: Make sure to use '#' at the end | Denis Kenzior | 1 | -1/+1 | |
The bluetooth path got this part wrong | |||||
2011-11-14 | gatchat: Fix minor style issue | Denis Kenzior | 1 | -1/+1 | |
2011-11-07 | gatchat: Minor style fixup | Denis Kenzior | 2 | -0/+2 | |
2011-11-07 | gatchat: Remove erroneous break statement | Denis Kenzior | 1 | -1/+0 | |
2011-11-07 | gatchat: Add IPv6 Control Protocol | Oleg Zhurakivskyy | 2 | -0/+385 | |
2011-10-10 | gatchat: Update copyright information | Marcel Holtmann | 39 | -39/+39 | |
2011-08-15 | gatserver: Add command finished callbacks | Denis Kenzior | 2 | -8/+46 | |
2011-08-14 | gatserver: Fix not processing after async error | Denis Kenzior | 1 | -0/+1 | |
If we send an async error response, all future commands are ignored. | |||||
2011-08-14 | gatserver: Add sanity check | Denis Kenzior | 1 | -0/+2 | |
2011-08-14 | gatserver: Fix not sending OK final response | Denis Kenzior | 1 | -8/+13 | |
2011-08-14 | gatserver: Refactor IO code | Denis Kenzior | 1 | -25/+22 | |
The current GAtServer implementation had nasty corner cases where multiple commands were issued on the same command line. The server_suspend had no effect and we ended up processing the second command anyway, resulting in interesting side-effects or crashes. This commit simply discards the rest of the read input if the server starts processing a command. Since we do not yet support command abortion we also discard data that arrives when command is being processed. | |||||
2011-08-09 | gatchat: Fix marker handling within HDLC support | Marcel Holtmann | 1 | -3/+10 | |
2011-08-09 | gatchat: Abort hexdump helper when no debug function is specified | Marcel Holtmann | 1 | -0/+3 | |
2011-08-09 | gatchat: Fix extra empty line issue with hexdump helper | Marcel Holtmann | 1 | -1/+1 | |
2011-08-09 | gatchat: Use hexdump format for HDLC debug messages | Marcel Holtmann | 1 | -4/+5 | |
2011-08-09 | gatchat: Add utility function for hexdump debugs | Marcel Holtmann | 2 | -1/+44 | |
2011-08-09 | gatchat: Add support for sending HDLC frame start and end markers | Marcel Holtmann | 2 | -6/+23 | |
2011-08-04 | gatchat: Fix minor whitespace mistake | Marcel Holtmann | 1 | -1/+1 | |
2011-07-26 | gatchat: Fix port settings and debugging for QCDM test tool | Marcel Holtmann | 1 | -13/+4 | |
2011-07-26 | gatchat: Add helper for opening QCDM ports | Marcel Holtmann | 2 | -0/+35 | |
2011-07-26 | gatchat: Fix handling of HDLC debug output | Marcel Holtmann | 1 | -12/+15 | |
2011-07-25 | gatchat: Add terminator blacklisting | Denis Kenzior | 2 | -1/+35 | |
2011-07-11 | gatserver: fix certain bad behavior | Denis Kenzior | 1 | -1/+4 | |
Due to the new GAtIO semantics, the receive function is called immediately if the receive buffer is not empty. This caused certain funny behavior in non-command (e.g. empty, a/) processing. | |||||
2011-06-29 | ppp: Add basic length sanity checks | Denis Kenzior | 6 | -13/+28 | |
2011-06-29 | gsmdial: Add pfc & acfc options to gsmdial | Denis Kenzior | 1 | -2/+8 | |
2011-06-29 | ppp: Don't regenerate options when unchanged | Denis Kenzior | 1 | -0/+8 | |
2011-06-29 | gatppp: Refactor tx path | Denis Kenzior | 1 | -15/+11 | |
2011-06-29 | gatppp: Refactor rx path | Denis Kenzior | 2 | -33/+32 | |
2011-06-29 | gatppp: Re-format & re-word comments | Denis Kenzior | 1 | -6/+2 | |
2011-06-29 | gsmdial: Use ACFC and PFC by default | Guillaume Zajac | 1 | -0/+3 | |
2011-06-29 | GAtPPP: Add PFC option support | Guillaume Zajac | 4 | -4/+99 | |
2011-06-29 | GAtPPP: Add ACFC option support | Guillaume Zajac | 4 | -26/+115 | |
2011-05-27 | gatchat: Fix unused variable cases | Marcel Holtmann | 2 | -0/+17 | |
2011-05-25 | gsmdial: Send escape sequence followed by ATH/ATO | Denis Kenzior | 1 | -0/+49 | |
This functionality can be triggered by sending SIGUSR1 / SIGUSR2 to gsmdial. e.g. kill -10 <pid> and kill -12 <pid> | |||||
2011-05-25 | ppp_net: Keep valgrind happy | Denis Kenzior | 1 | -1/+2 | |