Commit Graph

8869 Commits

Author SHA1 Message Date
Denis Kenzior aa228df5f6 nokia: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior a538238ee5 novatel: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior d493c7cc10 quectel: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior 974e04c671 samsung: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior 33af81eae5 sierra: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior 3ab93f4a21 speedupcdma: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior ee92c647c5 speedup: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior bd858ba8b4 telit: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior 44e6bccf10 ublox: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior f02a967e68 zte: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior fc4440a27c xmm7xxx: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior ad007eb9ab wavecom: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior 630e48465c atutil: Introduce at_util_open_device 2019-05-31 11:58:36 -05:00
Denis Kenzior 06de60a8fd hfp_ag_bluez5: Remove unneeded forward declarations 2019-05-31 10:57:38 -05:00
Antara Borwankar babb0c1c6d netmon: adding method to fetch neighbouring cell mesurement
Added new method to fetch neighbouring cell information.
2019-05-30 11:06:54 -05:00
Denis Kenzior 0d40114a14 qmi: Fix style issues 2019-05-24 12:27:27 -05:00
Denis Kenzior 765c6655f2 treewide: Use L_TFR macro 2019-05-24 11:55:38 -05:00
Adrian Bunk 8bde9f095a build: Don't overwrite src_ofonod_DEPENDENCIES
src_ofonod_DEPENDENCIES did overwrite the dependencies
automatically generated from src_ofonod_LDADD with
incomplete dependencies.

This fixes the following build error:
...
  CCLD     src/ofonod
libtool:   error: cannot find the library 'gdbus/libgdbus-internal.la' or unhandled argument 'gdbus/libgdbus-internal.la'
make: *** [Makefile:3448: src/ofonod] Error 1
2019-05-22 08:43:57 -05:00
Denis Kenzior 48e31f9fc3 main: Quiet ld errors with external ell
When oFono is built with --enable-external-ell, the compiler for some
reason does not generate a debug section on some systems.  This is due
to the fact that l_debug is never called.  However, ell also does not
call l_debug, yet when built-in ell is used, the section is created by
the compiler.

For now work around this by adding a no-op l_debug() call in main.c.
The real fix is to migrate all of the oFono logging functionality to use
ell instead.
2019-05-16 15:10:53 -05:00
Denis Kenzior 5d3640397a core: Quiet warning about strncpy use 2019-05-16 15:10:40 -05:00
Denis Kenzior 4b8cc2fcac stemodem: Quiet warning about strncpy use 2019-05-16 15:10:09 -05:00
Antara Borwankar 90758c5ffc xmm7modem: enabling simtoolkit in modem driver
handled enabling of stk for xmm7modem vendor in atmodem
driver.
2019-05-16 10:44:44 -05:00
Antara Borwankar 41e1cfcd64 xmm7modem: handling of dual mode technology preference
Handled dual mode technology preference "umts,gsm" and
"lte,umts" for xmm7modem.
2019-05-16 10:40:45 -05:00
Antara Borwankar 0c2f2815ca radio-settings: handling of dual mode technology preference
Handled two new dual mode technology preferences
"umts,gsm" and "lte,umts".
2019-05-16 10:40:45 -05:00
Antara Borwankar b2e948f8d8 radio-settings: adding UE dual mode operation property
Added two new values for TechnologyPreference property
as follows:
"umts,gsm"	Dual mode operation with UMTS
		and GSM radio access whith preference
		for UMTS.
"lte,umts"	Dual mode operation with LTE
		and UMTS radio access with preference
		for LTE.
