Commit Graph

1196 Commits

Author SHA1 Message Date
Aki Niemi b7569bc679 isimodem: Refactor call barring driver 2011-03-03 17:43:30 +02:00
Aki Niemi 849432428a isimodem: Change type for BSC argument 2011-03-03 17:43:30 +02:00
Jessica Nilsson 6fe2ee2697 isimodem: SS_GSM_BARRING_INFO added
SS_GSM_BSC_INFO added.
2011-03-03 17:43:30 +02:00
Aki Niemi 70ae70a74f isimodem: Remove empty line in voicecall driver 2011-03-03 17:43:30 +02:00
Aki Niemi 0e27a9bbae isimodem: Split voicecall into two drivers
These drivers share most of the modem ops, though, so they are still
in the same source file.
2011-03-03 17:43:29 +02:00
Jessica Nilsson cbf6713ed1 isimodem: wgmodem2.5 added to voicecall 2011-03-03 17:43:29 +02:00
Aki Niemi 00c79427d6 isimodem: Refactor USSD driver
Clean up, and fix padding to be used always (does no harm).
2011-03-03 17:43:29 +02:00
Aki Niemi bb473dbef7 isimodem: Refactor and fix GPRS alignment 2011-03-03 17:43:29 +02:00
Aki Niemi 39e155b65d isimodem: Add helper macro for 32bit alignment 2011-03-03 17:43:29 +02:00
Jessica Nilsson b662bcc364 isimodem: wgmodem2.5 support in USSD 2011-03-03 17:43:29 +02:00
Aki Niemi b94488a4d3 isimodem: Add CLIP/COLP/COLR support
Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-03-03 17:43:29 +02:00
Aki Niemi 0d989ac10d isimodem: Add missing SS codepoints 2011-03-03 17:43:29 +02:00
Miia Leinonen 2cb3027dd6 atmodem: Add MBM vendor quirk for SIM record update 2011-03-02 22:53:35 -06:00
Antoine Reversat 48388ae7d7 isi: Add CNAP support for isimodem 2011-02-25 14:21:11 -06:00
Antoine Reversat 257951a25f isi: Clean up isi_call_any_address_sb_proc 2011-02-25 14:21:07 -06:00
Jessica Nilsson 2066c32539 isimodem: code points for sms wgmodem2.5 2011-02-25 17:21:08 +02:00
Aki Niemi b6d3ba25a8 isimodem: Remove inter-driver API for now 2011-02-25 17:21:08 +02:00
Jessica Nilsson 16e8f42d0c isimodem: code points uicc sim wgmodem2.5 2011-02-25 17:21:08 +02:00
Rafael Ignacio Zurita 20f7f90221 mbmmodem: add location-reporting driver 2011-02-23 17:19:08 -06:00
Jessica Nilsson 70f6c91e8d isimodem: added codepoints for u8500 2011-02-23 15:12:59 +02:00
Marit Henriksen 09a1b8414c stemodem: Add support for multiple pdp contexts.
Redesigned, there will be only one contexts for each instance of
the driver and only one CAIF interface, no longer need the list
of caif devices.
2011-02-21 08:27:23 -08:00
Aki Niemi 5c84a23515 isimodem: Refactor gprs-context driver
Use stack allocation for padding, and simplify message sending and
failure handling.
2011-02-18 16:17:14 +02:00
Jessica Nilsson 2141228651 isimodem: Context driver updates for wgmodem2.5 2011-02-18 16:17:14 +02:00
Aki Niemi dfc78c0ca0 isimodem: Refactor netreg driver a bit more
Split the driver into two separate drivers, one for each resource ID
used.
2011-02-18 16:17:13 +02:00
Jessica Nilsson beb72c921d isimodem: Add MCE code points
Updates required for wgmodem2.5.
2011-02-16 13:11:04 +02:00
Jeevaka Badrappan f1396eaab6 atmodem: close the list in clvl_range_query 2011-02-14 14:36:15 -06:00
Jeevaka Badrappan fdebfa0b21 ifxmodem: fix issue in set rat mode 2011-02-11 11:43:54 -08:00
Jeevaka Badrappan 0930de9319 ifxmodem: add CNAP support 2011-02-11 11:21:12 -06:00
Jeevaka Badrappan 67f41014de ifxmodem: move call creation to xcallstat_notify 2011-02-08 11:52:38 -06:00
Aki Niemi d8eacb6636 isimodem: Avoid unnecessary debugs 2011-02-08 17:12:12 +02:00
Aki Niemi ede682fc2e isimodem: Use convenience func for strerror 2011-02-08 17:11:38 +02:00
Aki Niemi 203dde39da isimodem: Refactor netreg for wgmodem support
This patch adds support for runtime selection between PN_MODEM_NETWORK
and PN_NETWORK resources, enabling a single isimodem driver to work
with different generations of modem firmware.

