Commit Graph

1196 Commits

Author SHA1 Message Date
Marcel Holtmann 85d7b3922e atmodem: The Speedup dongles send LAC and CI as unquoted strings 2011-08-03 22:37:16 +02:00
Mario Tokarz 452e55162a dunmodem: Add stub for gprs. 2011-08-03 22:34:04 +02:00
Guillaume Zajac 4a25f0227f devinfo: Use correct prefix for cdma 2011-08-03 12:10:52 -05:00
Bertrand Aygon 5bd28cef13 cdmamodem: remove an unneeded buffer and sprintf. 2011-08-03 19:05:02 +02:00
Marcel Holtmann 3ab79d8718 atutil: Handle empty SIM state polling request gracefully 2011-08-03 14:27:17 +02:00
Marcel Holtmann 14806ba527 mbmmodem: Set baud rate to 115200 for GPS interface 2011-07-29 20:50:37 +02:00
Marcel Holtmann d41b584de5 atmodem: Handle SIM busy condition gracefully for phonebooks
Before the phonebook is ready, the SIM card needs certain amount of
time. Something between 20-30 seconds in general. So if the modem
returns an error indicating the SIM is busy, then try again in
regular intervals.
2011-07-29 17:35:44 +02:00
Marcel Holtmann a69690b3b5 atmodem: Add Huawei specific technology reporting 2011-07-29 13:11:44 +02:00
Marcel Holtmann 7cabd1075c atmodem: Add Huawei specific GPRS bearer notifications 2011-07-29 13:11:17 +02:00
Marcel Holtmann 5a3a691199 dunmodem: Add support for dialup network registration 2011-07-28 00:02:11 +02:00
Marcel Holtmann c9632f9817 dunmodem: Add skeleton for dialup modem driver 2011-07-27 22:13:27 +02:00
Philippe Nunes 13b41706d1 atmodem: Add vendor entry for SpeedUp modems 2011-07-27 16:13:04 +02:00
Frédéric Danis c6c7fc3b16 hfpmodem: fix network status
When receiving roaming indicator update to 0 (no roaming) network
registration status should be updated with latest value of service
indicator.
2011-07-25 23:07:54 -05:00
Frédéric Danis 3b00f5aad7 hfpmodem: fix callheld indicator
Callheld move from 1 (active and held calls) to 2 (all calls on hold) may
result of:
- active call has been dropped by remote,
- an intermediate state during a call swap which will be followed by a
  move back to 1.
So, wait a little before checking calls state.
2011-07-25 23:06:16 -05:00
Marcel Holtmann 95c9e12da2 atmodem: Add support for Huawei network time reports 2011-07-25 16:53:03 +02:00
Marcel Holtmann 673844fe6a huaweimodem: Remove the broken NDIS port handling 2011-07-25 01:36:51 +02:00
Bertrand Aygon 6d986fe379 cdmamodem: check for TUN/TAP devices in ConnMan atom. 2011-07-24 16:45:14 +02:00
Marcel Holtmann 476fab4ea1 atmodem: Add support for NW DEACT notifications on slave channel 2011-07-24 14:48:39 +02:00
Denis Kenzior 380c95ddcb atmodem: Implement generic CPIN polling 2011-07-22 08:22:52 -05:00
Bertrand Aygon 20e55432d0 cdmamodem: send AT+GCAP to check devinfo. 2011-07-22 11:20:57 +02:00
Guillaume Zajac f1ac79ce44 cdma-connman: Update to the new driver API 2011-07-21 04:49:33 -05:00
Denis Kenzior b33d6b5fcb hfp_hf: Reorganize common code into hfpmodem 2011-07-21 03:49:27 -05:00
Denis Kenzior 191570a1ba hfpmodem: Minor whitespace fix 2011-07-20 08:22:25 -05:00
Jeevaka Badrappan c65903bddd ifxmodem: add support for user_confirmation in stk 2011-07-15 11:09:04 -05:00
Marcel Holtmann 8d60016b23 atmodem: Request device capabilities from devinfo driver
The result of the capabilities command is currently not used to identify
GSM support or not. However for debugging purposes the information are
part of the AT command debug log now.
2011-07-11 15:03:38 +02:00
Frédéric Danis 6db88b21d0 hfpmodem: remove previous HFP defines 2011-06-20 04:21:30 -05:00
Aki Niemi 8cbb0252b4 isimodem: Add baseline for UICC driver 2011-06-17 17:04:34 +03:00
Aki Niemi 6f6f7f39e0 isimodem: Add missing codepoints and debugs 2011-06-17 16:44:51 +03:00
Aki Niemi bc8423d475 isimodem: Fix style in UICC definitions 2011-06-17 16:38:17 +03:00
Arun Ravindran 870905a62a isimodem: Improper handling of missed call 2011-06-14 11:27:13 +03:00
Denis Kenzior 56d315f2dd mbmmodem: Fix not setting IPv4 Gateway 2011-06-12 17:47:48 -05:00
Denis Kenzior a60c4df143 ifxmodem: Remove unneeded code 2011-06-06 18:06:10 -05:00
Denis Kenzior 1aaa5da906 ifxmodem: Fix minor style issue 2011-06-06 18:04:26 -05:00
Jeevaka Badrappan 377a512375 ifxmodem: emergency number list support 2011-06-06 17:57:58 -05:00
Bernhard Guillon 128f96d097 network-registration.c: add telit support
*add support for CIND=? tokens like ("signal",(0-7,99))
*add telit quirk for token encapsulation e.g.
    (("one",(0-7,99)),("two",(0-7,99)))
