Commit Graph

3696 Commits

Author SHA1 Message Date
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
Denis Kenzior 04755acc3a sim: Fix setting the correct phase from EFphase 2010-10-19 14:07:41 -05:00
Marcel Holtmann 93f7bca25f phonesim: Add missing ATE0 when in multiplexer mode 2010-10-19 20:42:29 +02:00
Denis Kenzior b75a5574f5 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.
2010-10-19 12:09:30 -05:00
Marcel Holtmann 96c04a744b phonesim: Fix multiplexer setup handling and modem power 2010-10-19 18:50:52 +02:00
Marcel Holtmann 0caafef6c9 gatchat: Add support for skipping AT+CMUX speed parameter 2010-10-19 18:50:52 +02:00
Aki Niemi 255782f8c2 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.
2010-10-19 15:06:35 +03:00
Marcel Holtmann fd74feac0d ifxmodem: Fix missing result iter init call for SIM Toolkit 2010-10-19 12:16:13 +02:00
Marcel Holtmann 19c1b9cbf6 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.
2010-10-19 11:56:45 +02:00
Rajesh Kadhiravan Nagaiah de1d1736ce TODO: Add CDMA support to SMS stack 2010-10-19 11:44:36 +02:00
Marcel Holtmann c1d93566f9 Release 0.32 2010-10-18 21:11:23 +02:00
Marcel Holtmann a917f094cb 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.
2010-10-18 15:10:05 +02:00
Marcel Holtmann 56480ba582 ifx: Separate AT command from multiplexer debug setting 2010-10-17 14:50:45 +02:00
Marcel Holtmann ca3a4cabec test: Fix script for enabling delivery reports 2010-10-17 00:00:02 +02:00
Denis Kenzior c75e904f6e TODO: Reset PPP Server task owner 2010-10-15 08:12:09 -05:00
Alexander Kanavin 8464700020 doc: update the supplementary services docs
Document the various SS control string related APIs
2010-10-15 08:12:09 -05:00
Marcel Holtmann 43a6ece561 atmodem: Remove workaround for SIM ready notifier removal 2010-10-15 16:07:51 +03:00
Denis Kenzior aa50067ccd sim: Use enums for EF valid / invalidated status 2010-10-15 07:25:50 -05:00
Denis Kenzior 5fe4694b21 common: Update the basic services in comments 2010-10-15 07:05:37 -05:00
Denis Kenzior 0564176a9c sim: Fix crash on sim re-insertion 2010-10-15 06:26:34 -05:00
Denis Kenzior aa42d954ed simfs: Make compile 2010-10-15 06:26:28 -05:00
Denis Kenzior 8eaa8deab5 doc: Cleanup the sim-api doc 2010-10-15 04:09:36 -05:00
Petteri Tikander 744d795e13 doc: update sim-api
Fixed Dialing is not supported. New property added
to indicate FD-enable status in the SIM-card.
2010-10-15 04:09:36 -05:00
Petteri Tikander 44bb863538 isimodem: returns file-status of SIM EF-file 2010-10-15 02:19:43 -05:00
Petteri Tikander 84efadcf5a atmodem: returns file-status of SIM EF-file 2010-10-15 02:19:02 -05:00
Petteri Tikander d34ddeccaf sim: add new parameter to file-info utility 2010-10-15 02:15:21 -05:00
Denis Kenzior 94cf7c3dd6 simutil: Remove unneeded enum 2010-10-15 02:14:45 -05:00
Petteri Tikander 1f2140dabe simutil: response-handler returns now also file-status 2010-10-15 02:01:34 -05:00
Denis Kenzior 1e1ddfcf1b gatchat: Fix calling unregister from callbacks
This fixes the issues with SIM hotswap on infineon
2010-10-14 09:42:42 -05:00
Denis Kenzior 167c72e588 TODO: Mark SIM icon tasks as done 2010-10-14 09:42:42 -05:00