Based on patches from: Jessica Nilsson
<jessica.j.nilsson@stericsson.com>
2011-02-08 17:11:07 +02:00
Aki Niemi babb8bbfba isimodem: Add code points for wgmodem 2.5 2011-02-08 16:46:33 +02:00
Jeevaka Badrappan 777271a6a6 stemodem: fix memleak when calls are disconnected 2011-02-07 21:57:31 -06:00
Jeevaka Badrappan 09780386d8 ifxmodem: remove colp handling done inside atd_cb 2011-02-07 16:56:53 -06:00
Jeevaka Badrappan 9e944f550c ifxmodem: add handling of XCOLP notification 2011-02-07 16:55:33 -06:00
Jeevaka Badrappan 2037f5515c ifxmodem: fix issue with gatchat usage 2011-02-07 15:40:53 -06:00
Jeevaka Badrappan fc68ac41f8 stemodem: M16 coding style fix 2011-02-05 07:05:11 -08:00
Jeevaka Badrappan 021e8836b8 ifxmodem: M16 coding style fix 2011-02-05 07:04:53 -08:00
Jeevaka Badrappan a4c3733314 hfpmodem: M16 coding style fix 2011-02-05 07:04:17 -08:00
Jeevaka Badrappan 4534b1c328 atmodem: M16 coding style fix 2011-02-05 07:04:02 -08:00
Jeevaka Badrappan c70805bdee stemodem: Use defined call_status enum 2011-02-05 05:09:24 -08:00
Jeevaka Badrappan b4c8d107ad ifxmodem: Use defined call_status enum 2011-02-05 05:09:09 -08:00
Jeevaka Badrappan ec323d9c12 huaweimodem: Use defined call_status enum 2011-02-05 05:08:17 -08:00
Jeevaka Badrappan 3fef7a3d26 hfpmodem: Use defined call_status enum 2011-02-05 05:07:42 -08:00
Jeevaka Badrappan b9d24fc016 atmodem: use defined call_status enum 2011-02-05 05:07:18 -08:00
Marit Henriksen 49457675a3 stemodem: Check for ok in voicecall_initialize 2011-02-04 09:56:57 -06:00
Jeevaka Badrappan 8453b2680e ifxmodem: fix xtms read and test cmd prefix
with the latest modem firmware, xctms prefix
is returned as per the 3GPP format.
2011-02-04 14:54:31 +01:00
Marit Henriksen aad3b22924 stemodem: Fix handling of local_release
- Reset local_release when call is disconnected.
- Change bitmap for affected types, ste_hangup is only called when
  call state is Incoming, Dialing, Alerting or Active.
- Used macros instead of numbers when creating bitmaps.
2011-02-03 10:19:31 -06:00
Marit Henriksen c1603c77cc stemodem: Add handling of ECAV status Released
- *ECAV UR code has been extended with a new state Released,
  sent immediately when MO call is released.
- Apply rule M11 of coding style.
2011-02-03 10:14:51 -06:00
Pekka Pessi 1715ce85cb isimodem: fix problems in call state reporting
Do not report early incoming calls.

Report "disconnected" state separately.

