platform/upstream/ofono.git
13 years agodoc: Add PushNotification & PushNotificationAgent
Denis Kenzior [Wed, 29 Sep 2010 00:22:34 +0000 (19:22 -0500)]
doc: Add PushNotification & PushNotificationAgent

13 years agodoc: Add Release() to SmartMessagingAgent API
Denis Kenzior [Wed, 29 Sep 2010 00:22:13 +0000 (19:22 -0500)]
doc: Add Release() to SmartMessagingAgent API

13 years agoatmodem: Remove quirk for Huawei voice call support
Marcel Holtmann [Tue, 28 Sep 2010 23:32:23 +0000 (08:32 +0900)]
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.

13 years agotest: Add script for hanging up active call
Marcel Holtmann [Tue, 28 Sep 2010 23:08:09 +0000 (08:08 +0900)]
test: Add script for hanging up active call

13 years agohuaweimodem: Implement hangup_active callback and not hangup_all
Marcel Holtmann [Tue, 28 Sep 2010 23:05:41 +0000 (08:05 +0900)]
huaweimodem: Implement hangup_active callback and not hangup_all

13 years agoifx: Add support for audio configuration of modem
Marcel Holtmann [Tue, 28 Sep 2010 22:41:01 +0000 (07:41 +0900)]
ifx: Add support for audio configuration of modem

For the XMM6260 Infineon modem it is possible to use different audio
configuration depending on your platform. Currently the setup of
FULL_DUPLEX, BURSTMODE_48KHZ and BURSTMODE_96KHZ are supported. If
appropiate values for OFONO_IFX_MODEL and OFONO_IFX_AUDIO are set
in the udev rules file, then the audio configuration will be changed
when bringing up the modem.

13 years agoudev: Add support for setting IFX audio configuration
Marcel Holtmann [Tue, 28 Sep 2010 22:34:22 +0000 (07:34 +0900)]
udev: Add support for setting IFX audio configuration

This adds three more extra configuration options for IFX specific
hardware setups. They are OFONO_IFX_MODEL, OFONO_IFX_AUDIO and also
OFONO_IFX_LOOPBACK.

An example usage would be like this:

ENV{OFONO_IFX_MODEL}="XMM6260", ENV{OFONO_IFX_AUDIO}="FULL_DUPLEX"

The actual supported values are not defined by the IFX modem
detection code. This is up to the modem plugin to change behavior
if needed.

13 years agovoicecall: Set single_call correctly
Denis Kenzior [Tue, 28 Sep 2010 21:59:15 +0000 (16:59 -0500)]
voicecall: Set single_call correctly

13 years agoifx: ifx_chup should send a +CHUP
Denis Kenzior [Tue, 28 Sep 2010 21:39:58 +0000 (16:39 -0500)]
ifx: ifx_chup should send a +CHUP

13 years agodoc: Add proposed SmartMessaging API
Denis Kenzior [Tue, 28 Sep 2010 07:30:23 +0000 (02:30 -0500)]
doc: Add proposed SmartMessaging API

13 years agoRelease 0.30 0.30
Marcel Holtmann [Tue, 28 Sep 2010 00:31:09 +0000 (09:31 +0900)]
Release 0.30

13 years agohso: Fix the username and password order
Denis Kenzior [Tue, 28 Sep 2010 00:28:19 +0000 (19:28 -0500)]
hso: Fix the username and password order

QCPDPP apparently takes the password first, then username

13 years agotest: Add simple script to set APN, username and password
Marcel Holtmann [Tue, 28 Sep 2010 00:12:17 +0000 (09:12 +0900)]
test: Add simple script to set APN, username and password

13 years agoAUTHORS: Mention Frank's contributions
Denis Kenzior [Tue, 28 Sep 2010 00:09:31 +0000 (19:09 -0500)]
AUTHORS: Mention Frank's contributions

13 years agosms: Fix 8bit port handling
Aki Niemi [Mon, 27 Sep 2010 15:45:06 +0000 (18:45 +0300)]
sms: Fix 8bit port handling

13 years agocalypso: update power and reset path
Frank Gau [Mon, 27 Sep 2010 14:05:14 +0000 (16:05 +0200)]
calypso: update power and reset path

13 years agoifxmodem: Enable audio related progress information
Marcel Holtmann [Mon, 27 Sep 2010 14:31:28 +0000 (23:31 +0900)]
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.

