Mika Liljeberg
44ad041c27
isimodem: fix network registration for older modems
2011-03-24 14:43:53 +02:00
Jeevaka Badrappan
97eea8144b
atmodem: fix issue in time reporting with ifx
2011-03-18 09:51:57 -07:00
Denis Kenzior
1bc1e52751
hfp: Fix some whitespace issues
2011-03-17 16:11:02 -05:00
Christian Lam
4fc55730f4
cdmamodem: add CDMA Connection Manager support
2011-03-17 14:16:07 -05:00
Bertrand Aygon
7617680d0d
cbs: ignore any CBMs without a proper size
...
Cell Broadcasts are always fixed size, so improve PDU length check
2011-03-16 21:29:20 -05:00
Mika Liljeberg
116f4dcbda
stemodem: update to new gprs context interface
2011-03-15 17:11:59 -05:00
Mika Liljeberg
cbda267674
ifxmodem: update to new gprs context interface
2011-03-15 17:11:59 -05:00
Mika Liljeberg
df64b12758
hsomodem: update to new gprs context interface
2011-03-15 17:11:58 -05:00
Mika Liljeberg
ba9bf3e893
mbmmodem: update to new gprs context interface
2011-03-15 17:11:58 -05:00
Mika Liljeberg
e9b04829e1
huaweimodem: update to new gprs context interface
2011-03-15 17:11:58 -05:00
Mika Liljeberg
a8731aabb0
atmodem: update to new gprs context interface
2011-03-15 17:11:58 -05:00
Mika Liljeberg
cf334808be
isimodem: IPv6 support
2011-03-15 17:11:58 -05:00
Arun Ravindran
8ee5a49fc2
isimodem: Crash while setting SCA
2011-03-11 13:58:25 -06:00
Paavo Leinonen
f2d3f232f2
atmodem: fix PB reading when fields are omitted
...
Fix SIM PB reading when numeric fields have been omitted.
2011-03-11 13:55:17 -06:00
Denis Kenzior
35478aedf6
voicecall: Move notification_ind registration
...
Should be before ofono_voicecall_register to be consistent
2011-03-11 13:50:31 -06:00
Denis Kenzior
a033b13388
voicecall: Remove pointless whitespace
2011-03-11 13:50:31 -06:00
Andras Domokos
912b128b97
isimodem: implement SSN handling
2011-03-11 13:50:31 -06:00
Denis Kenzior
0f147e1cd5
voicecall: Minor nitpicks to previous commit
2011-03-11 13:50:31 -06:00
Andras Domokos
3370b45477
atmodem: implement SSN handling
2011-03-11 13:50:31 -06:00
Andras Domokos
4a36b93d6a
ssn: remove SSN atom completely
2011-03-11 13:08:51 -06:00
Lucas De Marchi
86998818b7
mbmmodem: do not check for NULL pointer
...
cb_data_new() uses g_new0(), hence there's no need to check the return
value being NULL.
2011-03-04 05:13:51 -08:00
Lucas De Marchi
843d18ceae
mbmmodem: don't let chat open after fd is sent
...
Instead of using a GAtChat, just use a GIOChannel and close it as soon
as its fd is sent to core.
2011-03-03 21:56:35 -06:00
George Matveev
c6e81f7fb3
isimodem: removed unused NETWORK_TIMEOUT
2011-03-03 21:40:42 +02:00
Aki Niemi
c6e4c20a5d
isimodem: Use alignment helper macro
2011-03-03 21:34:41 +02:00
Aki Niemi
abe5e87483
isimodem: Fix call-forwarding driver
...
Message length was incorrectly calculated. Also some cleanups.
2011-03-03 18:35:28 +02:00
Aki Niemi
a82f098636
isimodem: Add missing codepoints
...
Not used; mostly for debugging purposes.
2011-03-03 18:34:41 +02:00
Aki Niemi
4b26d57d57
isimodem: Refactor SSN driver
2011-03-03 17:43:30 +02:00
Aki Niemi
1e81ed20ea
isimodem: Move SS related codepoints to ss.h
2011-03-03 17:43:30 +02:00
Aki Niemi
4ba0846ecd
isimodem: Use existing call SS codepoints
2011-03-03 17:43:30 +02:00
Jessica Nilsson
3e0dd726b0
isimodem: wgmodem2.5 added to ssn
2011-03-03 17:43:30 +02:00
Aki Niemi
3b456ace49
isimodem: Refactor call-forwarding driver
2011-03-03 17:43:30 +02:00
Aki Niemi
9130f2d02d
isimodem: Fix nit in call-barring
2011-03-03 17:43:30 +02:00
Jessica Nilsson
d687f5259f
isimodem: wgmodem2.5 added to call-forwarding
2011-03-03 17:43:30 +02:00
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
Marcel Holtmann
9b316185c6
atmodem: Add some more GPRS context debug statements
2010-10-27 01:29:55 +02:00
Marcel Holtmann
52f3c3462b
huaweimodem: Add some more GPRS context debug statements
2010-10-27 01:27:17 +02:00
Marcel Holtmann
21a7e11e7f
ifxmodem: Add some more GPRS context debug statements
2010-10-27 01:25:56 +02:00
Marcel Holtmann
21a6a00646
ifxmodem: Add support GPRS contexts with username and password
2010-10-26 22:50:00 +02:00
Marcel Holtmann
3477a9c9e9
ifxmodem: Fix GPRS disconnect handling from network side
2010-10-26 14:43:49 +02:00
Marcel Holtmann
4d22e65b80
huaweimodem: Add bits and pieces for NDIS receive handling
2010-10-25 23:10:31 +02:00
Marcel Holtmann
125519ccbb
ifxmodem: Fix handling of AT+XDNS with multiple contexts
2010-10-25 22:51:09 +02:00
Marcel Holtmann
8da7e98ce4
atmodem: Enable time zone reporting for Option modems
2010-10-25 02:03:00 +02:00
Marcel Holtmann
033c772e7b
atmodem: Enable time update reporting for MBM modems
2010-10-24 21:48:56 +02:00
Marcel Holtmann
0dc986a464
huaweimodem: Increase NDIS setup time to 20 seconds
2010-10-24 15:35:45 +02:00
Marcel Holtmann
a9ad547535
mbmmodem: Check IP address with AT+CGPADDR for older modems
2010-10-24 14:55:50 +02:00
Andrzej Zaborowski
9e46e27932
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.
2010-10-22 22:28:50 -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
df2d0dc805
ifxmodem: Use g_try_new0 when checking for the result
2010-10-22 00:21:06 +02:00
Marcel Holtmann
f0175ba3fc
ifxmodem: Fix compiler warnings in GPRS context driver
2010-10-21 23:54:53 +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
Aki Niemi
eac5b46c19
isimodem: Remove hack for notifying strength
2010-10-21 21:39:41 +03: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
49544d43d8
atmodem: Check for TUN/TAP support before enabling PPP
2010-10-21 18:23:20 +02: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
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
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
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
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
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
Aki Niemi
297b14ca8b
isimodem: Fix copyright and license boilerplate
2010-10-14 15:22:16 +03:00
Aki Niemi
69087a565c
isimodem: Fix SMSC address update request
2010-10-14 15:22:16 +03:00
Marcel Holtmann
4cacd3a76c
atmodem: Send DTMF commands without quotes
...
The AT+VTS command takes a single character and should not use quotes.
2010-10-13 08:25:59 +03:00
Marcel Holtmann
b7fbef011b
ifxmodem: Send DTMF commands without quotes
...
The AT+VTS command takes a single character and should not use quotes.
2010-10-13 08:24:13 +03:00
Pekka Pessi
a5e13cb049
isimodem/voicecall: fix hangup_active
2010-10-06 12:07:27 +02:00
Marcel Holtmann
2b331684cb
huaweimodem: Print the NDIS device node to be used
2010-10-05 16:30:04 +02:00
Marcel Holtmann
b41f354a2f
huaweimodem: Add error handling for too many ^DHCP failures
2010-10-05 16:28:52 +02:00
Aki Niemi
29bbf89c52
isimodem: Properly clean up audio settings driver
2010-10-01 17:11:25 +03:00
Kai Vehmanen
78d4ee9336
isimodem: Add support for audio settings
...
The audio state is mapped directly to isimodem's call server status
indications. When active, the modem speech path should be opened, and
when closed, the modem speech path may be closed.
2010-10-01 17:11:24 +03:00
Marcel Holtmann
b7f6b1c997
ifxmodem: Notify about audio settings mode
2010-10-01 07:29:53 +02:00
Marcel Holtmann
3fd4af4fc2
audio: Update audio settings API for active notification
2010-10-01 07:14:59 +02:00
Aki Niemi
cbf53bc708
isimodem: Report GPRS detach
2010-09-30 11:25:48 +03:00
Aki Niemi
6509152544
isimodem: Fix signal strength reporting
...
ISI modems send the signal strength indication before registration
status changes, which causes the core to ignore initial signal
strength values.
2010-09-30 11:25:48 +03:00
Pekka Pessi
ce2ff83187
isimodem: remove generic modem driver parts
...
The isimodem driver is now part of isigen (just like atmodem and atgen).
2010-09-30 11:25:47 +03:00
Marcel Holtmann
fb864c91c0
ifxmodem: Remove setting of XPROGRESS notifications
...
The XPROGRESS notifcations are now handled inside an Infineon specific
audio settings driver. So no need to do that in the the voice call
driver as well.
2010-09-30 00:21:23 +09:00
Marcel Holtmann
0a71c6686f
ifxmodem: Add support for audio settings
2010-09-30 00:20:22 +09:00
Marcel Holtmann
9fed676875
huaweimodem: Add support for audio settings interface
2010-09-29 23:58:52 +09:00
Marcel Holtmann
462d79b5fe
huaweimodem: Add missing empty line
2010-09-29 23:42:55 +09:00
Marcel Holtmann
3ad4e5ab21
atmodem: Update IFX specific SIM ready checking
...
It seems that the XSIM notification doesn't really send SIM ready
status. It sends ready to attach instead:
> AT+CPIN="0000"\r
< \r\nOK\r\n
< \r\n+XLOCK: "PN",5,0,"PU",5,0,"PP",5,0,"PC",5,0,"PS",5,0\r\n
< \r\n+XSIM: 7\r\n
So either SIM ready or ready to attach is received more to the
post_sim state.
2010-09-29 23:23:29 +09:00
Denis Kenzior
e14c9214eb
huawei: Add release_specific to voicecall
2010-09-29 01:16:53 -05:00
Marcel Holtmann
590e154734
atmodem: Remove quirk for Huawei voice call support
...
The Huawei voice call support has its own driver now. So this quirk
is no longer needed.
2010-09-29 08:32:23 +09:00
Marcel Holtmann
5269a2f9be
huaweimodem: Implement hangup_active callback and not hangup_all
2010-09-29 08:05:41 +09:00
Denis Kenzior
ddb32c99ab
ifx: ifx_chup should send a +CHUP
2010-09-28 16:39:58 -05:00
Denis Kenzior
af643b1989
hso: Fix the username and password order
...
QCPDPP apparently takes the password first, then username
2010-09-27 19:28:19 -05:00
Marcel Holtmann
11154dfea0
ifxmodem: Enable audio related progress information
...
This is using AT+XPROGRESS=1 to enable the audio related notifications
of the modem. None of these information is currently used. This command
is only present to have these details show up in the debug logs.
2010-09-27 23:33:58 +09:00
Aki Niemi
3ffd6d248b
isimodem: Return success on topic set/clear
...
The isimodem driver accepts all topics by default.
2010-09-27 16:07:44 +03:00
Aki Niemi
7e5a5e665b
isimodem: Fix CBS decoding
2010-09-27 16:07:39 +03:00
Marcel Holtmann
0e398f0d56
huaweimodem: Handle option parameter on call end notification
2010-09-27 17:25:43 +09:00
Denis Kenzior
25e17334b7
huawei: Only notify for voice calls
2010-09-26 22:44:01 -05:00
Denis Kenzior
10c6bebd80
huawei: Track alerting state
2010-09-26 22:36:00 -05:00
Denis Kenzior
7d10119946
huawei: Track outgoing calls
2010-09-26 22:34:24 -05:00
Denis Kenzior
9d1aac47e7
huawei: Notify the core on connect and end call
2010-09-26 22:16:29 -05:00
Marcel Holtmann
6235b26e93
huaweimodem: Add voice call creation support
2010-09-27 08:46:15 +09:00
Marcel Holtmann
fcdd8b40b4
calypsomodem: Some cleanups in voice call driver
2010-09-27 08:11:04 +09:00
Marcel Holtmann
d66e699a88
stemodem: Some cleanups in voice call driver
2010-09-27 08:09:38 +09:00
Marcel Holtmann
6fbbd4ca3e
atmodem: Some cleanups in voice call driver
2010-09-27 08:07:02 +09:00
Marcel Holtmann
6d2b2dcc4a
ifxmodem: Two more cleanups
2010-09-27 08:06:48 +09:00
Marcel Holtmann
cfca38bad1
ifxmodem: Some cleanups in voice call driver
2010-09-27 08:03:40 +09:00
Marcel Holtmann
f271edef86
huaweimodem: Allow GPRS context allocation to fail
2010-09-27 00:10:17 +09:00
Marcel Holtmann
97b98fc9bf
huaweimodem: Register for voice call specific notifications
2010-09-27 00:07:09 +09:00
Marcel Holtmann
521396d55b
huaweimodem: Add skeleton for simple voice call driver
2010-09-26 23:51:27 +09:00
Marcel Holtmann
dd0ff9310d
ifxmodem: Make SIM Toolkit envelope submission work
2010-09-26 21:47:19 +09:00
Marcel Holtmann
7847b86646
calypsomodem: Make SIM Toolkit envelope submission work again
2010-09-26 21:45:50 +09:00
Marcel Holtmann
f6c119ba20
mbmmodem: Add comment about optional response data back
2010-09-26 21:43:57 +09:00
Denis Kenzior
9620b00e77
ifx: Fix double free issue
2010-09-26 07:41:06 -05:00
Denis Kenzior
779cc467de
mbm: Make stk envelope submission work again
2010-09-26 07:41:06 -05:00
Marcel Holtmann
25bb671d4e
atmodem: Add special handling for Infineon SIM ready state
2010-09-25 11:32:40 +09:00
Marcel Holtmann
554344b453
ifxmodem: Fix name of voice call driver
2010-09-25 11:29:47 +09:00
Marcel Holtmann
ae2a9207a4
atmodem: Add support for Infineon CNMA without PDU
...
Seems like the Infineon modem can't handle a provided PDU to the CNMA
command. So just leave it out.
2010-09-24 18:28:32 +09:00
Marcel Holtmann
2be1c13dbb
atmodem: Add special handling of Infineon signal strength reporting
...
The custom signal strength reporting could be done inside the modem
plugin actually, but Calypso, Huawei etc. add quirks to the generic
network registration driver. So for now do it the same way until
this gets cleaned up for all modem plugins.
2010-09-24 18:23:31 +09:00
Denis Kenzior
71fb9c74c6
ifx: Take out the vendor field in voicecall driver
2010-09-24 00:30:02 -05:00
Denis Kenzior
6db4483f26
ifx: Assume CLIP always arrives
...
If the CLIP always arrives after a CRING, then we do not ever need to
poll CLCC.
2010-09-24 00:30:02 -05:00
Denis Kenzior
4b134bd15f
ifx: Don't bother polling on an ATD
...
The core can handle stateless drivers that do not keep clip state, in
the case of IFX we can skip the poll after ATD for finding out our CLIP
and just keep it as invalid / obtained from COLP. The core should do
the right thing.
2010-09-24 00:29:59 -05:00
Denis Kenzior
09c0ae8478
atmodem: Update comment
2010-09-24 00:18:40 -05:00
Marcel Holtmann
c5fdbe8827
ifxmodem: Reorder voicecall driver before all other
2010-09-24 14:16:01 +09:00
Denis Kenzior
7ab1258a76
ifx: Update comment
2010-09-24 00:08:32 -05:00
Denis Kenzior
44f31d7e91
ifx: xcallstat should notify active->held
2010-09-24 00:08:30 -05:00
Denis Kenzior
26d6de7f53
ifx: Remove a few CLCC polls
...
Polling here is no longer needed due to XCALLSTAT
2010-09-23 23:53:41 -05:00
Denis Kenzior
1fc2216bfd
ifx: Don't bother using RING
...
We enable CRC=1, so only CRING should be sent
2010-09-23 23:53:41 -05:00
Denis Kenzior
6b10d14402
ifx: IFX provides hangup_all and hangup_active
2010-09-23 23:53:41 -05:00
Denis Kenzior
e1ee41b654
ifx: IFX provides swap_without_accept using CHLD=6
2010-09-23 23:53:40 -05:00
Denis Kenzior
6d37663713
ifx: No need to register to standard notifications
...
XCALLSTAT tells us when a call has been disconnected
2010-09-23 23:53:40 -05:00
Denis Kenzior
9d70f936e9
ifx: Use none_prefix on other init commands
2010-09-23 23:53:40 -05:00
Denis Kenzior
1f68dcabeb
ifx: Add IFX proprietory XCALLSTAT indicator
2010-09-23 23:53:38 -05:00
Denis Kenzior
8028a0b788
ifx: Copy voicecall driver from atmodem
...
IFX is a fairly bone stock AT based modem so the atmodem driver is a
good start.
2010-09-23 21:56:23 -05:00
Denis Kenzior
01cfe43824
calypso: Provide hangup_all and hangup_active
...
On Calypso, ATH hangs up all calls except waiting calls and CHUP hangs
up only active calls, but not held or waiting.
2010-09-23 21:55:58 -05:00
Marcel Holtmann
430259e38b
atmodem: Add vendor quirk for Infineon modems
2010-09-24 02:38:23 +09:00
Marcel Holtmann
66ee45eb53
ifxmodem: Fix whitespace corruption
2010-09-24 01:32:21 +09:00
Marcel Holtmann
27018b1a55
calypsomodem: Cleanup of SIM Toolkit support
2010-09-24 01:21:10 +09:00
Marcel Holtmann
adf2ffd38b
ifxmodem: Add debug for envelope response data
2010-09-24 01:13:22 +09:00
Marcel Holtmann
7bdb923f67
mbmmodem: Add debug for envelope response data
2010-09-24 01:13:01 +09:00
Marcel Holtmann
4749645aaf
mbmmodem: Fix small typo
2010-09-24 01:07:03 +09:00
Marcel Holtmann
6a3f1d9b91
mbmmodem: Cleanup of SIM Toolkit support
2010-09-24 01:05:26 +09:00
Marcel Holtmann
27676eea77
ifxmodem: Add support for SIM Toolkit (raw mode)
2010-09-24 00:59:13 +09:00
Marcel Holtmann
ac63fd956f
ifxmodem: Add support for radio settings
2010-09-23 23:27:08 +09:00
Marcel Holtmann
9f906504a5
atmodem: Allow setting PPP debug via environment variable
2010-09-20 08:28:13 +09:00
Marcel Holtmann
a4aeedc3f0
ifxmodem: Add skeleton for Infineon driver plugin
2010-09-18 22:18:51 +09:00
Denis Kenzior
315cfd4217
isimodem/ussd: Fix 64-bit compilation issue
2010-09-16 13:53:26 -05:00
Pekka Pessi
fe14190935
isimodem/ussd: fix mobile-terminated cases
...
ACK notifys. Handle mobile-terminated requests gracefully.
2010-09-16 13:47:46 -05:00
Pekka Pessi
5e92604955
isimodem/debug: debug USSD type
2010-09-16 13:47:15 -05:00
Pekka Pessi
a111048129
isimodem/ussd: clean const casts
2010-09-16 08:58:54 -05:00