Call ofono_voicecall_disconnected() only after call id is released.
2011-02-03 14:59:53 +02:00
Pekka Pessi e8d681f86d isimodem: fix crash in sms driver 2011-02-01 22:43:57 +02:00
Lucas De Marchi 51159b7610 drivers: fix misspellings 2011-02-01 18:37:34 +01:00
Lucas De Marchi 4e0f87106a stemodem: use ofono_call initializer 2011-02-01 18:31:49 +01:00
Lucas De Marchi 0ca07330f4 isimodem: use ofono_call initializer 2011-02-01 18:31:43 +01:00
Lucas De Marchi 641a6d98be ifxmodem: use ofono_call initializer 2011-02-01 18:31:36 +01:00
Lucas De Marchi a6d15c6a64 hfpmodem: use ofono_call initializer 2011-02-01 18:31:28 +01:00
Lucas De Marchi 0013199bc4 huaweimodem: use ofono_call initializer 2011-02-01 18:31:19 +01:00
Lucas De Marchi 0470319e72 calypsomodem: use ofono_call initializer 2011-02-01 18:31:11 +01:00
Lucas De Marchi 730891328c atmodem: use ofono_call initializer 2011-02-01 18:31:02 +01:00
Jeevaka Badrappan fa96b806bd atmodem: Add pin retry count support for mbm 2011-02-01 16:36:43 +01:00
Rémi Denis-Courmont 56dfe5066b atmodem: implement standard PIN retries 2011-02-01 13:51:21 +01:00
Jeevaka Badrappan 1f0318d244 stemodem: fix issue with gatchat usage 2011-01-31 10:48:56 +01:00
Jeevaka Badrappan e4ef929aee atmodem: fix memory leak 2011-01-29 12:43:17 -06:00
Jeevaka Badrappan ae9feb72e9 hfpmodem: fix memory leak 2011-01-29 12:43:17 -06:00
Marcel Holtmann 1973805069 atmodem: The Gobi devices don't support SMS ACK PDUs either 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan f9b34de3d4 cdmamodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 124a9b1f0a stemodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 3fbf85ed82 mbmmodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 52e46e42ff ifxmodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan c00904e2d3 huaweimodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 85865ac98d hsomodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 0f4b44d5cf hfpmodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan b6331608c2 calypsomodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan 4258fb5915 atmodem: remove NULL check 2011-01-29 18:39:37 +01:00
Jeevaka Badrappan ac20890cc9 atutil: use g_new0 for callback data memory 2011-01-29 18:39:37 +01:00
Marcel Holtmann 938e635ae6 atmodem: Add Sierra vendor quirk for SIM file reading 2011-01-27 15:49:32 +01:00
Marcel Holtmann 141c18dd03 atmodem: Add vendor entry for Sierra Wireless 2011-01-27 15:47:16 +01:00
Aki Niemi 9306837053 isimodem: Fix race condition in SIM probe
Fix a potential race condition between HPLMN query and subscribing to
SIM status indications.
2011-01-27 10:34:52 +02:00
Jeevaka Badrappan 12c3cf6969 voicecall: remove ofono_cug_option 2011-01-26 16:38:15 -06:00
Lucas De Marchi b7fca84c93 atmodem: rename parameter according to header 2011-01-26 18:23:38 +01:00
Aki Niemi e943360a5a isimodem: Remove unused declaration 2011-01-25 14:48:23 +02:00
Marcel Holtmann 89c4ea6130 atmodem: Add support for technology reporting via CNTI 2011-01-22 15:03:12 +01:00
Marcel Holtmann 62686f7719 atmodem: Add support for Gobi technology change handling 2011-01-22 13:12:15 +01:00
Marcel Holtmann ef0b594dfc atmodem: The Gobi devices have CI and LAC as unqouted strings 2011-01-22 12:37:19 +01:00
Marcel Holtmann 66032172ef atmodem: Use Qualcomm Gobi quirks for SMS, CBS and USSD 2011-01-22 11:36:43 +01:00
Marcel Holtmann b7739919f8 atmodem: Use switch statements for USSD vendor quirks 2011-01-22 11:27:53 +01:00
Marcel Holtmann 2253222069 atmodem: Use switch statements for CBS vendor quirks 2011-01-22 11:23:22 +01:00
Marcel Holtmann 503e5e0321 atmodem: Use switch statements for SMS vendor quirks 2011-01-22 11:20:10 +01:00
Marcel Holtmann ec0f0c2a68 atmodem: Add quirk for Qualcomm Gobi modems 2011-01-22 11:09:31 +01:00
Kai Vehmanen 0a5ef0a9c8 isimodem: fix sending DTMF
isi_call_dtmf_send_resp() handles the success case incorrectly, and
thus all send_tones attempts fail with bogus error codes.
2011-01-21 15:19:52 +02:00
Jeevaka Badrappan 2a7fa4de4e isimodem: fix issue with user busy release
when the user rejects the incoming call, hangup_active
will get called on the driver side whereas when the user
rejects the waiting call, set_udub will get called on the
driver side.
2011-01-21 15:18:40 +02:00
Marcel Holtmann 19b9ffdb44 calypso: Fix issue with name presentation and voice calls
The Calypso voice call driver uses an ofono_call object that is on the
stack. It is not automatically initilized to zero and thus causes to
have a name presentation that is not valid UTF-8. This in return makes
D-Bus fail and disconnect from the bus.

