Commit Graph

8869 Commits

Author SHA1 Message Date
Denis Kenzior b66abb4902 stkutil: Use l_malloc 2018-12-27 18:18:51 -06:00
Denis Kenzior a65bf69f38 drivers: update to use l_free
Previous commit changes character conversion functions to use ell memory
allocation routines.  Update all uses to free memory using the same.
2018-12-27 18:18:51 -06:00
Denis Kenzior 9396120cf9 unit: Update to use l_free instead of g_free
Previous commit changes character conversion functions to use ell memory
allocation routines.  Update all uses to free memory using the same.
2018-12-27 18:18:51 -06:00
Denis Kenzior 4059d4226b util: Switch character conversions to ell
Switch various conversions from GSM/UCS2 to UTF8 from glib based
implementation over to ell.

This also converts all related g_free calls to l_free calls (though in
the end they are equivalent calls to free)
2018-12-27 18:18:51 -06:00
Denis Kenzior 44415e754b smsutil: Use l_utf8_from_utf16 instead of g_convert 2018-12-27 18:18:51 -06:00
Denis Kenzior 77271f33d2 drivers: switch g_convert usage to ell 2018-12-27 18:18:51 -06:00
Denis Kenzior b99c15f8e2 unit: Fix memory leak 2018-12-27 18:18:51 -06:00
Denis Kenzior 9c7a87673a util: Use l_utf8_to_ucs2be instead of g_convert 2018-12-27 18:18:51 -06:00
Denis Kenzior 351088e185 unit: Convert to new convert_utf8_to_gsm API 2018-12-27 18:18:51 -06:00
Denis Kenzior 5229080d92 util: Use ell in convert_utf8_to_gsm 2018-12-27 18:18:51 -06:00
Denis Kenzior c4b073aa89 unit: Update to the new convert_ucs2_to_gsm API 2018-12-27 18:18:51 -06:00
Denis Kenzior 88ff5d36dd drivers: Update to new convert_ucs2_to_gsm API
Use l_free instead of g_free since the above API was changed to use ell
2018-12-27 18:18:51 -06:00
Denis Kenzior c4ed942e40 util: use ell in convert_ucs2_to_gsm_with_lang 2018-12-27 18:18:51 -06:00
Denis Kenzior 71544d7fe1 unit: convert usage of g_test_verbose
Convert all usages of this function in favor of using a static VERBOSE
variable.  We almost never use verbose output except while debugging.

Additionally this allows us to more easily convert all unit tests to the
ell unit test framework
2018-12-27 18:18:51 -06:00
Denis Kenzior 538804e191 unit: Update to the new pack_7bit/unpack_7bit api 2018-12-27 18:18:51 -06:00
Denis Kenzior d5f117be80 util: Convert pack7_bit / unpack_7bit to use l_malloc 2018-12-27 18:18:51 -06:00
Denis Kenzior 4e74b7b182 build: add $(ell_ldadd) to unit tests 2018-12-27 18:18:51 -06:00
Denis Kenzior c2b68f20b3 drivers: Update to the new util api 2018-12-27 18:18:51 -06:00
Denis Kenzior ea172514a2 unit: update to the new util api 2018-12-27 18:18:51 -06:00
Denis Kenzior 70c70a67b0 util: Use bool instead of gboolean 2018-12-27 18:18:51 -06:00
Denis Kenzior 674b28f150 util: Use L_ARRAY_SIZE instead of TABLE_SIZE 2018-12-27 18:18:51 -06:00
Denis Kenzior 506243ef67 idmap: Remove
This has now been replaced by l_uintset
2018-12-19 14:46:08 -06:00
Denis Kenzior ed26a0e7a9 unit: Remove test-idmap
No longer used by ofono
2018-12-19 14:46:08 -06:00
Denis Kenzior ab55f2f811 gprs: Use l_uintset instead of idmap 2018-12-19 14:46:08 -06:00
Denis Kenzior 0b5ed6049a build: Add uintset.[ch] to ell files 2018-12-19 14:46:08 -06:00
Marcel Holtmann 7c2f9c77de Release 1.27 2018-12-19 15:56:11 +01:00
Antara Borwankar 20b1e957cb xmm7modem: modified ofono.conf for coex agent
Added coex agent interface to ofono.conf
2018-12-13 10:11:23 -06:00
Denis Kenzior a10f444a3e xmm7xxx: Various style cleanups 2018-12-13 10:11:00 -06:00
Antara Borwankar 06d16faeda xmm7modem: implemnetation of coexistence functionality
Added coex implementation in xmm7modem plugin
2018-12-13 10:03:05 -06:00
Pau Espin 1749018577 qmi: Fix Secondary DNS overwriting Primary DNS
inet_ntoa was called twice in a row and as a result both primay and
secondary DNS were pointing to same static buffer containing last
value (secondary DNS).