13 years agoisimodem: Return success on topic set/clear
Aki Niemi [Mon, 27 Sep 2010 12:50:07 +0000 (15:50 +0300)]
isimodem: Return success on topic set/clear

The isimodem driver accepts all topics by default.

13 years agoisimodem: Fix CBS decoding
Aki Niemi [Mon, 27 Sep 2010 12:49:16 +0000 (15:49 +0300)]
isimodem: Fix CBS decoding

13 years agohuaweimodem: Handle option parameter on call end notification
Marcel Holtmann [Mon, 27 Sep 2010 08:25:43 +0000 (17:25 +0900)]
huaweimodem: Handle option parameter on call end notification

13 years agohuawei: Use specific voice call atom driver
Marcel Holtmann [Mon, 27 Sep 2010 03:44:09 +0000 (12:44 +0900)]
huawei: Use specific voice call atom driver

13 years agohuawei: Only notify for voice calls
Denis Kenzior [Mon, 27 Sep 2010 03:44:01 +0000 (22:44 -0500)]
huawei: Only notify for voice calls

13 years agohuawei: Track alerting state
Denis Kenzior [Mon, 27 Sep 2010 03:36:00 +0000 (22:36 -0500)]
huawei: Track alerting state

13 years agohuawei: Track outgoing calls
Denis Kenzior [Mon, 27 Sep 2010 03:34:24 +0000 (22:34 -0500)]
huawei: Track outgoing calls

13 years agohuawei: Notify the core on connect and end call
Denis Kenzior [Mon, 27 Sep 2010 03:16:29 +0000 (22:16 -0500)]
huawei: Notify the core on connect and end call

13 years agoss: Use function to judge if it's busy
Yang Gu [Tue, 21 Sep 2010 10:21:17 +0000 (18:21 +0800)]
ss: Use function to judge if it's busy

13 years agohuaweimodem: Add voice call creation support
Marcel Holtmann [Sun, 26 Sep 2010 23:46:15 +0000 (08:46 +0900)]
huaweimodem: Add voice call creation support

13 years agocalypsomodem: Some cleanups in voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 23:11:04 +0000 (08:11 +0900)]
calypsomodem: Some cleanups in voice call driver

13 years agostemodem: Some cleanups in voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 23:09:38 +0000 (08:09 +0900)]
stemodem: Some cleanups in voice call driver

13 years agoatmodem: Some cleanups in voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 23:07:02 +0000 (08:07 +0900)]
atmodem: Some cleanups in voice call driver

13 years agoifxmodem: Two more cleanups
Marcel Holtmann [Sun, 26 Sep 2010 23:06:48 +0000 (08:06 +0900)]
ifxmodem: Two more cleanups

13 years agoifxmodem: Some cleanups in voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 23:03:40 +0000 (08:03 +0900)]
ifxmodem: Some cleanups in voice call driver

13 years agoUpdate .gitignore information
Marcel Holtmann [Sun, 26 Sep 2010 15:12:29 +0000 (00:12 +0900)]
Update .gitignore information

13 years agohuaweimodem: Allow GPRS context allocation to fail
Marcel Holtmann [Sun, 26 Sep 2010 15:10:17 +0000 (00:10 +0900)]
huaweimodem: Allow GPRS context allocation to fail

13 years agohuaweimodem: Register for voice call specific notifications
Marcel Holtmann [Sun, 26 Sep 2010 15:07:09 +0000 (00:07 +0900)]
huaweimodem: Register for voice call specific notifications

13 years agohuawei: Move voice call init to post_sim phase
Marcel Holtmann [Sun, 26 Sep 2010 15:05:52 +0000 (00:05 +0900)]
huawei: Move voice call init to post_sim phase

Seems like that making emergency voice calls without SIM present is
not really possible. Move the voice call init to post_sim phase instead.

13 years agohuawei: Remove voice call notifications from modem plugin
Marcel Holtmann [Sun, 26 Sep 2010 15:03:36 +0000 (00:03 +0900)]
huawei: Remove voice call notifications from modem plugin

13 years agohuaweimodem: Add skeleton for simple voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 14:51:27 +0000 (23:51 +0900)]
huaweimodem: Add skeleton for simple voice call driver

13 years agotools: Decode the Multiparty property in Huawei audio utility
Marcel Holtmann [Sun, 26 Sep 2010 14:30:26 +0000 (23:30 +0900)]
tools: Decode the Multiparty property in Huawei audio utility

