diff options
author | Sverre Vegge <sverre.vegge@stericsson.com> | 2011-02-21 21:39:07 +0100 |
---|---|---|
committer | Sverre Vegge <sverre.vegge@stericsson.com> | 2011-03-02 13:35:37 +0100 |
commit | 5ccd86b6ee0d03f14efeab2958d05c483055325b (patch) | |
tree | 6fa9ad1e2d11546c74a3efd4cc3921298e188aa1 /u300-ril.h | |
parent | 4ce3b4785d0bb0f3d47082c47a5a66cd85fab012 (diff) | |
download | u300-5ccd86b6ee0d03f14efeab2958d05c483055325b.tar.gz |
AT channel: New event queue design. Support for one AT channel.
The event queue mechanism has been changed to support posting
events on any enabled event queue.
Specifying -g DEFAULT on the command will enable only one
AT channel. One AT channel should only be used for test purposes.
Increased AT channel timeout on DEFAULT channel to 3 minutes.
Removed VOICE and SLOW groups since they will not be supported
in final products.
Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
Diffstat (limited to 'u300-ril.h')
-rw-r--r-- | u300-ril.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -19,6 +19,7 @@ ** ** Heavily modified for ST-Ericsson U300 modems. ** Author: Christian Bejram <christian.bejram@stericsson.com> +** Author: Sverre Vegge <sverre.vegge@stericsson.com> */ #ifndef U300_RIL_H @@ -47,7 +48,9 @@ int getRestrictedState(void); void enqueueRILEvent(int isPrio, void (*callback) (void *param), void *param, const struct timeval *relativeTime); -#define RIL_EVENT_QUEUE_NORMAL 0 -#define RIL_EVENT_QUEUE_PRIO 1 +enum RequestGroups { + CMD_QUEUE_DEFAULT = 0, + CMD_QUEUE_AUXILIARY = 1 +}; #endif |