To fix this ensure that the ofono_call object is properly set to zero
first before populating it with values.
2011-01-21 13:07:04 +01:00
Andrzej Zaborowski 03b294d194 sim-auth: Add atmodem driver 2011-01-20 11:20:57 -06:00
Aki Niemi 56b428dcd5 atmodem: Remove deregister implementation 2011-01-20 09:55:23 -06:00
Aki Niemi ad5c6e2e4c isimodem: Remove deregister implementation 2011-01-20 09:55:19 -06:00
Marcel Holtmann 63fd483fc9 atmodem: Always listen for bearer notifications 2011-01-20 12:13:17 +01:00
Rémi Denis-Courmont e3f51d7507 atmodem: packet switch bearer support 2011-01-20 12:10:32 +01:00
Denis Kenzior 58f223da5f sim: Add a missing break statement just in case 2011-01-19 14:57:12 -06:00
Jeevaka Badrappan 508b93eecb atmodem: add ifx support for pin retry count 2011-01-19 14:57:12 -06:00
Denis Kenzior 16929cc978 voicecall: Be more explicit when copying structs 2011-01-18 16:09:28 -06:00
Lucas De Marchi 2c79277073 atmodem: add cdip to voicecall 2011-01-18 16:09:28 -06:00
Lucas De Marchi 700550e2f3 atmodem: add cdip to call-settings 2011-01-18 16:09:27 -06:00
Pekka Pessi fef6de49af isimodem: fix crash in gprs
There was a crash if gprs was removed while creating context.
2011-01-18 22:29:24 +02:00
Aki Niemi 321bd16eb1 isimodem: Style fix in gprs, M12 2011-01-18 22:29:24 +02:00
Jeevaka Badrappan 3ae5e46b69 atmodem: fix signal strength issue with ifx 2011-01-18 16:05:29 +01:00
Jeevaka Badrappan d9ae1405f3 atmodem: coding style fix 2011-01-18 15:55:41 +01:00
Pekka Pessi 37ae4832de Fix crash in isimodem call forwarding. 2011-01-17 18:15:42 +01:00
Dara Spieker-Doyle e4143d651c cdmamodem: fix to follow oFono probe rules
Not allowed to call register directly from probe, use g_idle_add
instead for now
2011-01-14 14:18:51 -06:00
Marit Henriksen fb60a96027 stemodem: Always run +CGACT? when we get +CGEV.
Remove checks for certain values of CGEV, and instead we will
always run CGACT? to check what contexts that are active.
2011-01-14 14:32:58 +01:00
Marit Henriksen 12b417f4e9 stemodem: Use macro for context status. 2011-01-14 14:32:16 +01:00
Marit Henriksen 1fe79aa8a5 stemodem: Return immediately if not voice call. 2011-01-14 14:30:14 +01:00
Marit Henriksen 84e942ace3 stemodem: Use macro for clip validity. 2011-01-14 14:29:38 +01:00
Marit Henriksen e732452eea stemodem: Removed defaults in switches.
Coding style guidline M12.
2011-01-14 14:29:00 +01:00
Helen Clemson fa576435a5 hfpmodem: Incorrect string length in dtmf buf.
Strlen includes a NULL character.
2011-01-14 14:26:37 +01:00
Helen Clemson ed67052411 stemodem: Incorrect string length in dtmf buf.
Strlen includes a NULL character.
2011-01-14 14:26:21 +01:00
Helen Clemson 5242716024 stemodem: Fix spelling mistake in error message. 2011-01-14 11:37:55 +01:00
Jeevaka Badrappan d8f7f53096 ifxmodem: change AT command for enabling SATK 2011-01-14 01:18:58 +01:00
Jeevaka Badrappan d0f0e99f47 ifxmodem: add enable/disable ctm support 2011-01-14 01:16:33 +01:00
Dara Spieker-Doyle c4b5dad476 cdmamodem: Add CDMA devinfo support 2011-01-13 16:15:18 -06:00
Dara Spieker-Doyle fdfdde03a7 cdmamodem: M15 Coding style fix 2011-01-13 16:11:50 -06:00
Jeevaka Badrappan cfdad1d377 atutil: remove unused mpty 2011-01-13 12:31:54 -06:00
Rémi Denis-Courmont bcfd049853 atmodem: fix +COLR parsing
AT+COLR does not have a local presentation mode and thus it cannot be
factored with the other commands.