13 years agotest: Add script for answering incoming calls
Marcel Holtmann [Sun, 26 Sep 2010 14:25:20 +0000 (23:25 +0900)]
test: Add script for answering incoming calls

13 years agotools: Add simple voice routing to Huawei audio utility
Marcel Holtmann [Sun, 26 Sep 2010 14:12:53 +0000 (23:12 +0900)]
tools: Add simple voice routing to Huawei audio utility

13 years agoifxmodem: Make SIM Toolkit envelope submission work
Marcel Holtmann [Sun, 26 Sep 2010 12:47:19 +0000 (21:47 +0900)]
ifxmodem: Make SIM Toolkit envelope submission work

13 years agocalypsomodem: Make SIM Toolkit envelope submission work again
Marcel Holtmann [Sun, 26 Sep 2010 12:45:50 +0000 (21:45 +0900)]
calypsomodem: Make SIM Toolkit envelope submission work again

13 years agombmmodem: Add comment about optional response data back
Marcel Holtmann [Sun, 26 Sep 2010 12:43:57 +0000 (21:43 +0900)]
mbmmodem: Add comment about optional response data back

13 years agoifx: Fix double free issue
Denis Kenzior [Sun, 26 Sep 2010 12:40:34 +0000 (07:40 -0500)]
ifx: Fix double free issue

13 years agombm: Make stk envelope submission work again
Denis Kenzior [Sun, 26 Sep 2010 12:38:48 +0000 (07:38 -0500)]
mbm: Make stk envelope submission work again

13 years agotools: Update Huawei audio utility with call tracking
Marcel Holtmann [Sun, 26 Sep 2010 12:40:08 +0000 (21:40 +0900)]
tools: Update Huawei audio utility with call tracking

13 years agotools: Add skeleton for Huawei audio utility
Marcel Holtmann [Sun, 26 Sep 2010 08:54:50 +0000 (17:54 +0900)]
tools: Add skeleton for Huawei audio utility

13 years agounit: Fix some copyright and license headers
Marcel Holtmann [Sun, 26 Sep 2010 08:49:19 +0000 (17:49 +0900)]
unit: Fix some copyright and license headers

13 years agoudev: Print error when udev support is not available and not disabled
Marcel Holtmann [Sun, 26 Sep 2010 08:35:26 +0000 (17:35 +0900)]
udev: Print error when udev support is not available and not disabled

13 years agogatchat: Hook up g_at_mux_set_debug to print debug messages for real
Marcel Holtmann [Sun, 26 Sep 2010 08:25:27 +0000 (17:25 +0900)]
gatchat: Hook up g_at_mux_set_debug to print debug messages for real

13 years agoifx: Add warning for unknown SIM states
Marcel Holtmann [Sun, 26 Sep 2010 08:09:25 +0000 (17:09 +0900)]
ifx: Add warning for unknown SIM states

13 years agoifx: Allow +XSIM notification to arrive during AT+XSIMSTATE=1
Marcel Holtmann [Sat, 25 Sep 2010 05:20:32 +0000 (14:20 +0900)]
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.

13 years agoifx: Use internal mutliplexer if line discipline is not specified
Marcel Holtmann [Sat, 25 Sep 2010 05:09:40 +0000 (14:09 +0900)]
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.

13 years agoifx: Use multiplexer line discipline configuration option
Marcel Holtmann [Sat, 25 Sep 2010 04:21:53 +0000 (13:21 +0900)]
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.

13 years agoudev: Add support for setting IFX multiplexer line discipline
Marcel Holtmann [Sat, 25 Sep 2010 04:12:36 +0000 (13:12 +0900)]
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.

13 years agoifx: Use SIM state notification for SIM insertion and removal
Marcel Holtmann [Sat, 25 Sep 2010 02:49:00 +0000 (11:49 +0900)]
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.

13 years agoatmodem: Add special handling for Infineon SIM ready state
Marcel Holtmann [Sat, 25 Sep 2010 02:32:40 +0000 (11:32 +0900)]
atmodem: Add special handling for Infineon SIM ready state

13 years agoifxmodem: Fix name of voice call driver
Marcel Holtmann [Sat, 25 Sep 2010 02:29:47 +0000 (11:29 +0900)]
ifxmodem: Fix name of voice call driver

13 years agoifx: Add support for multiplexer setup
Marcel Holtmann [Fri, 24 Sep 2010 13:28:49 +0000 (22:28 +0900)]
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.

