Marcel Holtmann [Sat, 23 Oct 2010 10:57:42 +0000 (12:57 +0200)]
ifx: Use PPP based GPRS context if M-RAW_IP is not available
Denis Kenzior [Sat, 23 Oct 2010 03:52:35 +0000 (22:52 -0500)]
TODO: Mark html text task as done
Denis Kenzior [Sat, 23 Oct 2010 03:50:48 +0000 (22:50 -0500)]
TODO: Mark Send DTMF task as done
Denis Kenzior [Sat, 23 Oct 2010 03:39:56 +0000 (22:39 -0500)]
stk: Nitpick some newline issues
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:08 +0000 (07:09 +0200)]
stk: Apply STK text attributes as html
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:07 +0000 (07:09 +0200)]
atmodem: Delay return from send_dtmf
AT+VTS responds with an OK immediately, so add a wait in the driver
before returning so that core knows when the tone has finished. Note
that some modems actually do wait against 27.007, and other modems
use a manufacturer specific AT command and the drivers will need to
handle accordingly.
Denis Kenzior [Sat, 23 Oct 2010 03:28:04 +0000 (22:28 -0500)]
stk: use null character instead of 0
Slightly better readability
Denis Kenzior [Sat, 23 Oct 2010 03:25:20 +0000 (22:25 -0500)]
stk: Remove reference to positive EINVAL
Move it to the original call where it belongs
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:06 +0000 (07:09 +0200)]
stk: Handle the Send DTMF proactive command
The default_agent_notify and session_agent_notify changes below are
needed for respond_on_exit commands to be able to free up their
resources, reset alpha id, etc. Commands other than Send DTMF that
use respond_on_exit are all associated with a agent method call and
get notified about agent exit in the callback.
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:05 +0000 (07:09 +0200)]
voicecall: __ofono_voicecall_tone_send internal api
This provides a way for other atoms to send DTMF tones during a call.
It is assumed that vc->driver->send_tone returns only after the tones
have finished being emitted.
In this version Dbus DTMF requests are in the same queue as STK
requests.
Denis Kenzior [Fri, 22 Oct 2010 17:14:49 +0000 (12:14 -0500)]
TODO: Marking the FDN task as done
Denis Kenzior [Fri, 22 Oct 2010 17:11:26 +0000 (12:11 -0500)]
simfs: Fix issue with check_cached
The only_info logic was inverted, causing us to always read from the
modem.
Denis Kenzior [Fri, 22 Oct 2010 16:58:59 +0000 (11:58 -0500)]
sim: Pass dbus types
Can't really assume they're the same as glib types
Denis Kenzior [Fri, 22 Oct 2010 16:57:18 +0000 (11:57 -0500)]
sim: Get rid of unneeded empty line
Denis Kenzior [Fri, 22 Oct 2010 16:56:35 +0000 (11:56 -0500)]
sim: Break out common FDN property signaling
Denis Kenzior [Fri, 22 Oct 2010 16:45:39 +0000 (11:45 -0500)]
simfs: Use errno for simfs errors
Denis Kenzior [Fri, 22 Oct 2010 16:42:40 +0000 (11:42 -0500)]
simfs: No need to set these variables
Petteri Tikander [Thu, 21 Oct 2010 14:58:13 +0000 (17:58 +0300)]
sim: check existence of imsi-code
For instance: when handling sim_get_properties
in PRE_SIM-state imsi is not received/stored.
Petteri Tikander [Thu, 21 Oct 2010 14:58:11 +0000 (17:58 +0300)]
sim: check if Fixed Dial is enabled in SIM-card
If SIM-card is inserted, status is checked from EFsst
(is FDN activated) and EFadn (is ADN invalidated).
If USIM-card is inserted, status is checked from EFest
(is FDN activated).
If FD is enabled, halt SIM initialization procedure.
New property (FixedDialing) is added. If FD is enabled,
this has been signalled via DBUS.
Petteri Tikander [Thu, 21 Oct 2010 14:58:09 +0000 (17:58 +0300)]
simfs: retrieve only EF-info without EF-contents
Petteri Tikander [Thu, 21 Oct 2010 14:58:12 +0000 (17:58 +0300)]
modem: add debugs to monitor modem state changes
Marcel Holtmann [Thu, 21 Oct 2010 23:00:58 +0000 (01:00 +0200)]
atmodem: Parse optional PLMN parameter of AT+COPS=? result
The Infineon modem adds an optional <plmn_list> parameter after the
access technology parameter <AcT>. It is not always present, but when
present it makes the operator listing fail.
+COPS: (2,"T-Mobile D","TMO D","26201",0,0),(3,"E-Plus","E-Plus","26203",0,),(3,"Vodafone.de","Vodafone.de","26202",0,),(3,"o2 - de","o2 - de","26207",0,)
Not all networks have this parameter and maybe only the home network
has it anyway. And so far this feature seems to be Infineon specific,
but just in case, parse the parameter if present to make sure the
operator listing is available.
Marcel Holtmann [Thu, 21 Oct 2010 22:37:57 +0000 (00:37 +0200)]
gisi: Use of DBG macro is not allowed
Marcel Holtmann [Thu, 21 Oct 2010 22:20:44 +0000 (00:20 +0200)]
ifxmodem: Use g_try_new0 when checking for the result
Denis Kenzior [Thu, 21 Oct 2010 03:45:16 +0000 (22:45 -0500)]
TODO: add ipv6cp support task
Marcel Holtmann [Thu, 21 Oct 2010 21:54:53 +0000 (23:54 +0200)]
ifxmodem: Fix compiler warnings in GPRS context driver
Marcel Holtmann [Thu, 21 Oct 2010 21:51:36 +0000 (23:51 +0200)]
ifx: Add two GPRS contexts since the modem should support it
Marcel Holtmann [Thu, 21 Oct 2010 19:54:04 +0000 (21:54 +0200)]
ifx: Use Infineon specific GPRS context driver
Marcel Holtmann [Thu, 21 Oct 2010 19:50:52 +0000 (21:50 +0200)]
ifxmodem: Add support for Infineon GPRS context setup with M-RAW_IP
This patch adds support for setting up a GPRS context and then switching
it into M-RAW_IP mode. The handling of the M-RAW_IP data stream is not
yet implemented.
Marcel Holtmann [Thu, 21 Oct 2010 19:44:51 +0000 (21:44 +0200)]
test: Add option to also enable other than the first context
Aki Niemi [Thu, 21 Oct 2010 18:20:25 +0000 (21:20 +0300)]
netreg: Allow strength notifys at all times
Aki Niemi [Thu, 21 Oct 2010 18:18:56 +0000 (21:18 +0300)]
isimodem: Remove hack for notifying strength
Aki Niemi [Thu, 21 Oct 2010 08:24:15 +0000 (11:24 +0300)]
radio settings: Fix string to enum mapping
Mika Liljeberg [Wed, 6 Oct 2010 07:27:22 +0000 (10:27 +0300)]
gisi: Add method for verifying any resource
Add g_isi_verify_resource() function to GIsiClient for verifying
the reachability of an arbitrary resource.
Mika Liljeberg [Tue, 5 Oct 2010 07:20:53 +0000 (10:20 +0300)]
gisi: store object handle for associated server
Mika Liljeberg [Wed, 6 Oct 2010 11:28:29 +0000 (14:28 +0300)]
gisi: Allow subscribes towards any resources
Add methods to subscribe indications from an arbitrary resource.
Configured resource id is treated as the default. Also added separate
commit function for resource subscriptions in order to reduce the
number of subscription messages sent to the modem.
Mika Liljeberg [Wed, 6 Oct 2010 08:17:56 +0000 (11:17 +0300)]
gisi: make timeout optional
Mika Liljeberg [Mon, 4 Oct 2010 12:30:01 +0000 (15:30 +0300)]
gisi: Add sendto methods to GIsiClient
Add g_isi_vsendto() and g_isi_sendto() methods for sending messages to
an arbitrary Phonet address.
Marcel Holtmann [Thu, 21 Oct 2010 18:34:13 +0000 (20:34 +0200)]
gatchat: Fix missing return value for g_at_chat_set_slave
Marcel Holtmann [Thu, 21 Oct 2010 18:32:18 +0000 (20:32 +0200)]
ifx: Use Infineon specific phonebook vendor quirk
Marcel Holtmann [Thu, 21 Oct 2010 18:31:25 +0000 (20:31 +0200)]
atmodem: Add support for IFX specific phonebook ready notification
Marcel Holtmann [Thu, 21 Oct 2010 18:00:07 +0000 (20:00 +0200)]
atmodem: Use g_try_new0 when checking for the result
Marcel Holtmann [Thu, 21 Oct 2010 17:44:28 +0000 (19:44 +0200)]
ifxmodem: Add skeleton for Infineon specific GPRS context driver
Marcel Holtmann [Thu, 21 Oct 2010 17:36:18 +0000 (19:36 +0200)]
gatchat: Add skeleton for GAtRawIP module
This adds the basic skeleton for a GAtRawIP support. It is only the
skeleton with its intended API. It has no raw IP support yet.
Marcel Holtmann [Thu, 21 Oct 2010 16:51:38 +0000 (18:51 +0200)]
ifx: Assign GPRS DLCs as slaves of the network DLC
Marcel Holtmann [Thu, 21 Oct 2010 16:28:08 +0000 (18:28 +0200)]
gatchat: Add support for slave chat instances
This adds support to assign a slave chat instance to an existing chat
instance. The slave chat is now additionally bound by the lifetime of
its master chat instance.
In case the master is cloned, the slave chat instance will also be
cloned as well.
With this it is possible to suspend the master while still have an
active slave for notifications or extra commands.
Marcel Holtmann [Thu, 21 Oct 2010 16:26:50 +0000 (18:26 +0200)]
ppp: Fix some coding style and memory leaks
Marcel Holtmann [Thu, 21 Oct 2010 16:23:20 +0000 (18:23 +0200)]
atmodem: Check for TUN/TAP support before enabling PPP
Yang Gu [Mon, 18 Oct 2010 08:00:29 +0000 (16:00 +0800)]
stk: Support send ss response
Yang Gu [Mon, 18 Oct 2010 08:00:28 +0000 (16:00 +0800)]
stkutil: Add enum for additional error cause info
For terminal and supplementary services
Mika Liljeberg [Thu, 7 Oct 2010 13:37:32 +0000 (16:37 +0300)]
radio settings: document FastDormancy property
Denis Kenzior [Wed, 20 Oct 2010 22:59:21 +0000 (17:59 -0500)]
radio-settings: Get rid of unneeded casts
Denis Kenzior [Wed, 20 Oct 2010 21:51:51 +0000 (16:51 -0500)]
radio-settings: Fixup various style issues
Pekka Pessi [Wed, 20 Oct 2010 19:39:36 +0000 (22:39 +0300)]
isi: fix SMS
Align read-params with update-params properly.
Align and fill tpdu sub block in submit.
Pekka Pessi [Wed, 20 Oct 2010 16:44:54 +0000 (19:44 +0300)]
isi: fix SMS
Read absence/presence flags from correct field.
Try to avoid overwriting other SMS parameters but SCA address.
Use g_isi_(v)send().
Pekka Pessi [Wed, 20 Oct 2010 17:08:29 +0000 (20:08 +0300)]
isi: fix hangup_active and set_udub methods
The concept of "active" call seems to be overloaded.
Denis Kenzior [Wed, 20 Oct 2010 17:50:51 +0000 (12:50 -0500)]
voicecall: Document driver methods
Aki Niemi [Wed, 20 Oct 2010 14:29:42 +0000 (17:29 +0300)]
isimodem: Fix setting SCA type
Marcel Holtmann [Wed, 20 Oct 2010 11:55:20 +0000 (13:55 +0200)]
atmodem: Decode and report time information from network
Marcel Holtmann [Wed, 20 Oct 2010 11:27:04 +0000 (13:27 +0200)]
atmodem: Add skeleton for time update reporting
Marcel Holtmann [Wed, 20 Oct 2010 09:57:22 +0000 (11:57 +0200)]
ifxmodem: Signal STK session end only after normal ending of command
The Infineon modem returns more detailed information of the SIM Toolkit
proactive sessions to the modem driver. A proactive session starts with
the status response '91 xx' (proactive command pending) and ends with a
status response response of '90 00' (normal ending of command) after
Terminal Response.
So only when receiving '90 00' result, the indication that the session
has ended should be given to the core.
Marcel Holtmann [Tue, 19 Oct 2010 20:59:21 +0000 (22:59 +0200)]
ifx: Wait for DLC creation to settle (internal multiplexer)
When driving the Infineon modem with the builtin multiplexer there is
a small race condition with setting up the channels and sending the
first AT commands. The window here is pretty small, but it seems to be
a modem firmware issue. In case the AT command is send right away it can
happen that the modem does not process any further AT commands. In that
case the setup is stuck and enabling the modem fails.
Just adding a 10 milliseconds delay after DLC creation and before
sending the first AT commands is enough to make this work smoothly.
Denis Kenzior [Tue, 19 Oct 2010 19:20:57 +0000 (14:20 -0500)]
sim: Read EFust and EFest after phase is known
Denis Kenzior [Tue, 19 Oct 2010 19:07:11 +0000 (14:07 -0500)]
simfs: Don't cache if phase is unknown
Denis Kenzior [Tue, 19 Oct 2010 19:06:52 +0000 (14:06 -0500)]
sim: Fix setting the correct phase from EFphase
Marcel Holtmann [Tue, 19 Oct 2010 18:42:29 +0000 (20:42 +0200)]
phonesim: Add missing ATE0 when in multiplexer mode
Denis Kenzior [Tue, 19 Oct 2010 17:09:30 +0000 (12:09 -0500)]
common: Fix mmi code to bearer class mappings
MMI services 22, 21, 20 and 26 were mapped incorrectly. See the comment
in the code for more information and the thread 'Call Barring and MMI
Supplementary Service codes' on the oFono mailing list.
Marcel Holtmann [Tue, 19 Oct 2010 16:50:06 +0000 (18:50 +0200)]
phonesim: Fix multiplexer setup handling and modem power
Marcel Holtmann [Tue, 19 Oct 2010 16:49:07 +0000 (18:49 +0200)]
gatchat: Add support for skipping AT+CMUX speed parameter
Aki Niemi [Tue, 19 Oct 2010 08:28:06 +0000 (11:28 +0300)]
isimodem: Fix request cleanup code
Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.
Marcel Holtmann [Tue, 19 Oct 2010 10:16:13 +0000 (12:16 +0200)]
ifxmodem: Fix missing result iter init call for SIM Toolkit
Marcel Holtmann [Tue, 19 Oct 2010 09:56:45 +0000 (11:56 +0200)]
ifxmodem: Enable SIM Toolkit with AT+CFUN=6
The current Infineon firmware overloads the AT+CFUN command with
enabling SIM Toolkit and fetching of proactive commands. It seems
to be safe to send this command in offline mode (AT+CFUN=4) and
also in online mode (AT+CFUN=1). These are the two cases where
SIM Toolkit atom would be initialized.
Rajesh Kadhiravan Nagaiah [Tue, 19 Oct 2010 07:23:41 +0000 (00:23 -0700)]
TODO: Add CDMA support to SMS stack
Marcel Holtmann [Mon, 18 Oct 2010 19:11:23 +0000 (21:11 +0200)]
Release 0.32
Marcel Holtmann [Sat, 16 Oct 2010 10:26:26 +0000 (13:26 +0300)]
atmodem: Add SIM ready quirk for IFX when entering PUK
For the Infineon modem, also the PUK entering needs to be extended with
a quirk to wait for the SIM ready notification.
Marcel Holtmann [Sun, 17 Oct 2010 12:50:45 +0000 (14:50 +0200)]
ifx: Separate AT command from multiplexer debug setting
Marcel Holtmann [Sat, 16 Oct 2010 22:00:02 +0000 (00:00 +0200)]
test: Fix script for enabling delivery reports
Denis Kenzior [Fri, 15 Oct 2010 13:00:19 +0000 (08:00 -0500)]
TODO: Reset PPP Server task owner
Alexander Kanavin [Fri, 15 Oct 2010 11:53:01 +0000 (14:53 +0300)]
doc: update the supplementary services docs
Document the various SS control string related APIs
Marcel Holtmann [Fri, 15 Oct 2010 13:07:51 +0000 (16:07 +0300)]
atmodem: Remove workaround for SIM ready notifier removal
Denis Kenzior [Fri, 15 Oct 2010 12:25:50 +0000 (07:25 -0500)]
sim: Use enums for EF valid / invalidated status
Denis Kenzior [Fri, 15 Oct 2010 12:05:37 +0000 (07:05 -0500)]
common: Update the basic services in comments
Denis Kenzior [Fri, 15 Oct 2010 11:26:34 +0000 (06:26 -0500)]
sim: Fix crash on sim re-insertion
Denis Kenzior [Fri, 15 Oct 2010 11:26:28 +0000 (06:26 -0500)]
simfs: Make compile
Denis Kenzior [Fri, 15 Oct 2010 08:59:31 +0000 (03:59 -0500)]
doc: Cleanup the sim-api doc
Petteri Tikander [Thu, 14 Oct 2010 21:02:55 +0000 (00:02 +0300)]
doc: update sim-api
Fixed Dialing is not supported. New property added
to indicate FD-enable status in the SIM-card.
Petteri Tikander [Thu, 14 Oct 2010 21:02:52 +0000 (00:02 +0300)]
isimodem: returns file-status of SIM EF-file
Petteri Tikander [Thu, 14 Oct 2010 21:02:51 +0000 (00:02 +0300)]
atmodem: returns file-status of SIM EF-file
Petteri Tikander [Thu, 14 Oct 2010 21:02:50 +0000 (00:02 +0300)]
sim: add new parameter to file-info utility
Denis Kenzior [Fri, 15 Oct 2010 07:14:45 +0000 (02:14 -0500)]
simutil: Remove unneeded enum
Petteri Tikander [Thu, 14 Oct 2010 21:02:49 +0000 (00:02 +0300)]
simutil: response-handler returns now also file-status
Denis Kenzior [Thu, 14 Oct 2010 14:41:09 +0000 (09:41 -0500)]
gatchat: Fix calling unregister from callbacks
This fixes the issues with SIM hotswap on infineon
Denis Kenzior [Thu, 14 Oct 2010 12:50:43 +0000 (07:50 -0500)]
TODO: Mark SIM icon tasks as done
Denis Kenzior [Thu, 14 Oct 2010 12:21:55 +0000 (07:21 -0500)]
gatchat: break out the remove_if logic
And make unregister_group use the new function
Denis Kenzior [Thu, 14 Oct 2010 11:58:53 +0000 (06:58 -0500)]
gatchat: quit early if the group id doesn't match
If the ID of the notify matches but the group id does not match it means
that the unregister is being called with an id that does not belong to
that particular group. Checking further entries is no longer necessary.
Aki Niemi [Thu, 14 Oct 2010 12:37:37 +0000 (15:37 +0300)]
Fix style problem
Aki Niemi [Thu, 14 Oct 2010 12:29:58 +0000 (15:29 +0300)]
gisi: Fix copyright and license boilerplate
Aki Niemi [Fri, 1 Oct 2010 14:24:28 +0000 (17:24 +0300)]
sms: Implement text and datagram watch
Allow setting a watch for incoming text and datagram messages on the
sms atom.
Aki Niemi [Thu, 14 Oct 2010 07:50:08 +0000 (10:50 +0300)]
isimodem: Fix copyright and license boilerplate
Aki Niemi [Thu, 14 Oct 2010 07:40:37 +0000 (10:40 +0300)]
isimodem: Fix SMSC address update request