This partially reverts commit f2baa88d75.
2011-01-13 10:31:54 -06:00
Denis Kenzior febb9014ca atutil: Break out attribute parser into atutil 2011-01-12 23:53:38 -06:00
Denis Kenzior 613be55183 cdmamodem: Remove unneeded assignments 2011-01-12 23:05:44 -06:00
Denis Kenzior a13116f49c cdmamodem: Fix up naming 2011-01-12 23:05:17 -06:00
Dara Spieker-Doyle b33502da0a cdmamodem: Add CDMA MO Call support 2011-01-12 22:58:45 -06:00
Pekka Pessi 6d23cd1957 isimodem: fix return from call control requests 2011-01-12 08:09:09 -08:00
Jeevaka Badrappan b97676acc3 atmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan 9af25bceac isimodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan d7a14347f6 nwmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan 042e470fd7 hsomodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan e7367d7ae1 ifxmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan bd782cfbf0 calypsomodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan 15bf5be1a5 stemodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan 6e2b614e64 huaweimodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan 7e52569104 hfpmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan 0df21d68df mbmmodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Marcel Holtmann 4bab8d3ad3 atmodem: Use switch statement for vendor quirks 2011-01-10 15:35:39 -08:00
Denis Kenzior 94c104b25f sim: Fix missing return in the atmodem driver
In some circumstances it was possible to call the callback with both
failure and success
2011-01-10 16:21:16 -06:00
Denis Kenzior 55d47dcac1 sim: Prefer not using _ prefix for style reasons 2011-01-10 16:14:50 -06:00
Lucas De Marchi 5dfd568a2a atmodem: implement query for remaining pin retries
Implement query method for the remaining pin retries on huawei modem.
2011-01-10 16:08:55 -06:00
Lucas De Marchi 45f2576bb6 atmodem: check for VENDOR_HUAWEI on sim atom 2011-01-10 15:38:29 -06:00
Marcel Holtmann fe9bb02484 cdmamodem: Fix the broken plugin naming 2011-01-09 11:01:31 -08:00
Pekka Pessi e0b6a058a2 isimodem: use simplified client interface 2011-01-07 13:39:18 +02:00
Pekka Pessi 340a6d8725 isimodem/sms: verify SMS and SIM resources 2011-01-07 13:32:27 +02:00
Pekka Pessi e130d21be9 isimodem: fix style issues 2011-01-07 13:32:27 +02:00
Pekka Pessi a3f491a82b isimodem: include complete ISI message in trace 2011-01-07 13:32:27 +02:00
Pekka Pessi b72c01173a isimodem: whitespace fixes 2011-01-07 13:32:27 +02:00
Marcel Holtmann 92e02b4621 hsomodem: Add query for supported frequencies 2011-01-05 23:05:00 -08:00
Marit Henriksen 42f3134802 stemodem: Fix for MT call not working when caller id is hidden.
In *ECAV, the number will not be included if caller id is hidden.
Set it to an empty string in that case, and set number type to
128, unknown number type.
2011-01-04 01:24:26 -08:00
Aki Niemi 998a25eec8 isimodem: Fix nettime parsing 2010-12-31 14:54:19 +02:00
Marcel Holtmann 39599b9106 netreg: Report timezone updates if available 2010-12-26 11:47:32 -08:00
Denis Kenzior 378135621a huawei: Minor style fixes 2010-12-23 18:47:47 -06:00
Lucas De Marchi 90d9bd3f2b huaweimodem: add frequency band selection support 2010-12-23 18:44:39 -06:00
Dara Spieker-Doyle eddc201bdd cdmamodem: Add cdmamodem stubs 2010-12-22 19:10:23 -06:00
Aki Niemi 9b5ea0189a isimodem: Minor style fixes 2010-12-22 17:47:22 +02:00
Aki Niemi ef22691f71 isimodem: Remove unnecessary check 2010-12-22 17:13:49 +02:00
Aki Niemi 8406a4935e isimodem: Fix ICC, IMSI and SPN reading 2010-12-22 17:13:48 +02:00
Aki Niemi 1bdc6f027c isimodem: Fix SCA query response handling 2010-12-22 17:13:48 +02:00
Aki Niemi c1cc241862 isimodem: Fix sms driver incoming NTF handling 2010-12-22 17:13:48 +02:00
Mika Liljeberg ae27b69769 isimodem: fix GPRS context removal 2010-12-22 17:13:48 +02:00
Aki Niemi a044bc7880 isimodem: Fix sms driver routing resp handling 2010-12-22 17:13:48 +02:00
Aki Niemi 46d52b5a90 isimodem: Add debugging for PN_WRAN id 2010-12-22 17:13:48 +02:00
Aki Niemi 1bffb5c909 isimodem: Rename debug to trace 2010-12-22 17:13:48 +02:00
Aki Niemi 98074fdb60 isimodem: Always compare to NULL explicitly 2010-12-22 17:13:48 +02:00
Aki Niemi b477941171 isimodem: Style fixes, indentation 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1199b3fc54 isimodem: prevent gprs autodetach 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1272da9bb2 isimodem: improve GPRS timeouts 2010-12-22 17:13:48 +02:00
Mika Liljeberg b08f5b9e3b isimodem: revector GPRS driver to new gisi API 2010-12-22 17:13:48 +02:00
Mika Liljeberg 29155d9a8a gisi: add definitions for reading product profile 2010-12-22 17:13:48 +02:00
Aki Niemi 11b65c55af isimodem: Fix call forwarding driver 2010-12-22 17:13:47 +02:00
Aki Niemi b156318105 isimodem: Remove unused variables 2010-12-22 17:13:47 +02:00
Mika Liljeberg ddba09c870 isimodem: convert radio settings to new gisi API 2010-12-22 17:13:47 +02:00
Aki Niemi 3fed5c83ee isimodem: Adapt and refactor sms driver 2010-12-22 17:13:47 +02:00
Aki Niemi d365237a65 isimodem: Adapt and refactor ssn driver 2010-12-22 17:13:47 +02:00
Aki Niemi 3942066eae isimodem: Adapt and refactor ussd driver 2010-12-22 17:13:47 +02:00
Aki Niemi b8b1f6c969 isimodem: Adapt and refactor call meter driver 2010-12-22 17:13:47 +02:00
Aki Niemi 5a8cf6552d isimodem: Remove useless debug 2010-12-22 17:13:47 +02:00
Aki Niemi a1d8fb8c72 isimodem: Clean up sim driver some more 2010-12-22 17:13:47 +02:00
Aki Niemi d9fbf0d427 isimodem: Adapt and refactor cbs driver 2010-12-22 17:13:47 +02:00
Aki Niemi 66d1cfa347 isimodem: Add missing CBS codepoint 2010-12-22 17:13:47 +02:00
Aki Niemi 346ee5b051 isimodem: Adapt and refactor voicecall driver 2010-12-22 17:13:47 +02:00
Aki Niemi 4f9c5b7713 isimodem: Adapt and refactor sim driver 2010-12-22 17:13:46 +02:00
Aki Niemi 332afc9cbc isimodem: Adapt and refactor phonebook driver 2010-12-22 17:13:46 +02:00
Aki Niemi 90f31a1cb9 isimodem: Adapt and refactor netreg driver 2010-12-22 17:13:46 +02:00
Aki Niemi f01d0454a7 isimodem: Add convenience macro for version debug 2010-12-22 17:13:46 +02:00
Aki Niemi 48ea0fd5b7 isimodem: Adapt and refactor infoserver 2010-12-22 17:13:46 +02:00
Aki Niemi 5de8900262 isimodem: Adapt and refactor devinfo driver 2010-12-22 17:13:46 +02:00
Aki Niemi 3c2c1f8daf isimodem: Adapt and refactor debugging 2010-12-22 17:13:46 +02:00
Aki Niemi d1a0775a48 isimodem: Adapt and refactor call forwarding 2010-12-22 17:13:46 +02:00
Aki Niemi 698e97c75c isimodem: Adapt and refactor call barring driver 2010-12-22 17:13:46 +02:00
Aki Niemi ab814c8fc4 isimodem: Adapt and refactor audio settings driver 2010-12-22 17:13:46 +02:00
Lucas De Marchi 32f250470a huaweimodem: Add support for radio settings 2010-12-21 16:02:52 -06:00
Sjur Brændeland f5864cf31c stemodem: Use RTNL to create network interfaces. 2010-12-21 06:37:53 -08:00
Sjur Brændeland b108042e66 stemodem: Create network interfaces statically 2010-12-21 06:37:44 -08:00
Denis Kenzior b68fb125b8 atmodem: Always poll clcc, even if cring + clip
Even in the case of CRING and CLIP being used, we should start a CLCC
poll.  This is because we must still rely on polling CLCC to detect when
an incoming call has been terminated by the remote side.
2010-12-16 18:40:19 -06:00
Denis Kenzior 3254e5e99f atmodem: Fix reporting of CLIP
When RING & CLCC polling is used, the CLIP will not be reported
correctly if the CLIP: notification does not arrive
2010-12-16 18:40:19 -06:00
Denis Kenzior 0597b3501a atmodem: Do not re-parse CLIP / CNAP
These needs to be parsed once and not parsed unnecessarily once the
information has been recorded
2010-12-16 18:40:19 -06:00
Denis Kenzior a1bf26f15d atmodem: Set cnap validity to not provided 2010-12-16 18:40:19 -06:00
Denis Kenzior f2baa88d75 atmodem: Unify COLR/CNAP/CLIP/COLP parser 2010-12-16 18:40:19 -06:00
Denis Kenzior f46e0fb73b atmodem: Fix parsing of CNAP status 2010-12-16 18:40:18 -06:00
Gustavo F. Padovan b01d8f5bf7 atmodem: add CNAP to call-settings 2010-12-16 18:40:18 -06:00
Denis Kenzior c37f155478 ifx: Take out unused defines 2010-12-16 18:40:18 -06:00
Gustavo F. Padovan f28f0b3dea atmodem: Add CNAP parsing to voicecall 2010-12-16 18:40:18 -06:00
Denis Kenzior 0512a6b740 atutil: Fix parsing of un-quoted CREG / CGREG
On broken hardware like the Huawei, it is possible to receive both an
unsolicited and a solicited version of the CREG / CGREG within within
the same response set.  Skipping of the unsolicited version was not
handled correctly.  This attempts to fix this issue.
2010-12-11 11:39:07 -06:00
Gustavo F. Padovan 5ca42255c5 atmodem: use macros for CLIP validity 2010-12-10 12:59:26 -06:00
Gustavo F. Padovan 8dec9a989b atmodem: cleanup DBG messages 2010-12-10 12:58:12 -06:00
Pekka Pessi a67c5cf4c5 isi/voicecall: fix handling of waiting calls
Also, do not retrieve calls after isi_release_all_active() because
retrieving is now only an unwanted side-effect .
2010-12-03 14:52:40 +02:00
Pekka Pessi be2778cb99 isi/voicecall: avoid side-effects of release
If a call was held automatically when an another call was dialed or
answered, it gets retrieved when the other call is released unless
auto change features is explicitly disabled.