As a result, ofono always advertised the secondary DNS twice through
DBus ConnectionContext.GetProperties 'DomainNameServers'.

Related: https://osmocom.org/issues/3031
2018-12-11 14:14:40 -06:00
Antara Borwankar 2680a41bd3 doc: Adding documetation for intel LTE coex
Added intel-lte-coex-api.txt which defines LTE coexistence
interface for intel modems.
2018-12-05 14:59:40 -06:00
Marcel Holtmann 6af93ebf03 build: Include ell/timeout.[ch] into ELL sources list 2018-12-05 21:52:00 +01:00
Nandini Rebello df11a63e3f test: Fix number of arguments check in change-pin
Fix the number of arguments checked in second case of change-pin.
2018-11-27 08:44:51 -06:00
Nandini Rebello 68ea576628 xmm7xxx: Adding case for SIM PIN locked state
Handling the case when SIM PIN is enabled for xmm7xxx modem.
2018-11-27 08:44:07 -06:00
Clement Viel 3f6f108a16 sim800: add sim800 support 2018-11-14 14:33:37 -06:00
Clement Viel 460217abd6 sim800: merge sim800 and sim900 documentation. 2018-11-12 19:24:35 -06:00
Marcel Holtmann 443d571c45 README: Add information about ELL when building from sources 2018-11-08 21:26:52 +01:00
Marcel Holtmann 6f431e2d70 main: Remove leftover HAVE_ELL conditions 2018-11-01 20:54:37 +01:00
Marcel Holtmann ad8a8a90a2 Release 1.26 2018-10-31 23:42:40 +01:00
Marcel Holtmann 2a5c9cf0f2 mbimmodem: Convert back to using __builtin_bswap16 with proper indexing 2018-10-31 21:03:49 +01:00
Marcel Holtmann 2df69194ac mbimmodem: Fix conversion of strings into UTF16-LE on big endian 2018-10-31 21:00:38 +01:00
Marcel Holtmann 63ed2c2080 mbimmodem: Fix endian issue with UTF16-LE to UTF16-CPU conversion 2018-10-31 20:42:14 +01:00
Denis Kenzior 4029ef3a11 mbimmodem: Fix compilation on 32-bit
CC       drivers/mbimmodem/mbim.o
drivers/mbimmodem/mbim.c: In function ‘command_write_handler’:
drivers/mbimmodem/mbim.c:490:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘size_t’ [-Wformat=]
   l_info("n_iov: %lu, %lu", n_iov + 1, (size_t) written);
   ^
drivers/mbimmodem/mbim.c:490:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘unsigned int’ [-Wformat=]
drivers/mbimmodem/mbim.c: In function ‘command_read_handler’:
drivers/mbimmodem/mbim.c:649:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘size_t’ [-Wformat=]
  l_info("header_offset: %lu", device->header_offset);
  ^
drivers/mbimmodem/mbim.c:650:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘size_t’ [-Wformat=]
  l_info("segment_bytes_remaining: %lu", device->segment_bytes_remaining);
  ^
2018-10-31 14:20:00 -05:00
Nandini Rebello 157258eb2d udevng: enhance udev detection for intel 7xxx modems
Handle newer 7xxx modem enumeration based on ProductId.
Preserving the previous gen support too.
2018-10-31 14:20:00 -05:00
Marcel Holtmann b56139e80b mbim: Add the missing mbim-private.h header into packages 2018-10-31 20:15:11 +01:00
Marcel Holtmann 8452a7f349 build: Add support for internal and external Embedded Linux library 2018-10-31 19:58:10 +01:00
Denis Kenzior 814f7fc744 gemalto: Use GEMALTO vendor for netreg 2018-10-29 15:03:03 -05:00
Giacinto Cifelli d7bb1d9254 atmodem: remove vendor Cinterion 2018-10-29 15:01:50 -05:00
Giacinto Cifelli edac159aa5 cinterion: use Gemalto vendor in netreg 2018-10-29 15:01:22 -05:00
Giacinto Cifelli 713585963f atmodem: Change cinterion prefix to gemalto 2018-10-29 15:00:44 -05:00