2019-05-16 10:40:45 -05:00
Adrian Bunk 3e43e3342f build: Fix a race condition
ell/ell.h was written before ell/ existed
2019-05-15 12:57:02 -05:00
Marcel Holtmann 8bc6aa9880 gatchat: Avoid string overflow warning in debug function 2019-05-15 17:04:16 +02:00
Marcel Holtmann dff595671b build: Add check for explicit_bzero support 2019-05-15 09:39:44 +02:00
Denis Kenzior 22d80d4aa1 AUTHORS: Mention Stefan's contributions 2019-05-08 09:47:16 -05:00
Stefan Herbrechtsmeier c3b7756907 udevng: add SIMCom SIM7600 modem support
The SIMCom SIM7100 and SIM7600 modem use the same vendor and product id
but require different drivers (sim7100 vs gobi).
2019-05-08 09:46:39 -05:00
Richard Röjfors 9b1dae2e62 atmodem: Fix a race if a context get deactivated while read
When a context gets activated we read its settings, but
if the context gets deactivated during this time we should
not indicate that the context is activated when the settings
are received.
2019-05-08 09:38:11 -05:00
Philippe De Swert c92d23fab9 build: Fix compilation with ell
Fix compilation issue with newer ell, which seems to have some
extra timeout handling.

  CC       ell/main.lo
ell/main.c:44:21: fatal error: timeout.h: No such file or directory
 #include "timeout.h"
                     ^
compilation terminated.
make[1]: *** [Makefile:4068: ell/main.lo] Error 1
make: *** [Makefile:2357: all] Error 2
2019-05-03 10:18:15 -05:00
Denis Kenzior e633b95aae sierra: Abort initialization on CFUN failure 2019-04-30 11:41:39 -05:00
Denis Kenzior dc7fb359cb voicecall: Fix possible crash 2019-04-30 11:40:17 -05:00
Denis Kenzior 408d063f85 netmon: Fix logic error 2019-04-30 11:38:36 -05:00
Denis Kenzior 74dc62b148 drivers: Silence strncpy use warnings 2019-04-30 11:35:14 -05:00
Denis Kenzior 614ffb0761 sim-auth: Use memcpy instead of strncpy
The code is not really copying strings but 2 or 3 character sof the MNC.
Make this clearer.
2019-04-30 11:09:52 -05:00
Denis Kenzior d3625f8e6f message-waiting: Fix logic error 2019-04-29 19:38:12 -05:00
Denis Kenzior ca9d5b73ab gprs: Remove unneeded if conditions
ctx->message_center and ctx->message_proxy are arrays and thus
always evaluate as true
2019-04-29 19:30:22 -05:00
Denis Kenzior c56bd74cb1 gprs: Fix invalid string comparison
The default context created when provisioning fails is simply a context
with an empty APN
2019-04-29 19:27:29 -05:00
Denis Kenzior 91253a1ade gprs: Remove unneeded if statement
if (ctx->message_proxy) always resolves to TRUE
2019-04-29 19:25:57 -05:00
Denis Kenzior 87932a536f stk: Fix potential buffer overrun 2019-04-29 19:24:19 -05:00
Denis Kenzior bdda846134 phonebook: fix invalid sprintf sequence 2019-04-29 19:16:07 -05:00
Denis Kenzior a63988a33f stkutil: Call va_end on failure 2019-04-29 14:34:00 -05:00
Denis Kenzior 713655a1ae gatchat: Remove unneeded if 2019-04-29 14:29:21 -05:00
Denis Kenzior 999494624b siri: Dereference after validating !NULL 2019-04-29 14:27:54 -05:00
Denis Kenzior 1c940839bb handsfree: Dereference after validating !NULL 2019-04-29 14:26:43 -05:00
Denis Kenzior 4fddd1a6ea sim: Dereference only after validating !NULL 2019-04-29 14:24:48 -05:00
Denis Kenzior fbd9974998 qmimodem: Fix potential memory leak
In case strlen(ICCID) > 20, we simply return without freeing the ICCID
value first.
2019-04-29 14:20:25 -05:00
Denis Kenzior 4a93c329b9 log: Fix potential buffer overflow
We pass in the maximum size of the buffer to the read system call.  On
the astronomically unlikely chance that we indeed read the full buffer
full of data, the subsequent assignment will overflow it.  Fix this by
passing sizeof(buf) - 1 to the read system call instead.
2019-04-29 14:16:17 -05:00