2011-06-06 17:50:03 -05:00
Bernhard Guillon a805d955b3 atmodem/vendor.h: add OFONO_VENDOR_TELIT 2011-06-06 17:50:03 -05:00
Denis Kenzior 6d5b7d0bff cdmamodem: Update to the new GAtPPP API 2011-05-24 12:25:08 -05:00
Denis Kenzior 17deacbfff atmodem: Update to new GAtPPP api 2011-05-24 12:25:08 -05:00
Denis Kenzior e40d6d708f ussd: Fix use of non-cloned gatchat object 2011-04-18 09:46:20 -05:00
Aki Niemi 0b627c8e1e isimodem: Add SCA support to wgmodem2.5 driver 2011-04-14 15:30:24 +03:00
Aki Niemi 27046f9505 isimodem: Refactor sms driver 2011-04-14 15:30:23 +03:00
Aki Niemi 64100070c7 isimodem: Use constants where possible 2011-04-14 15:30:23 +03:00
Aki Niemi 57f8f3ef1d isimodem: Fix message sending in SMS driver
The same enum name SMS_ROUTE_DEFAULT has different constants in
different modem API versions. This was causing "invalid parameter"
errors with some modems.
2011-04-14 15:30:23 +03:00
Aki Niemi 5d7b355ca2 isimodem: Fix macro to be safer to use 2011-04-14 15:30:23 +03:00
Aki Niemi 6c8f1d059a isimodem: Add reahcbility check for CBS driver 2011-04-14 15:30:23 +03:00
Pekka Pessi 60918dd3f2 isimodem: fix call_create_resp handling
In case of call creation failure modem may return a valid call id in
order to send CALL_SERVICE_DENIED_IND which we do not handle.

Fixes MeeGo bug#15855.
2011-04-12 20:39:19 +03:00
Aki Niemi c33853ecf3 isimodem: Update SMS driver for wgmodem2.5
Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-04-12 20:39:19 +03:00
Aki Niemi b62a01eae4 isimodem: Remove split voicecall driver
Only a single driver created, with two clients checked for
reachability in parallel.
2011-04-12 20:39:18 +03:00
Aki Niemi 74dbe2da99 isimodem: Add helper macros for 16/32bit values 2011-04-12 20:39:18 +03:00
Aki Niemi e17da972e2 isimodem: Rename resource debug macro 2011-04-12 20:39:18 +03:00
Aki Niemi 638b55f584 isimodem: Add helper macro for version checking 2011-04-12 20:39:18 +03:00
Aki Niemi 61df8b3474 isimodem: Indent and add missing codepoints
In addition, renaming some wgmodem2.5-specific subblocks so that they
use the same names as most recent on-line documentation.
2011-04-12 20:39:18 +03:00
Arun Ravindran b8b03a2da6 isimodem: Fix hangup for hold initiated calls 2011-04-07 11:01:29 +03:00
Arun Ravindran c2b3d39566 isimodem: Fix false reporting of active call state 2011-04-07 10:59:18 +03:00
Aki Niemi 9ddc98cd2f isimodem: Add missing PN_MODEM_* debugs 2011-04-07 10:45:55 +03:00
Aki Niemi b10750976e isimodem: Move common debugs to a single place 2011-04-07 10:44:58 +03:00
Aki Niemi a9fd4838a6 isimodem: Refactor netreg driver probing
Go back to using a single driver instance, with concurrent
reachability checks of both possible resources.
2011-04-07 09:40:07 +03:00
Aki Niemi 0308190eb6 isimodem: Add missing debugs to info resources 2011-04-07 09:35:10 +03:00
Mika Liljeberg fdc711c607 isimodem: fix operator name reading for old modems 2011-03-31 10:26:21 -05:00
Mika Liljeberg c9a5b5143c isimodem: remove atoms that fail to probe 2011-03-31 10:22:22 -05:00
Mika Liljeberg 2e444d1a51 atmodem: remove redundant code 2011-03-30 12:34:39 -05:00
Olivier Guiter 66705784f8 gnss: fix broken build 2011-03-29 10:03:12 -05:00
Denis Kenzior 819e39a791 gnss: Disable piecemeal CPOSR reporting 2011-03-28 18:06:59 -05:00
Denis Kenzior 3899056800 gnss: Minor style fix 2011-03-28 18:06:59 -05:00
Jarko Poutiainen acf687e216 atmodem: add gnss driver 2011-03-28 18:06:59 -05:00
Aki Niemi 28ab3db004 isimodem: Fix indentation in SIM driver 2011-03-24 14:56:48 +02:00
Pekka Pessi 2b857d068b isimodem/sim: added PIN and SIM state handling
Using PN_SECURITY resource to obtain PIN statuses.

Using ofono_sim_ready_notify() aka __ofono_sim_recheck_pin() to report
the ready state.
2011-03-24 14:51:16 +02:00
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