Commit Graph

497 Commits

Author SHA1 Message Date
Pekka Pessi ade674158c Fix: simplify isimodem call-barring driver.
Add support for lock codes AG and AC (MMI codes 333 and 353,
respectively). Use decimal MMI codes in <ss.h>.
2010-03-29 15:38:22 -05:00
Denis Kenzior 022359ba72 Style: braces are not needed 2010-03-29 00:18:04 -05:00
Denis Kenzior 1fb6801672 Fix: Use tech reported by MBM erinfo 2010-03-29 00:09:10 -05:00
Denis Kenzior 5780fdb51f Fix: Handle 2 and 3 argument versions of ERINFO 2010-03-28 23:58:37 -05:00
Denis Kenzior 21dd4f040a Move erinfo notify to atmodem netreg driver 2010-03-28 23:49:57 -05:00
Denis Kenzior 8b33129bac Add phonesim vendor quirk 2010-03-26 23:00:28 -05:00
Denis Kenzior d994ed1111 Add mbm vendor 2010-03-26 23:00:28 -05:00
Denis Kenzior 14f296075e Refactor: Use CIND as default strength reporting
Many vendors seem to use CIND instead of CSQ / proprietary extensions.
2010-03-26 23:00:28 -05:00
Denis Kenzior 36a8801115 Update atmodem gprs driver to the new API 2010-03-26 23:00:28 -05:00
Denis Kenzior 92beff2839 Update ISI radio settings driver to the new API 2010-03-25 10:43:17 -05:00
Zhenhua Zhang 00262e36db Fix Don't check CLIR CUG option in hfp_dial
For HFP call, no need to check CLIR & CUG option. It doesn't affect dial
out string.
2010-03-09 10:33:13 -06:00
Denis Kenzior 766a0bcfa5 Fix: Unregistering the agent in disable is wrong
What we really want to do here is set a flag that the agent has not been
released yet.  If this is the case we should send the Disconnect call on
disable.
2010-02-12 20:10:29 -06:00
Denis Kenzior 813470a025 Fix: memory leak 2010-02-10 16:41:31 -06:00
Aki Niemi d12e1a8b9e Add isimodem USSD implementation 2010-02-09 23:15:52 +02:00
Aki Niemi 7001e7b163 Add USSD codepoints and debugging 2010-02-09 22:50:38 +02:00
Denis Kenzior 6d28f82dc1 Add Wavecom's quirky CPIN handling 2010-02-08 16:13:43 -06:00
Denis Kenzior c98b951fe6 Refactor: Remove atutil dump_response
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior 7f9a9b0cdc Fix: Don't use ofono_debug directly in plugins 2010-02-08 12:09:01 -06:00
Denis Kenzior bfeef21a9d Fix: Send *EIAAUW after CGDCONT for STE and MBM
Otherwise the EIAAUW might fail.
2010-02-05 12:20:45 -06:00
Denis Kenzior 8268c4fe62 Fix: Use snprintf instead of sprintf in hsomodem 2010-02-05 12:01:59 -06:00
Denis Kenzior 37088e19f0 Fix: Use snprintf instead of sprintf in mbmmodem 2010-02-05 12:01:45 -06:00
Denis Kenzior 098bc04347 Fix: Use snprintf instead of sprintf in calypso 2010-02-05 12:01:27 -06:00
Denis Kenzior ced9692361 Fix: Use snprintf instead of sprintf in stemodem 2010-02-05 12:01:13 -06:00
Denis Kenzior d223243913 Fix: Use snprintf instead of sprintf in HFP 2010-02-05 12:00:14 -06:00
Denis Kenzior 1721f81fe9 Fix: Use snprintf instead of sprintf in atmodem 2010-02-05 11:59:24 -06:00
Aki Niemi dfab0764da Add isimodem radio settings driver 2010-02-04 23:43:18 +02:00
Aki Niemi bf6195f0c2 Add PN_GSS codepoints and debugging 2010-02-04 23:43:18 +02:00
Denis Kenzior 5a6bbd113d Cleanup: Refactor handling of failed connections 2010-02-04 13:49:36 -06:00
Denis Kenzior c9b80a73c1 Fix: Don't send undefined values to the core 2010-02-04 00:26:20 -06:00
Denis Kenzior d3c2535fae Fix: Dead Assignments 2010-02-04 00:14:49 -06:00
Aki Niemi 0a28c46bf7 Fix debug dump and unknown codepoint handling 2010-02-02 22:39:33 +02:00
Denis Kenzior ae25d1e910 Fix: Ignore CBM pdus bigger than 88 bytes 2010-02-02 11:13:22 -06:00
Marcel Holtmann 7d7a61f933 Fix some leftover oudated copyrights 2010-01-28 22:10:51 +01:00
Denis Kenzior 7b2b548d8d Fix: Update copyright notice for 2010 2010-01-28 15:08:24 -06:00
Denis Kenzior 586003ba52 Style: Various whitespace issues 2010-01-28 15:08:24 -06:00
Denis Kenzior 337b0367ee Style: Put voicecall before gprs 2010-01-28 15:08:23 -06:00
Sjur Brændeland ddd5582a54 Add STE voice call support. 2010-01-28 15:08:23 -06:00
Marcel Holtmann 5431aeea0d The AF_CAIF constant is more like to be 37 than 28 2010-01-28 11:28:38 +01:00
Gustavo F. Padovan ac6672e9b3 Add HFP support through BlueZ
It uses BlueZ through to get HFP working following the
org.bluez.HandsfreeGateway and org.bluez.HandsfreeAgent from
the BlueZ D-Bus API.