Drop cause_type parameter because it is never used.

Use cause code for busy when releasing incoming or waiting calls.
2010-12-03 14:52:33 +02:00
Pekka Pessi eb3af79700 isi/voicecall: add call id to queued requests 2010-12-03 14:51:40 +02:00
Pekka Pessi fe28e6cd05 isi/voicecall: fix status reporting
Do not report incoming calls to the oFono core until they can be
answered.

Report MT_RELEASED or MO_RELEASED via ofono_voicecall_notify(),
TERMINATED calls via ofono_voicecall_disconnected().
2010-12-03 14:50:05 +02:00
Gustavo F. Padovan 169651314e atmodem: fix DBG message 2010-12-02 08:15:04 -06:00
Denis Kenzior 26b68846a8 isi: Get rid of a pointless check in cf driver 2010-11-29 11:47:47 -06:00
Lucas De Marchi b82a7f8511 drivers: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Denis Kenzior ae2d960ec3 isi: Update radio-settings to use new API 2010-11-29 07:52:35 -06:00
Denis Kenzior 8f949a6d8c atmodem: Forgot to reset sms data on remove 2010-11-29 07:52:35 -06:00
Rémi Denis-Courmont 44c6918081 ste: Remove stray newlines in messages sent to log 2010-11-26 13:49:19 -06:00
Rémi Denis-Courmont 6a6f7bed3c isi: Remove stray newlines in messages sent to log 2010-11-26 13:48:41 -06:00
Sjur Brændeland a32965de27 stemodem: Change use of types
Use the type __u32 for sequence counting rather than guint32,
and "void *" instead of gpointer.
Reduce the size of RTNL message buffer from 4096 to 1024,
as this should be sufficient to hold the NEWLINK message.
2010-11-23 03:06:34 -06:00
Denis Kenzior 7cde43b4b6 call-settings: Add support for +COLR in atmodem 2010-11-22 16:48:45 -06:00
Pekka Pessi f3c75c9285 isi/voicecall: release COMING calls with BUSY cause
Very early incoming calls were not released with BUSY cause.
2010-11-22 08:19:38 -06:00
Sjur Brændeland 2f9af8c105 stemodem: Fix for error handling, memleak and changed some defines
* renamed MAX_LEN to IP_ADDR_LEN
* removed memory leak from unneeded strdup when parsing xml response.
* better handling of AT error responses
* reduced number of caif interfaces to 4
2010-11-13 10:30:43 +09:00
Marcel Holtmann 4a82cb0233 stemodem: Fix various coding style and logic issues with RTNL support 2010-11-13 10:26:07 +09:00
Sjur Brændeland 04479d8df7 stemodem: Add RTNL functionality managing CAIF Network Interfaces. 2010-11-13 10:16:18 +09:00
Denis Kenzior 5a1bd2c352 isimodem: Get rid of whitespace corruption 2010-11-11 09:08:09 -06:00
Aki Niemi b2faaa1058 isimodem: Fix style issues in gprs-context.c 2010-11-11 10:11:24 +02:00
Mika Liljeberg a4deaffa58 isimodem: revector GPRS context driver 2010-11-11 09:25:08 +02:00
Pekka Pessi b3495d3a9b isigen: increase offline timeout
The modem deregisters from network before response to MTC_STATE_REQ is
returned.  Deregistering can take up to 6 seconds.
2010-11-04 16:19:53 +01:00
Marit Henriksen a25d57531c atmodem: Remove at_pin_send_puk_cb, and use at_pin_send_cb instead.
When adding the use of pin event *EPEV also to at_pin_send_puk_cb,
it becomes identical to at_pin_send_cb, and can be removed.
2010-11-04 10:40:17 +01:00
Marcel Holtmann 1b920e4b57 stemodem: Fix broken coding style 2010-10-30 19:09:59 +02:00
Marcel Holtmann cada693dc8 ifxmodem: Enable emergency call state notifications
This enables the Infineon specific emergency call state notifications so
that they show up in the traces when this happens. No logic to handle
them properly is implemented.
2010-10-29 13:56:09 +02:00
Marcel Holtmann 080ff41db9 atmodem: Add support for IFX specific GPRS suspend notification
The Infineon modem informs about GPRS suspend cases. For example when
GPRS is active and a call is made. If the status changes, inform the
core about this change.

