Commit Graph

1347 Commits

Author SHA1 Message Date
Syam Sidhardhan 31db8836a6 isimodem: Remove extra bogus semicolon 2011-12-28 16:00:39 -06:00
Marcel Holtmann 2e0f1f79c1 atmodem: Add support for Option HSO specific PIN retry counters 2011-12-29 12:08:38 -08:00
Christopher Vogl 750658f23f telit: use CIND "rssi" indicator instead of "signal"
"signal" indicator permanently reports 99 (not measurable).
2011-12-15 22:37:10 -06:00
Philippe Nunes f960c954e4 huaweicdmamodem: Fix sysinfo parsing
In practice, the service domain is set to 255 (cdma not supported)
with an EV-DO capable hardware.
2011-12-09 06:12:56 -06:00
Denis Kenzior ef732d0c18 cdma-connman: Turn off modem dormancy timeouts 2011-12-09 05:35:48 -06:00
Guillaume Zajac 801f97ddf6 cdma-connman: Support Huawei dormant notifications 2011-12-08 06:22:59 -06:00
Guillaume Zajac dcd1730c3a huaweicdma: Add data strength notification support 2011-12-07 09:55:28 -06:00
Guillaume Zajac 7fd5c92036 cdmamodem: Notify when connection is lost 2011-11-04 15:14:10 -05:00
Mikel Astiz 3f41ebe5c7 hfpmodem: Report features supported by AG 2011-10-21 13:56:43 -05:00
Mikel Astiz bab9de3843 hfpmodem: devinfo atom added to export BT address 2011-10-21 13:19:17 -05:00
Mikel Astiz 7100435142 hfpmodem: Avoid segfault in handsfree
The use of g_idle_add can cause a segmentation fault if the object is
destroyed in the meantime.
2011-10-21 13:17:40 -05:00
Mikel Astiz 6e5edc8ead hfpmodem: Avoid segfault in call-volume
The use of g_idle_add can cause a segmentation fault if the object is
destroyed in the meantime.
2011-10-21 13:17:17 -05:00
Mikel Astiz c1ed32db9d hfpmodem: Avoid segfault in network-registration
The use of g_idle_add can cause a segmentation fault if the object is
destroyed in the meantime.
2011-10-21 13:17:13 -05:00
Mikel Astiz bb0bcef256 hfpmodem: Support for AT+BVRA 2011-10-21 13:14:19 -05:00
Mikel Astiz 2cafaeed13 hfpmodem: minor whitespace fix 2011-10-20 12:57:36 -05:00
Mikel Astiz 813405500b hfpmodem: Support for +BSIR unsolicited responses 2011-10-20 12:53:34 -05:00
Marcel Holtmann 48190bdc11 drivers: Some more copyright fixes 2011-10-15 12:21:30 -07:00
Denis Kenzior 066690b17f handsfree: Pass the error information to the core
if available.  This is the preferred way, so that the core can take into
account the error information in the future if required.
2011-10-13 13:47:56 -05:00
Mikel Astiz 86cb93d410 hfpmodem: Support of number requests (AT+BINP=1) 2011-10-13 13:37:12 -05:00
Denis Kenzior 9a53aca0ab handsfree: Set in-band ringing before registering
Avoid an extra signal emission
2011-10-13 13:06:35 -05:00
Mikel Astiz f05a78a450 hfpmodem: Set initial state for inband ringing
According to the HFP specification, inband ringing will be enabled by
default if the AG supports it. This setting could later be changed by
the unsolicited result code +BSIR.
2011-10-13 13:01:14 -05:00
Mikel Astiz eb361d874c hfpmodem: Copyright statement correction 2011-10-13 12:27:27 -05:00
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Marcel Holtmann 98afba784d atmodem: Use ZTE specific vendor quirk for SMS support 2011-10-06 15:30:14 -07:00
Denis Kenzior 586a2a294a call-volume: Use g_idle_add to register 2011-09-09 01:05:47 -05:00
Mikel Astiz 7d5b57e47c hfpmodem: Add skeleton driver implemenetation 2011-09-09 00:30:14 -05:00
Aki Niemi 059a5c80f7 isimodem: Add UICC functionality
Based on patches from:
Iiro Kaihlaniemi <iiro.kaihlaniemi@nokia.com>
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-08-29 14:32:45 +03:00
Iiro Kaihlaniemi 1542b6f928 isimodem: Add UICC utilities 2011-08-29 14:32:43 +03:00
Iiro Kaihlaniemi 5acb0a8d7e isimodem: Allow network registration automatically 2011-08-29 14:32:43 +03:00
Iiro Kaihlaniemi ee92dedf28 isimodem: Add missing codepoints and debugs 2011-08-29 14:32:42 +03:00
Denis Kenzior 7893cc3ef2 stk: Use phonesim vendor for modem-handled cmds 2011-08-14 22:56:45 -05:00
Denis Kenzior f800764559 stk: Rewrite generic driver to use 27.007 commands 2011-08-14 22:56:45 -05:00
Denis Kenzior 9fb9d2385c sim-poll: Remove unused code 2011-08-14 22:56:45 -05:00
Marcel Holtmann be747df578 atmodem: Samsung devices do not support CIND signal strength reporting 2011-08-09 16:50:29 -07:00
Bertrand Aygon 786bcf70e2 huaweicdma: Implement 1X signal strength updates 2011-08-09 13:02:21 -05:00
Denis Kenzior 8b106baeb3 huaweicdmamodem: Use a more common boolean pattern 2011-08-09 13:00:56 -05:00
Bertrand Aygon 60ee930676 huaweicdma: Add netreg driver implementation 2011-08-09 12:58:15 -05:00
Denis Kenzior 266501b7f4 voicecall: Fix minor whitespace issue 2011-08-09 12:55:45 -05:00
Denis Kenzior 6b5761f5f0 hfpmodem: Use an enum 2011-08-08 10:16:21 -05:00
Frédéric Danis b8730eb47d hfpmodem: fix hf features
check audio gateway version and only set right features
2011-08-08 10:16:21 -05:00
Marcel Holtmann 98baf8c482 atmodem: Add vendor quirk entry for Samsung devices 2011-08-07 17:28:33 +02:00
Frédéric Dalleau f13b3d3a6b hfpmodem: Fix g_at_chat leak 2011-08-05 17:02:36 -05:00
Marcel Holtmann 63e8118eee atmodem: Add funny ZTE quirk for GPRS context support 2011-08-05 22:50:21 +02:00
Bertrand Aygon a3b0acd813 huaweicdmamodem: Add stub implementation 2011-08-05 10:48:49 -05:00
Marcel Holtmann caaff33422 atmodem: Add support for handling GPRS context vendor quirks 2011-08-05 17:59:55 +02:00
Marcel Holtmann 703d0a1237 speedup: Add support for retrieving PIN retry counters 2011-08-04 17:00:05 +02:00
Marcel Holtmann 4c8ae3f9ec atmodem: Add Speedup vendor quirk to SIM file reading 2011-08-04 15:54:26 +02:00
Marcel Holtmann 45e3dc1b3e atmodem: Add support for ZTE technology reporting 2011-08-04 00:39:29 +02:00
Marcel Holtmann 5b7d2329dc atmodem: Enable support for PIN retry counters of ZTE modems 2011-08-03 23:54:39 +02:00
Marcel Holtmann eea276a0a8 atmodem: Enable timezone reporting for ZTE modems 2011-08-03 23:26:53 +02:00
Marcel Holtmann 39ba2e7bcc atmodem: The ZTE dongles send LAC and CI as unquoted strings 2011-08-03 23:13:11 +02:00
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
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