Commit Graph

3462 Commits

Author SHA1 Message Date
Marcel Holtmann 5879048ee4 test: Add script for answering incoming calls 2010-09-26 23:25:20 +09:00
Marcel Holtmann 83dfa92ac1 tools: Add simple voice routing to Huawei audio utility 2010-09-26 23:12:53 +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 290c1e764a tools: Update Huawei audio utility with call tracking 2010-09-26 21:40:08 +09:00
Marcel Holtmann cf7f4e347e tools: Add skeleton for Huawei audio utility 2010-09-26 17:54:50 +09:00
Marcel Holtmann eeeeb11cba unit: Fix some copyright and license headers 2010-09-26 17:49:19 +09:00
Marcel Holtmann 007f6de0c6 udev: Print error when udev support is not available and not disabled 2010-09-26 17:35:26 +09:00
Marcel Holtmann 3dbfa4a7b4 gatchat: Hook up g_at_mux_set_debug to print debug messages for real 2010-09-26 17:25:27 +09:00
Marcel Holtmann 592f927495 ifx: Add warning for unknown SIM states 2010-09-26 17:09:25 +09:00
Marcel Holtmann f5eaf8a3fb ifx: Allow +XSIM notification to arrive during AT+XSIMSTATE=1
When not using none_prefix for matching the responses of AT+XSIMSTATE
call, it will consume all notifications. And this includes the initial
SIM state that the modem sends at that point. Without this notification
the SIM will never be marked as inserted.
2010-09-25 14:20:32 +09:00
Marcel Holtmann 1267247f5e ifx: Use internal mutliplexer if line discipline is not specified
If there is no line discipline specified for a kernel based multiplexer,
then fallback to the internal one.
2010-09-25 14:09:40 +09:00
Marcel Holtmann dcbceb249d ifx: Use multiplexer line discipline configuration option
Since the udev support allows to specify a line discipline number as
part of the modem configuration, use that one and report and error if
it has not been set.
2010-09-25 13:21:53 +09:00
Marcel Holtmann d0adc058c4 udev: Add support for setting IFX multiplexer line discipline
The IFX modem plugin uses a kernel based multiplexer. And to support
different line discipline numbers on different target platforms, allow
them to be specified as option:

KERNEL=="ttyIFX[0-9]*", ENV{OFONO_DRIVER}="ifx", ENV{OFONO_IFX_LDISC}="23"

The extra OFONO_IFX_LDISC option specifies to use line discipline 23
for the multiplexer setup. The number is just an example here and the
correct one will be different.
2010-09-25 13:12:36 +09:00
Marcel Holtmann 2a62e28659 ifx: Use SIM state notification for SIM insertion and removal
The +XSIM notifies us about missing or removed SIM. Use that for telling
the core if a SIM card is present or not. Besides that all other states
are treated as when a SIM card got inserted.
2010-09-25 11:49:00 +09: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 08f0ce6772 ifx: Add support for multiplexer setup
This supports a simple static multiplexer that is activated with setting
the line discipline 23 on the TTY. It is static, because the DLC numbers
are hardcoded.
2010-09-24 22:28:49 +09:00
Marcel Holtmann 12c846637d ifx: Add initial modem plugin implementation
This is a first attempt at the Infineon modem support. The support
is limited since it doesn't handle the setup of the multiplexer or
the different SIM states yet.
2010-09-24 18:32:06 +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
Marcel Holtmann 12bfc932f9 calypso: Fix debug for modem callbacks 2010-09-24 14:45:31 +09:00
Marcel Holtmann 69a6323633 calypsomodem: Use better debug strings for DLCs 2010-09-24 14:37:42 +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
Marcel Holtmann be1912fe9c Make debug handling with OFONO_AT_DEBUG a bit more consistent 2010-09-24 14:14:04 +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 df0a431a41 stk: Fix missing inlude for encode_hex_own_buf 2010-09-24 09:37:14 +09:00
Pekka Pessi 3a7e20cc4c TODO: Mark GPRS suspend event task as done 2010-09-23 13:21:06 -05:00
Denis Kenzior a69ae76207 stk: Add skeleton Refresh handler 2010-09-23 13:17:40 -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