This uses GPRS_SUSPENDED_UNKNOWN_CAUSE reason since the modem does not
give a clear reason why GPRS was suspended. With this reason there is
a delay before the status change gets send out as D-Bus signal.
2010-10-29 13:39:27 +02:00
Marcel Holtmann 0ec69a291d atmodem: Add dummy handler for generic time zone update 2010-10-28 19:11:18 +02:00
Marcel Holtmann ed7a22c867 atmodem: Time reporting on Infineon modem is IFX specific
The time reporting via +CTZV and +CTZDST on the Infineon modem is not
following the standard. So mark these clearly as IFX specific.
2010-10-28 19:05:29 +02:00
Marcel Holtmann 969e242d72 atmodem: Enable home zone reporting for IFX modems
For the Infineon modem the AT+XHOMEZR option can be set to get informed
about home zone labels. If this information is available, it it still
not properly used, but it shows up in the traces for reference.
2010-10-28 19:01:55 +02:00
Marcel Holtmann b433249763 ifxmodem: Enable Calling Name Presentation (CNAP) notifications
This enables the CNAP notifications so that they show up in the traces
if used by a network. No logic is implemented to handle them.
2010-10-28 18:10:15 +02:00
Mika Liljeberg d34bbba722 isimodem: add support for FastDormancy property 2010-10-27 22:26:16 -05:00
Denis Kenzior f07b326090 ifxmodem: Notify core about handled commands 2010-10-27 12:25:53 -05:00
Denis Kenzior 8eb658f5ea mbmmodem: Notify core about handled commands 2010-10-27 12:25:51 -05:00
Denis Kenzior 412ce05fde calypsomodem: Notify core about handled commands 2010-10-27 12:25:48 -05:00
Marcel Holtmann 9c476f1f0a mbmmodem: Print IP details after GPRS context setup 2010-10-27 14:55:13 +02:00
Marcel Holtmann 65f1ad4ce2 atmodem: Print IP details after GPRS context setup 2010-10-27 14:54:46 +02:00
Marcel Holtmann c7d09b7218 mbmmodem: Remove some pointless debug prefix strings 2010-10-27 13:28:55 +02:00
Marcel Holtmann 0de74b6edb ifxmodem: Fix handling of radio access mode enum 2010-10-27 11:06:05 +02:00
Marcel Holtmann 927bdcf87f hsomodem: Fix handling of radio access mode enum 2010-10-27 11:05:59 +02:00
Marcel Holtmann 64f327e2d0 nwmodem: Fix handling of radio access mode enum 2010-10-27 11:05:33 +02:00
Marcel Holtmann 3c2d59978b mbmmodem: Add some more GPRS context debug statements 2010-10-27 01:40:25 +02:00
Marcel Holtmann 6ccbeadb12 huaweimodem: Fix some GPRS context debug statements 2010-10-27 01:34:02 +02:00
Marcel Holtmann 9eb88496ac ifxmodem: Add full set of GPRS context debug statements 2010-10-27 01:31:54 +02:00