13 years agoifx: Add initial modem plugin implementation
Marcel Holtmann [Fri, 24 Sep 2010 09:32:06 +0000 (18:32 +0900)]
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.

13 years agoatmodem: Add support for Infineon CNMA without PDU
Marcel Holtmann [Fri, 24 Sep 2010 09:28:32 +0000 (18:28 +0900)]
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.

13 years agoatmodem: Add special handling of Infineon signal strength reporting
Marcel Holtmann [Fri, 24 Sep 2010 09:23:31 +0000 (18:23 +0900)]
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.

13 years agocalypso: Fix debug for modem callbacks
Marcel Holtmann [Fri, 24 Sep 2010 05:45:31 +0000 (14:45 +0900)]
calypso: Fix debug for modem callbacks

13 years agocalypsomodem: Use better debug strings for DLCs
Marcel Holtmann [Fri, 24 Sep 2010 05:37:13 +0000 (14:37 +0900)]
calypsomodem: Use better debug strings for DLCs

13 years agoifx: Take out the vendor field in voicecall driver
Denis Kenzior [Fri, 24 Sep 2010 05:29:32 +0000 (00:29 -0500)]
ifx: Take out the vendor field in voicecall driver

13 years agoifx: Assume CLIP always arrives
Denis Kenzior [Fri, 24 Sep 2010 05:28:58 +0000 (00:28 -0500)]
ifx: Assume CLIP always arrives

If the CLIP always arrives after a CRING, then we do not ever need to
poll CLCC.

13 years agoifx: Don't bother polling on an ATD
Denis Kenzior [Fri, 24 Sep 2010 05:22:06 +0000 (00:22 -0500)]
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.

13 years agoatmodem: Update comment
Denis Kenzior [Fri, 24 Sep 2010 05:18:16 +0000 (00:18 -0500)]
atmodem: Update comment

13 years agoifxmodem: Reorder voicecall driver before all other
Marcel Holtmann [Fri, 24 Sep 2010 05:16:01 +0000 (14:16 +0900)]
ifxmodem: Reorder voicecall driver before all other

13 years agoMake debug handling with OFONO_AT_DEBUG a bit more consistent
Marcel Holtmann [Fri, 24 Sep 2010 05:14:04 +0000 (14:14 +0900)]
Make debug handling with OFONO_AT_DEBUG a bit more consistent

13 years agoifx: Update comment
Denis Kenzior [Fri, 24 Sep 2010 05:07:57 +0000 (00:07 -0500)]
ifx: Update comment

13 years agoifx: xcallstat should notify active->held
Denis Kenzior [Fri, 24 Sep 2010 05:07:23 +0000 (00:07 -0500)]
ifx: xcallstat should notify active->held

13 years agoifx: Remove a few CLCC polls
Denis Kenzior [Fri, 24 Sep 2010 04:45:05 +0000 (23:45 -0500)]
ifx: Remove a few CLCC polls

Polling here is no longer needed due to XCALLSTAT

13 years agoifx: Don't bother using RING
Denis Kenzior [Fri, 24 Sep 2010 04:26:41 +0000 (23:26 -0500)]
ifx: Don't bother using RING

We enable CRC=1, so only CRING should be sent

13 years agoifx: IFX provides hangup_all and hangup_active
Denis Kenzior [Fri, 24 Sep 2010 03:54:41 +0000 (22:54 -0500)]
ifx: IFX provides hangup_all and hangup_active

13 years agoifx: IFX provides swap_without_accept using CHLD=6
Denis Kenzior [Fri, 24 Sep 2010 03:49:29 +0000 (22:49 -0500)]
ifx: IFX provides swap_without_accept using CHLD=6

13 years agoifx: No need to register to standard notifications
Denis Kenzior [Fri, 24 Sep 2010 03:45:24 +0000 (22:45 -0500)]
ifx: No need to register to standard notifications

XCALLSTAT tells us when a call has been disconnected

13 years agoifx: Use none_prefix on other init commands
Denis Kenzior [Fri, 24 Sep 2010 03:44:39 +0000 (22:44 -0500)]
ifx: Use none_prefix on other init commands

13 years agoifx: Add IFX proprietory XCALLSTAT indicator
Denis Kenzior [Fri, 24 Sep 2010 03:42:40 +0000 (22:42 -0500)]
ifx: Add IFX proprietory XCALLSTAT indicator

