Denis Kenzior
cdcb576692
hsomodem: Remove unneeded if statement
2019-04-29 14:06:19 -05:00
Jonas Bonn
3beeff758d
treewide: Remove superfluous use of _GNU_SOURCE
...
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag. This patch
removes all these definitions in one fell swoop...
2018-10-17 10:01:57 -05:00
Jonas Bonn
67701b1c40
drivers: constify vtables
...
The driver vtables are read-only structures. This patch declares them as
'const' allowing the compiler to (optionally) put them in the RELRO
section. RELRO pages may be marked as read-only by the linker after
the relocations have been done ensuring that they aren't inadvertently
or maliciously altered at runtime.
2018-10-17 09:56:27 -05:00
Denis Kenzior
979b244fcf
hsomodem: Remove atom if driver fails to init
2012-03-26 16:50:36 -05:00
Marcel Holtmann
4e77afffb3
drivers: Update copyright information
2011-10-10 13:39:48 -07:00
Mika Liljeberg
df64b12758
hsomodem: update to new gprs context interface
2011-03-15 17:11:58 -05:00
Jeevaka Badrappan
85865ac98d
hsomodem: remove NULL check
2011-01-29 18:39:37 +01:00
Jeevaka Badrappan
042e470fd7
hsomodem: M15 coding style fix
2011-01-12 08:06:58 -08:00
Marcel Holtmann
92e02b4621
hsomodem: Add query for supported frequencies
2011-01-05 23:05:00 -08:00
Lucas De Marchi
b82a7f8511
drivers: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Marcel Holtmann
927bdcf87f
hsomodem: Fix handling of radio access mode enum
2010-10-27 11:05:59 +02:00
Denis Kenzior
af643b1989
hso: Fix the username and password order
...
QCPDPP apparently takes the password first, then username
2010-09-27 19:28:19 -05:00
Marcel Holtmann
ff456286cf
hsomodem: Minor style fixes in GPRS context driver
2010-08-23 16:29:51 +02:00
Marcel Holtmann
f284f3542b
hsomodem: Remove useless NULL checks before g_free
2010-08-16 22:08:08 +02:00
Denis Kenzior
bdc9cdaaf6
hsomodem: Fix up radio-settings driver
2010-08-13 14:00:43 -05:00
Denis Kenzior
ecc774b0f2
hsomodem: Use g_at_chat_clone
2010-08-12 23:37:52 -05:00
Marcel Holtmann
360abb0f5b
Use hsomodem instead of hso for Option HSO GPRS atom driver
2010-06-06 15:20:48 -07:00
Marcel Holtmann
30b054d0e0
Add support for Option specific radio settings
2010-06-06 15:18:57 -07:00
Denis Kenzior
c98b951fe6
Refactor: Remove atutil dump_response
...
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior
7f9a9b0cdc
Fix: Don't use ofono_debug directly in plugins
2010-02-08 12:09:01 -06:00
Denis Kenzior
8268c4fe62
Fix: Use snprintf instead of sprintf in hsomodem
2010-02-05 12:01:59 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Martin Xu
3947638941
Add netmask to HSO GPRS context driver
2009-12-30 00:47:17 -08:00
Denis Kenzior
6cb038fafb
Style: Repeat for drivers
2009-12-17 21:45:40 -06:00
Denis Kenzior
72912d5eed
Fix: Don't decode error unnecessarily
2009-12-01 17:24:50 -06:00
Denis Kenzior
184eb91aa6
Fix: Make sure we don't overflow the buffer
2009-12-01 16:05:20 -06:00
Denis Kenzior
55572b6e69
Style: Use unsigned int instead of unsigned
2009-12-01 12:42:23 -06:00
Denis Kenzior
9f931378c7
Fix: warnings
2009-11-18 18:07:11 -06:00
Denis Kenzior
19758e3520
Get rid of a few debugs
2009-11-18 18:07:11 -06:00
Denis Kenzior
b77d392bc8
Make HSO context driver use OWANCALL/OWANDATA
2009-11-18 18:07:11 -06:00
Denis Kenzior
8722828eb3
Parse the weird response of _OWANDATA
...
The strings are unquoted and preceded by space. Don't these people read
specs?
2009-11-18 18:07:11 -06:00
Denis Kenzior
0a9766cbab
Fix: Properly send & parse _OWANDATA
2009-11-18 18:07:10 -06:00
Denis Kenzior
0ef8ac7174
Fix: Send username and password properly
2009-11-18 18:07:10 -06:00
Denis Kenzior
781f9cc0d0
Add initial HSO GPRS context driver
2009-11-18 18:07:10 -06:00