Commit Graph

3875 Commits

Author SHA1 Message Date
Denis Kenzior 39a3080a4b sim: Break out common FDN property signaling 2010-10-22 11:56:35 -05:00
Denis Kenzior 71255c49fb simfs: Use errno for simfs errors 2010-10-22 11:45:39 -05:00
Denis Kenzior 6ce608b01d simfs: No need to set these variables 2010-10-22 11:42:40 -05:00
Petteri Tikander 7de5e48df8 sim: check existence of imsi-code
For instance: when handling sim_get_properties
in PRE_SIM-state imsi is not received/stored.
2010-10-22 11:23:08 -05:00
Petteri Tikander d82600c893 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.
2010-10-22 11:21:23 -05:00
Petteri Tikander d74e0b5ece simfs: retrieve only EF-info without EF-contents 2010-10-22 11:13:46 -05:00
Petteri Tikander 6d07c1cffe modem: add debugs to monitor modem state changes 2010-10-21 23:13:23 -05:00
Marcel Holtmann cf2ba64872 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.
2010-10-22 01:00:58 +02:00
Marcel Holtmann 27311fc4a8 gisi: Use of DBG macro is not allowed 2010-10-22 00:37:57 +02:00
Marcel Holtmann df2d0dc805 ifxmodem: Use g_try_new0 when checking for the result 2010-10-22 00:21:06 +02:00
Denis Kenzior 3d3c8b32ba TODO: add ipv6cp support task 2010-10-21 17:17:29 -05:00
Marcel Holtmann f0175ba3fc ifxmodem: Fix compiler warnings in GPRS context driver 2010-10-21 23:54:53 +02:00
Marcel Holtmann 2c06348356 ifx: Add two GPRS contexts since the modem should support it 2010-10-21 23:51:36 +02:00
Marcel Holtmann f6b92bd2d9 ifx: Use Infineon specific GPRS context driver 2010-10-21 21:54:04 +02:00
Marcel Holtmann 655f1b74d3 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.
2010-10-21 21:50:52 +02:00
Marcel Holtmann fcc064e55c test: Add option to also enable other than the first context 2010-10-21 21:46:32 +02:00
Aki Niemi 56d46ae16b netreg: Allow strength notifys at all times 2010-10-21 21:39:41 +03:00
Aki Niemi eac5b46c19 isimodem: Remove hack for notifying strength 2010-10-21 21:39:41 +03:00
Aki Niemi 90ce04e0e1 radio settings: Fix string to enum mapping 2010-10-21 21:39:41 +03:00
Mika Liljeberg 8ebe96d996 gisi: Add method for verifying any resource
Add g_isi_verify_resource() function to GIsiClient for verifying
the reachability of an arbitrary resource.
2010-10-21 21:39:41 +03:00
Mika Liljeberg a4117e5411 gisi: store object handle for associated server 2010-10-21 21:39:41 +03:00
Mika Liljeberg 0e95bfd856 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.
2010-10-21 21:39:41 +03:00
Mika Liljeberg 69fbe74276 gisi: make timeout optional 2010-10-21 21:39:41 +03:00
Mika Liljeberg 6462450059 gisi: Add sendto methods to GIsiClient
Add g_isi_vsendto() and g_isi_sendto() methods for sending messages to
an arbitrary Phonet address.
2010-10-21 21:39:41 +03:00
Marcel Holtmann 79e23355a4 gatchat: Fix missing return value for g_at_chat_set_slave 2010-10-21 20:34:13 +02:00
Marcel Holtmann cca0782029 ifx: Use Infineon specific phonebook vendor quirk 2010-10-21 20:32:18 +02:00
Marcel Holtmann ae6c0edeae atmodem: Add support for IFX specific phonebook ready notification 2010-10-21 20:31:25 +02:00
Marcel Holtmann 94d67b9c66 atmodem: Use g_try_new0 when checking for the result 2010-10-21 20:00:07 +02:00
Marcel Holtmann 9bdc2b0a43 ifxmodem: Add skeleton for Infineon specific GPRS context driver 2010-10-21 19:44:28 +02:00
Marcel Holtmann 692cf6a6f6 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.
2010-10-21 19:36:18 +02:00
Marcel Holtmann e74723776a ifx: Assign GPRS DLCs as slaves of the network DLC 2010-10-21 18:51:38 +02:00
Marcel Holtmann 7492223f49 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.
2010-10-21 18:41:38 +02:00
Marcel Holtmann d0cbae0092 ppp: Fix some coding style and memory leaks 2010-10-21 18:26:50 +02:00
Marcel Holtmann 49544d43d8 atmodem: Check for TUN/TAP support before enabling PPP 2010-10-21 18:23:20 +02:00
Yang Gu 6394d5b442 stk: Support send ss response 2010-10-20 18:20:36 -05:00
Yang Gu af4d3ad756 stkutil: Add enum for additional error cause info
For terminal and supplementary services
2010-10-20 18:19:48 -05:00
Mika Liljeberg 52074d0208 radio settings: document FastDormancy property 2010-10-20 18:19:48 -05:00
Denis Kenzior 81bc8884b4 radio-settings: Get rid of unneeded casts 2010-10-20 17:59:21 -05:00
Denis Kenzior cbe433c9ee radio-settings: Fixup various style issues 2010-10-20 16:52:35 -05:00
Pekka Pessi ffa9edfb82 isi: fix SMS
Align read-params with update-params properly.

Align and fill tpdu sub block in submit.
2010-10-20 15:41:10 -05:00
Pekka Pessi ec2e576863 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().
2010-10-20 12:53:29 -05:00
Pekka Pessi 6861510e5e isi: fix hangup_active and set_udub methods
The concept of "active" call seems to be overloaded.
2010-10-20 12:52:44 -05:00
Denis Kenzior ba71706b07 voicecall: Document driver methods 2010-10-20 12:50:51 -05:00
Aki Niemi ae8deb68e8 isimodem: Fix setting SCA type 2010-10-20 17:31:17 +03:00
Marcel Holtmann 040a34cad2 atmodem: Decode and report time information from network 2010-10-20 13:55:20 +02:00
Marcel Holtmann 98eed08d29 atmodem: Add skeleton for time update reporting 2010-10-20 13:27:04 +02:00
Marcel Holtmann f2ab189b6e 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.
2010-10-20 12:01:25 +02:00
Marcel Holtmann 2475d8826c 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.
2010-10-19 22:59:21 +02:00
Denis Kenzior b92662634d sim: Read EFust and EFest after phase is known 2010-10-19 14:20:57 -05:00
Denis Kenzior cfb3cd9647 simfs: Don't cache if phase is unknown 2010-10-19 14:07:41 -05:00