13 years agoifx: Copy voicecall driver from atmodem
Denis Kenzior [Fri, 24 Sep 2010 02:56:23 +0000 (21:56 -0500)]
ifx: Copy voicecall driver from atmodem

IFX is a fairly bone stock AT based modem so the atmodem driver is a
good start.

13 years agocalypso: Provide hangup_all and hangup_active
Denis Kenzior [Fri, 24 Sep 2010 02:02:40 +0000 (21:02 -0500)]
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.

13 years agostk: Fix missing inlude for encode_hex_own_buf
Marcel Holtmann [Fri, 24 Sep 2010 00:37:14 +0000 (09:37 +0900)]
stk: Fix missing inlude for encode_hex_own_buf

13 years agoTODO: Mark GPRS suspend event task as done
Pekka Pessi [Thu, 23 Sep 2010 15:11:36 +0000 (18:11 +0300)]
TODO: Mark GPRS suspend event task as done

13 years agostk: Add skeleton Refresh handler
Denis Kenzior [Thu, 23 Sep 2010 18:12:22 +0000 (13:12 -0500)]
stk: Add skeleton Refresh handler

13 years agoatmodem: Add vendor quirk for Infineon modems
Marcel Holtmann [Thu, 23 Sep 2010 17:38:23 +0000 (02:38 +0900)]
atmodem: Add vendor quirk for Infineon modems

13 years agoifxmodem: Fix whitespace corruption
Marcel Holtmann [Thu, 23 Sep 2010 16:32:21 +0000 (01:32 +0900)]
ifxmodem: Fix whitespace corruption

13 years agocalypsomodem: Cleanup of SIM Toolkit support
Marcel Holtmann [Thu, 23 Sep 2010 16:21:10 +0000 (01:21 +0900)]
calypsomodem: Cleanup of SIM Toolkit support

13 years agoifxmodem: Add debug for envelope response data
Marcel Holtmann [Thu, 23 Sep 2010 16:13:22 +0000 (01:13 +0900)]
ifxmodem: Add debug for envelope response data

13 years agombmmodem: Add debug for envelope response data
Marcel Holtmann [Thu, 23 Sep 2010 16:13:01 +0000 (01:13 +0900)]
mbmmodem: Add debug for envelope response data

13 years agombmmodem: Fix small typo
Marcel Holtmann [Thu, 23 Sep 2010 16:07:03 +0000 (01:07 +0900)]
mbmmodem: Fix small typo

13 years agombmmodem: Cleanup of SIM Toolkit support
Marcel Holtmann [Thu, 23 Sep 2010 16:05:26 +0000 (01:05 +0900)]
mbmmodem: Cleanup of SIM Toolkit support

13 years agoifxmodem: Add support for SIM Toolkit (raw mode)
Marcel Holtmann [Thu, 23 Sep 2010 15:59:13 +0000 (00:59 +0900)]
ifxmodem: Add support for SIM Toolkit (raw mode)

13 years agoifxmodem: Add support for radio settings
Marcel Holtmann [Thu, 23 Sep 2010 14:27:08 +0000 (23:27 +0900)]
ifxmodem: Add support for radio settings

13 years agoRelease 0.29 0.29
Marcel Holtmann [Thu, 23 Sep 2010 04:42:39 +0000 (13:42 +0900)]
Release 0.29

13 years agosimfs: Fix freeing a NULL queue
Denis Kenzior [Thu, 23 Sep 2010 03:39:29 +0000 (22:39 -0500)]
simfs: Fix freeing a NULL queue

13 years agounit: Make test-sms less verbose
Denis Kenzior [Wed, 22 Sep 2010 21:32:55 +0000 (16:32 -0500)]
unit: Make test-sms less verbose

13 years agoTODO: Mark status report task as done
Denis Kenzior [Wed, 22 Sep 2010 21:31:54 +0000 (16:31 -0500)]
TODO: Mark status report task as done

13 years agosmsutil: Reflow the fuzzy matching code
Denis Kenzior [Wed, 22 Sep 2010 21:27:30 +0000 (16:27 -0500)]
smsutil: Reflow the fuzzy matching code

Make a bit more readable

13 years agounit: add fuzzy address check to test-sms
Petteri Tikander [Tue, 21 Sep 2010 17:12:05 +0000 (20:12 +0300)]
unit: add fuzzy address check to test-sms