You need the HFP suport into BlueZ and the new D-Bus 1.3 or
later with fd-passing support.

Many thanks to Zhenhua Zhang <zhenhua.zhang@intel.com> for its
prototype on this code.
2010-01-27 21:18:07 +01:00
Denis Kenzior 5e94e2bad8 Fix: Remove username/password elements
The reason for this is twofold.  First the current code actually leaks
memory since it uses g_strdup on username/password and never frees it
anywhere.  Second the username/password command can just be sent inside
activate_primary, no reason to do it in the callback.

The fix removes the username / password structure members and moves the
AT*EIAAUW handling to activate_primary.  This is almost exactly like the
username / password / context definition for MBM modems.
2010-01-27 13:59:05 -06:00
Denis Kenzior dda8b972ba Style: Couple more fixes 2010-01-27 13:46:12 -06:00
Denis Kenzior b52a6e60c7 Fix: Remove pointless error labels 2010-01-27 12:57:16 -06:00
Denis Kenzior 8e07c9c5d8 Style: Various indentation and spacing issues 2010-01-27 12:53:49 -06:00
Denis Kenzior 083e448fa5 Style: No space after function name 2010-01-27 12:41:49 -06:00
Denis Kenzior 09afdaa19e Style: Use proper comment formatting 2010-01-27 12:38:27 -06:00
Denis Kenzior 081c7a3138 Style: Don't use underscore 2010-01-27 12:33:11 -06:00
Sjur Brændeland b0106d1225 Add STE modem support for GPRS PDP Contexts 2010-01-27 12:16:43 -06:00
Marcel Holtmann b334372ef8 Remove unused declarations 2010-01-25 21:22:32 +01:00
Sjur Brændeland cb264e3b81 Add CAIF header files in drivers/stemodem/
These should go away when CAIF is part of Linux kernel.
2010-01-25 20:58:26 +01:00
Sjur Brændeland fd73261cd5 Add STE modem driver definition 2010-01-25 20:56:26 +01:00
Sjur Brændeland 040e799665 Add STE modem support for GPRS and network registration 2010-01-25 20:55:10 +01:00
Sjur Brændeland c664f80f22 Add at_util_call_compare_by_id function 2010-01-25 20:53:57 +01:00
Denis Kenzior 445fc378b5 Fix: Support devices with CSCB mode 0 only
MBM devices do not support CSCB mode 1 (remove topics).  It is thus
necessary to use mode 0 and sending an empty topic list in order to turn
off all topics.  This patch will first query the CSCB modes supported by
the hardware.  If mode 1 is supported, then the old behavior is used,
otherwise the new behavior is used.
2010-01-20 22:07:51 -06:00
Denis Kenzior 652825eb71 Style: Don't go over 80 characters per line 2010-01-20 10:14:01 -06:00
Jussi Kukkonen ebe8904f39 Add quirk for cid and lac handling for Huawei 2010-01-20 10:09:54 -06:00
Aki Niemi 8fe8220b23 Refactor phonebook driver 2010-01-14 10:33:48 +02:00
Aki Niemi 65ce05d37a Refactor supplementary service drivers 2010-01-14 10:33:48 +02:00
Aki Niemi 5a1a5905d4 Refactor SIM driver 2010-01-14 10:33:47 +02:00
Aki Niemi e1548d2730 Refactor CBS driver 2010-01-14 10:32:57 +02:00
Aki Niemi 85df7a952a Clean up style issues 2010-01-14 10:32:56 +02:00
Aki Niemi 04a3c6cb09 Fix cell ID and LAC values 2010-01-14 10:31:13 +02:00
Denis Kenzior 67e5efe7b3 Style: Extraneous space 2010-01-12 17:54:38 -06:00
Denis Kenzior 1b07274de8 Style: space after function argument comma pair 2010-01-12 17:54:38 -06:00
Denis Kenzior 2cde0841aa Style: Should be a space after if 2010-01-12 17:54:37 -06:00
Denis Kenzior 9bed04ca2f Style: Trailing whitespace & extra lines 2010-01-12 17:54:37 -06:00
Aki Niemi 63c2dd93b0 Refactor devinfo driver 2010-01-11 10:52:07 +02:00
Aki Niemi 0c7a15b2bd Add support for modem control
This adds support to the PN_MTC server, allowing querying and control
of the modem power state.
2010-01-11 10:52:07 +02:00
Aki Niemi 862358b916 Refactor netreg driver 2010-01-11 10:51:01 +02:00
Aki Niemi b412c1b3e7 Refactor voicecall driver 2010-01-11 10:51:01 +02:00
Aki Niemi e55e324a94 Refactor phonebook driver 2010-01-11 10:51:01 +02:00
Aki Niemi d277e0eb73 User new debug facility 2010-01-11 10:51:01 +02:00
Aki Niemi 5f87037cc3 Include renamed files 2010-01-11 10:51:00 +02:00
Aki Niemi 0bc615eead Remove contact from boilerplate 2010-01-11 10:51:00 +02:00
Aki Niemi d0b3e3b211 Add debug implementation
Alsoo remove call specific debugs.
2010-01-11 10:51:00 +02:00
Aki Niemi c03cdaed9a Split ISI codepoints to separate files
Also, adding infrastructure for debugging ISI messages, with APIs for
turning most common fields into human readable string format.
2010-01-11 10:51:00 +02:00
Aki Niemi 06afe598f5 Split isi.h into isimodem.h and isiutil.h 2010-01-11 10:51:00 +02:00
Denis Kenzior d2b46cde6d Port isimodem to the new framework 2010-01-06 15:50:41 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Martin Xu 3947638941 Add netmask to HSO GPRS context driver 2009-12-30 00:47:17 -08:00
Rémi Denis-Courmont bc6c4adcac gisi: pass object handle to g_isi_verify() callback
This will be needed for GPDS.
2009-12-18 15:59:17 +02:00
Denis Kenzior 6cb038fafb Style: Repeat for drivers 2009-12-17 21:45:40 -06:00
Denis Kenzior 79c0d4c779 Fix: The extra 00 at the end isn't necessary 2009-12-17 21:45:39 -06:00
Denis Kenzior f74b300a49 Fix: Use capitals for hex-encoded pdus 2009-12-17 21:45:38 -06:00
Denis Kenzior 5fb5a2ceea Fix: Make sure we don't leak under any conditions 2009-12-17 21:45:38 -06:00
Denis Kenzior b1cc0bc184 Simplify previous patch 2009-12-17 21:45:38 -06:00
Denis Kenzior e27508f71a Implementat SIM envelope in atmodem driver 2009-12-17 21:45:38 -06:00
Martin Xu c44fee2399 Fix: Set netmask for static ip on mbm 2009-12-16 13:20:26 -06:00
Marcel Holtmann b939d5e8d7 Activate Speech Service for Option devices 2009-12-10 02:56:16 +01:00
Marcel Holtmann 7546557469 Query current state of Option specific settings 2009-12-10 02:55:53 +01:00
Denis Kenzior 62ba3b30d2 Use at_util_parse_reg in netreg driver 2009-12-09 12:50:52 -06:00
Denis Kenzior fe02d6bc45 Use new at_util_parse_reg in gprs driver 2009-12-09 12:50:22 -06:00
Denis Kenzior 66d1e90814 Add utilities to parse CREG/CGREG
These are nearly identical and can be shared between gprs/netreg
2009-12-09 12:49:43 -06:00
Denis Kenzior 2297bc926d Style: Fix some remaining style issues in atmodem 2009-12-09 02:46:33 -06:00
Denis Kenzior b95025ab01 Style: Fix style issues in hfpmodem 2009-12-09 02:41:16 -06:00
Zhenhua Zhang aeaf9b4a55 Add clip_timeout for notify incoming call
Schedule a clip_timeout in the ring notify. If CLIP comes right
after RING, we cancel the timer. If doesn't, we notify the call
without phone number.
2009-12-09 02:37:07 -06:00
Zhenhua Zhang c7902b83e6 Add poll_clcc if we are in multiparty call
If we are in multiparty call, remote AG won't update indicator
if any call in multiparty call is released by CHLD=1x. So we
have to poll it periodically.
2009-12-09 02:37:02 -06:00
Zhenhua Zhang 7f9e4038a2 Add multiparty call support for hfpmodem
Add CHLD=3, 2x and 4 to create multiparty call, private chat and
call transfer.
2009-12-09 02:36:43 -06:00
Zhenhua Zhang 5dbb2f424a Add hfp_release_specific to release specific call
Use AT+CHLD=1x to release a specific call if AG supports that.
2009-12-09 02:36:28 -06:00
Denis Kenzior e049862b51 Style: Remove empty line 2009-12-08 22:17:51 -06:00
Zhenhua Zhang bd81a13493 Fix update hfp_hangup to release active call
In HFP, AT+CHUP is intended to release the current active call.
2009-12-08 04:29:14 -06:00