Commit Graph

30 Commits

Author SHA1 Message Date
Marcel Holtmann 702b2b533b gisi: Fix compiler warnings from -Wpragmas 2019-08-13 00:53:45 +02:00
Marcel Holtmann 7c3e2728e3 gisi: Fix compiler warnings from -Waddress-of-packed-member 2019-08-12 19:38:06 +02: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
Marcel Holtmann 91d3c4479f gisi: Update copyright information 2011-10-10 13:40:08 -07:00
Pekka Pessi 847a09dc47 gisi: log normal responses in a less confusing way 2011-04-28 09:29:26 -05:00
Aki Niemi 9871da333a gisi: Fix PN_SIM reachability check decoding 2011-03-18 09:19:04 +02:00
Aki Niemi 090dc92b68 gisi: Refactor indication subscriptions
Handle different message types for IND subscriptions based on the
presence of the GISI_MODEM_FLAG_USE_LEGACY_SUBSCRIBE flag. This
enables building modem plugins for modems that only support one or the
other available IND types.

Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-02-07 09:51:35 +02:00
Aki Niemi d957dbece5 gisi: Minor style fixes 2011-02-07 09:51:35 +02:00
Aki Niemi 66dab3227d gisi: Refactor modem to use remote device 2011-02-07 09:51:35 +02:00
Aki Niemi 4eedacac20 gisi: Add new API for setting modem remote device 2011-02-07 09:51:35 +02:00
Aki Niemi f6f6b1f8ac gisi: Add checks for NULL 2011-02-07 09:51:35 +02:00
Aki Niemi ab0df92d97 gisi: Add API for setting modem flags 2011-02-07 09:51:34 +02:00
Pekka Pessi 1100838037 gisi: remove g_isi_pending_from_msg() 2011-01-18 23:34:31 +02:00
Pekka Pessi e72e5444af gisi: simplify pending management
Client or server mark their pending objects with
the function g_isi_pending_set_owner().

When client or server get destroyed or reset the pending objects are
removed with the function g_isi_remove_pending_by_owner(). As a client
or server always uses only a particular resource, all the pending
objects are conveniently stored into a single list.
2011-01-18 23:31:47 +02:00
Pekka Pessi 6238c27ba5 gisi: remove before notify
Just in case, remove pending operations before calling notifys.
The notify function can remove client, service or modem.
2011-01-18 22:29:24 +02:00
Aki Niemi ef4b7fbeaf gisi: Add API for one-shot sending of messages 2011-01-07 13:29:22 +02:00
Denis Kenzior b106db583a gisi: Don't go over 80 characters 2010-12-23 18:24:34 -06:00
Andrzej Zaborowski d9aeef28d3 gisi: fix use of unitialised variable
Set no msg.version if it's not available.
2010-12-23 18:23:50 -06:00
Aki Niemi 4ca9022358 gisi: Minor style fixes 2010-12-22 17:47:11 +02:00
Aki Niemi a1b20ae1da gisi: Add message tracing and debugging support 2010-12-22 17:13:48 +02:00
Aki Niemi 7d6e163184 gisi: Explicit compare to NULL 2010-12-22 17:13:48 +02:00
Aki Niemi 0bfc0ea487 gisi: Remove forward declaration 2010-12-22 17:13:48 +02:00
Mika Liljeberg 3652340b1b gisi: modify reachability check
Always cache server object ID and ISI version.
2010-12-22 17:13:47 +02:00
Mika Liljeberg 38f49a769a gisi: store user data in GIsiModem 2010-12-22 17:13:47 +02:00
Pekka Pessi edd0b327e0 gisi: Remove forward reference 2010-12-22 17:13:47 +02:00
Pekka Pessi 5c4645b2f4 gisi: Use direct hashing from resource ID
Do not call modem_subs_update() after modem has already been
destroyed, but do it earlier, already after destroying all services.
2010-12-22 17:13:47 +02:00
Aki Niemi 50f6b06105 gisi: Split indication to use separate socket
Some resources send INDs with non-zero unique transaction ID, which
can conflict with pending RESPs. To fix this, we use two sockets, one
dedicated for INDs, and one dedicated to REQs, NTFs and RESPs.
2010-12-22 17:13:47 +02:00
Aki Niemi b8e30c153e gisi: Redesign ISI message processing
This new modem API supercedes the old client and server APIs.  It
properly queues resource subscriptions and version queries, as well as
caches reachability status for a given resource.

Also, this is a complete redesign of ISI message handling, adding
another layer of abstraction to multiplexing operations to a given
modem resource.
2010-12-22 17:13:46 +02:00
Aki Niemi 8698a0d4f2 gisi: Fix copyright and license boilerplate 2010-10-14 15:29:58 +03:00
Aki Niemi 22103491a4 gisi: move g_isi_modem_by_name to separate file
This fixes build warnings that resulted from conflicts between
linux/if.h and net/if.h.
2010-04-21 10:48:29 +03:00