platform/upstream/ofono.git
13 years agosim: Turn around the order of arguments
Denis Kenzior [Mon, 30 Aug 2010 19:29:34 +0000 (14:29 -0500)]
sim: Turn around the order of arguments

The void *user argument was first.  It should be last instead to be
consistent with the other watch functions.

13 years agomodem: Reset unregister when atom is unregistered
Denis Kenzior [Mon, 30 Aug 2010 18:04:15 +0000 (13:04 -0500)]
modem: Reset unregister when atom is unregistered

13 years agomodem: Fix turning off modem in immediate case
Denis Kenzior [Mon, 30 Aug 2010 17:12:13 +0000 (12:12 -0500)]
modem: Fix turning off modem in immediate case

If the driver does not return EINPROGRESS we don't set the modem to the
off state properly

13 years agomodem: minor style fix
Denis Kenzior [Mon, 30 Aug 2010 17:09:38 +0000 (12:09 -0500)]
modem: minor style fix

13 years agombm: D5530 gets bogus +GCAP, not +CGAP
Pekka Pessi [Mon, 30 Aug 2010 13:36:31 +0000 (16:36 +0300)]
mbm: D5530 gets bogus +GCAP, not +CGAP

13 years agovoicecall: Fix crash during cleanup
Denis Kenzior [Mon, 30 Aug 2010 15:34:21 +0000 (10:34 -0500)]
voicecall: Fix crash during cleanup

13 years agogisi: Retry version query in g_isi_verify()
Pekka Pessi [Tue, 24 Aug 2010 11:46:08 +0000 (13:46 +0200)]
gisi: Retry version query in g_isi_verify()

For some mysterious reason, not all COMMON_MESSAGEs get sent to
modem. This patch adds a retry counter that tries to make sure an
answer is always received.

13 years agogisi: Fix counter for indication subscriptions
Aki Niemi [Wed, 25 Aug 2010 10:04:38 +0000 (13:04 +0300)]
gisi: Fix counter for indication subscriptions

13 years agoRemove unnecessary alignment to 32bit boundary
Aki Niemi [Wed, 25 Aug 2010 10:03:27 +0000 (13:03 +0300)]
Remove unnecessary alignment to 32bit boundary

13 years agoudev: Add rule for ZTE MF110 modem
Marcel Holtmann [Sat, 28 Aug 2010 06:19:02 +0000 (08:19 +0200)]
udev: Add rule for ZTE MF110 modem

13 years agotest: tweak wording
Denis Kenzior [Fri, 27 Aug 2010 23:40:14 +0000 (18:40 -0500)]
test: tweak wording

13 years agovoicecall: Cleanup dial request when removing atom
Denis Kenzior [Fri, 27 Aug 2010 23:26:45 +0000 (18:26 -0500)]
voicecall: Cleanup dial request when removing atom

13 years agovoicecall: Refactor ofono_voicecall_busy
Denis Kenzior [Fri, 27 Aug 2010 23:24:34 +0000 (18:24 -0500)]
voicecall: Refactor ofono_voicecall_busy

13 years agovoicecall: Switch to unsigned
Denis Kenzior [Fri, 27 Aug 2010 22:36:25 +0000 (17:36 -0500)]
voicecall: Switch to unsigned

13 years agostk: setup call did not handle agent disappearance
Denis Kenzior [Fri, 27 Aug 2010 21:50:14 +0000 (16:50 -0500)]
stk: setup call did not handle agent disappearance

13 years agostk: Free select item menu
Denis Kenzior [Fri, 27 Aug 2010 19:44:50 +0000 (14:44 -0500)]
stk: Free select item menu

If calling the agent failed for some reason

13 years agostk: Reset cancel_cmd to NULL
Denis Kenzior [Fri, 27 Aug 2010 19:37:38 +0000 (14:37 -0500)]
stk: Reset cancel_cmd to NULL

13 years agostk: set cancel_cmd only if agent was called
Denis Kenzior [Fri, 27 Aug 2010 19:35:00 +0000 (14:35 -0500)]
stk: set cancel_cmd only if agent was called

13 years agovoicecall: Cleanup dial request init / finish
Denis Kenzior [Fri, 27 Aug 2010 18:24:17 +0000 (13:24 -0500)]
voicecall: Cleanup dial request init / finish

13 years agotest: Update with ConfirmCallSetup API
Denis Kenzior [Fri, 27 Aug 2010 18:23:51 +0000 (13:23 -0500)]
test: Update with ConfirmCallSetup API

13 years agostk: Handle the Set Up Call proactive command
Andrzej Zaborowski [Thu, 26 Aug 2010 11:36:48 +0000 (13:36 +0200)]
stk: Handle the Set Up Call proactive command

13 years agovoicecall: add __ofono_voicecall_dial internal api
Andrzej Zaborowski [Thu, 26 Aug 2010 11:36:47 +0000 (13:36 +0200)]
voicecall: add __ofono_voicecall_dial internal api

The callback is only invoked when the call is CONNECTED (becomes
active).  Cancel ensures that the callback will not be called and
does nothing more in this version, it's an open question if we
want to release the call.

13 years agotodo: remove owner from notify_ready task
Kristen Carlson Accardi [Thu, 26 Aug 2010 14:04:56 +0000 (07:04 -0700)]
todo: remove owner from notify_ready task

13 years agosimutil: Fix compilation with gcc 4.3.2
Andrzej Zaborowski [Thu, 26 Aug 2010 12:36:31 +0000 (14:36 +0200)]
simutil: Fix compilation with gcc 4.3.2

This gcc version gives two signed / unsigned comparison warnings.

13 years agosim: read EFimg
Kristen Carlson Accardi [Thu, 26 Aug 2010 14:20:03 +0000 (07:20 -0700)]
sim: read EFimg

13 years agogprs: add debug info
Pekka Pessi [Thu, 26 Aug 2010 13:08:52 +0000 (16:08 +0300)]
gprs: add debug info

13 years agoisimodem/gprs: fix attached_status response
Pekka Pessi [Thu, 26 Aug 2010 13:08:41 +0000 (16:08 +0300)]
isimodem/gprs: fix attached_status response

13 years agostkagent: Add ConfirmCallSetup request.
Andrzej Zaborowski [Wed, 25 Aug 2010 15:49:15 +0000 (17:49 +0200)]
stkagent: Add ConfirmCallSetup request.

13 years agostkutil: change uint32_t to guint32
Kristen Carlson Accardi [Wed, 25 Aug 2010 11:00:21 +0000 (04:00 -0700)]
stkutil: change uint32_t to guint32

This helps avoid needing to include any extra header files if
stkutil.h is included in sim.c

13 years agosimutil: add fileid for EFimg
Kristen Carlson Accardi [Wed, 25 Aug 2010 11:00:20 +0000 (04:00 -0700)]
simutil: add fileid for EFimg

13 years agombm: add quirks for Dell D5530
Pekka Pessi [Wed, 25 Aug 2010 17:13:16 +0000 (20:13 +0300)]
mbm: add quirks for Dell D5530

Dell D5530 is an OEM version of F3507g. It has an annoying habit of
announcing itself to world with its own name. Another problem is some weird
+CGAP messages at the same time. It also crashes upon processing received
CBS messages.

13 years agotest-monitor: monitor irregular signals
Pekka Pessi [Wed, 25 Aug 2010 11:57:02 +0000 (14:57 +0300)]
test-monitor: monitor irregular signals

13 years agomonitor-ofono: deep pretty-print
Pekka Pessi [Wed, 25 Aug 2010 11:57:01 +0000 (14:57 +0300)]
monitor-ofono: deep pretty-print

13 years agosim: Check PIN even if no EFli / EFpl not read
Denis Kenzior [Wed, 25 Aug 2010 14:59:10 +0000 (09:59 -0500)]
sim: Check PIN even if no EFli / EFpl not read

13 years agodoc: Add list of CDMA specifications
Caiwen Zhang [Tue, 24 Aug 2010 09:41:31 +0000 (17:41 +0800)]
doc: Add list of CDMA specifications

13 years agodoc: Update call-barring API
Denis Kenzior [Tue, 24 Aug 2010 00:12:17 +0000 (19:12 -0500)]
doc: Update call-barring API

13 years agotodo: add owner for sim ready notification task
Kristen Carlson Accardi [Mon, 23 Aug 2010 14:07:14 +0000 (07:07 -0700)]
todo: add owner for sim ready notification task

13 years agonovatel: Use Qualcomm specific quirk for SIM handling
Marcel Holtmann [Mon, 23 Aug 2010 20:54:34 +0000 (22:54 +0200)]
novatel: Use Qualcomm specific quirk for SIM handling

13 years agohuaweimodem: Add NDIS based GPRS context driver
Marcel Holtmann [Mon, 23 Aug 2010 20:06:45 +0000 (22:06 +0200)]
huaweimodem: Add NDIS based GPRS context driver

13 years agosim: Retrieve EFphase according to the spec
Denis Kenzior [Mon, 23 Aug 2010 18:58:14 +0000 (13:58 -0500)]
sim: Retrieve EFphase according to the spec

13 years agosim: Reorder SIM initialization
Denis Kenzior [Mon, 23 Aug 2010 18:36:37 +0000 (13:36 -0500)]
sim: Reorder SIM initialization

13 years agosim: Reset mnc_length when removing SIM
Denis Kenzior [Mon, 23 Aug 2010 18:20:54 +0000 (13:20 -0500)]
sim: Reset mnc_length when removing SIM

In case the next SIM doesn't have it or something else weird happens.

13 years agosim: Update the SIM initialization comment
Denis Kenzior [Mon, 23 Aug 2010 18:20:24 +0000 (13:20 -0500)]
sim: Update the SIM initialization comment

13 years agosim: Minor style fix
Denis Kenzior [Mon, 23 Aug 2010 18:16:41 +0000 (13:16 -0500)]
sim: Minor style fix

13 years agosim: Read EFust and EFest
Yang Gu [Thu, 19 Aug 2010 06:05:35 +0000 (14:05 +0800)]
sim: Read EFust and EFest

13 years agohfp: fix typo
João Paulo Rechi Vita [Mon, 23 Aug 2010 18:04:49 +0000 (15:04 -0300)]
hfp: fix typo

13 years agohuawei: Query AT^U2DIAG and AT^GETPORTMODE settings
Marcel Holtmann [Mon, 23 Aug 2010 15:43:20 +0000 (17:43 +0200)]
huawei: Query AT^U2DIAG and AT^GETPORTMODE settings

Just to make the values show up in the AT command debug logs, query them
when enabling the device.

13 years agombm: fix initial polling for sim
Pekka Pessi [Mon, 23 Aug 2010 14:18:09 +0000 (17:18 +0300)]
mbm: fix initial polling for sim

There seems to be no specific error codes returned when SIM is missing.
Poll at least 5 times upon an error and give up after that.

13 years agohsomodem: Minor style fixes in GPRS context driver
Marcel Holtmann [Mon, 23 Aug 2010 14:29:51 +0000 (16:29 +0200)]
hsomodem: Minor style fixes in GPRS context driver

13 years agohuaweimodem: Add skeleton for Huawei modem driver
Marcel Holtmann [Mon, 23 Aug 2010 14:12:16 +0000 (16:12 +0200)]
huaweimodem: Add skeleton for Huawei modem driver

13 years agovoicecall: Remove unused variable
Marcel Holtmann [Fri, 20 Aug 2010 21:17:33 +0000 (23:17 +0200)]
voicecall: Remove unused variable

13 years agobuild: Add new test scripts
Denis Kenzior [Fri, 20 Aug 2010 21:14:54 +0000 (16:14 -0500)]
build: Add new test scripts

13 years agotest: add private-chat script
Denis Kenzior [Fri, 20 Aug 2010 21:13:11 +0000 (16:13 -0500)]
test: add private-chat script

13 years agotest: Add list-calls script
Denis Kenzior [Fri, 20 Aug 2010 21:13:00 +0000 (16:13 -0500)]
test: Add list-calls script

13 years agotest: Add create-multiparty script
Denis Kenzior [Fri, 20 Aug 2010 21:12:42 +0000 (16:12 -0500)]
test: Add create-multiparty script

13 years agoatmodem: Default to +CHUP to hangup_all
Denis Kenzior [Fri, 20 Aug 2010 21:12:06 +0000 (16:12 -0500)]
atmodem: Default to +CHUP to hangup_all

13 years agovoicecall: Fix memory leak
Denis Kenzior [Fri, 20 Aug 2010 20:55:29 +0000 (15:55 -0500)]
voicecall: Fix memory leak

13 years agovoicecall: Remove Calls property
Denis Kenzior [Fri, 20 Aug 2010 20:55:19 +0000 (15:55 -0500)]
voicecall: Remove Calls property

13 years agovoicecall: emit CallAdded and CallRemoved signals
Denis Kenzior [Fri, 20 Aug 2010 20:54:26 +0000 (15:54 -0500)]
voicecall: emit CallAdded and CallRemoved signals

13 years agovoicecall: Add GetCalls method
Denis Kenzior [Fri, 20 Aug 2010 20:23:55 +0000 (15:23 -0500)]
voicecall: Add GetCalls method

13 years agovoicecall: Fix up some style issues
Denis Kenzior [Fri, 20 Aug 2010 20:16:29 +0000 (15:16 -0500)]
voicecall: Fix up some style issues

13 years agovoicecall: Break out voicecall_append_properties
Denis Kenzior [Fri, 20 Aug 2010 20:09:16 +0000 (15:09 -0500)]
voicecall: Break out voicecall_append_properties

13 years agovoicecall: Get rid of MultipartyCalls attribute
Denis Kenzior [Fri, 20 Aug 2010 19:57:47 +0000 (14:57 -0500)]
voicecall: Get rid of MultipartyCalls attribute

Replaced by Multiparty attribute on the Voicecall object

13 years agosms: Add a few more debug statements
Marcel Holtmann [Fri, 20 Aug 2010 19:55:22 +0000 (21:55 +0200)]
sms: Add a few more debug statements

13 years agoatmodem: Add a few more debug statements for SMS support
Marcel Holtmann [Fri, 20 Aug 2010 19:53:21 +0000 (21:53 +0200)]
atmodem: Add a few more debug statements for SMS support

13 years agoatmodem: Add a few more debug statements for CBS support
Marcel Holtmann [Fri, 20 Aug 2010 19:45:45 +0000 (21:45 +0200)]
atmodem: Add a few more debug statements for CBS support

13 years agonokia: Add GPRS handling
Marcel Holtmann [Fri, 20 Aug 2010 19:27:13 +0000 (21:27 +0200)]
nokia: Add GPRS handling

13 years agozte: Add GPRS handling
Marcel Holtmann [Fri, 20 Aug 2010 19:19:40 +0000 (21:19 +0200)]
zte: Add GPRS handling

13 years agoatmodem: Add Nokia specific quirk for AT+CGEREP handling
Marcel Holtmann [Fri, 20 Aug 2010 18:57:30 +0000 (20:57 +0200)]
atmodem: Add Nokia specific quirk for AT+CGEREP handling

13 years agoatmodem: Fix copy and paste typo
Marcel Holtmann [Fri, 20 Aug 2010 14:53:07 +0000 (16:53 +0200)]
atmodem: Fix copy and paste typo

13 years agombm: Remove registration and bearer specific notifications
Marcel Holtmann [Fri, 20 Aug 2010 14:51:24 +0000 (16:51 +0200)]
mbm: Remove registration and bearer specific notifications

13 years agoatmodem: Enable MBM specific notification for registration and bearer
Marcel Holtmann [Fri, 20 Aug 2010 14:50:42 +0000 (16:50 +0200)]
atmodem: Enable MBM specific notification for registration and bearer

13 years agombm: Enable notifications for packet switched bearer changes
Marcel Holtmann [Fri, 20 Aug 2010 14:24:12 +0000 (16:24 +0200)]
mbm: Enable notifications for packet switched bearer changes

13 years agostk: reorder: Don't access freed memory in Send SMS
Andrzej Zaborowski [Fri, 20 Aug 2010 02:07:09 +0000 (04:07 +0200)]
stk: reorder: Don't access freed memory in Send SMS

Responding to the stk->pending_cmd frees it, we need to read it
before that.

13 years agotest: Add some error handling to STK menu test script
Marcel Holtmann [Fri, 20 Aug 2010 13:45:48 +0000 (15:45 +0200)]
test: Add some error handling to STK menu test script

13 years agombm: Enable CFUN and EREG notifications
Marcel Holtmann [Fri, 20 Aug 2010 13:45:17 +0000 (15:45 +0200)]
mbm: Enable CFUN and EREG notifications

13 years agombmmodem: Enable PDP context setup debug notifications
Marcel Holtmann [Fri, 20 Aug 2010 13:44:45 +0000 (15:44 +0200)]
mbmmodem: Enable PDP context setup debug notifications

13 years agostk: Fix error messsage from select item method call
Marcel Holtmann [Fri, 20 Aug 2010 12:48:48 +0000 (14:48 +0200)]
stk: Fix error messsage from select item method call

13 years agoAdd support for simple glibc based backtrace
Marcel Holtmann [Fri, 20 Aug 2010 12:44:54 +0000 (14:44 +0200)]
Add support for simple glibc based backtrace

13 years agostemodem: Fix whitespace damage in radio settings driver
Marcel Holtmann [Fri, 20 Aug 2010 12:13:07 +0000 (14:13 +0200)]
stemodem: Fix whitespace damage in radio settings driver

13 years agombm: Fix naming of MBM driver for GPRS context handling
Marcel Holtmann [Fri, 20 Aug 2010 12:12:01 +0000 (14:12 +0200)]
mbm: Fix naming of MBM driver for GPRS context handling

13 years agombm: Use proper MBM quirks
Marcel Holtmann [Fri, 20 Aug 2010 12:09:55 +0000 (14:09 +0200)]
mbm: Use proper MBM quirks

13 years agoste: Use MBM quirk for network registration
Marcel Holtmann [Fri, 20 Aug 2010 12:08:12 +0000 (14:08 +0200)]
ste: Use MBM quirk for network registration

13 years agoste: Use MBM quirk instead of a STE specific one
Marcel Holtmann [Fri, 20 Aug 2010 12:07:19 +0000 (14:07 +0200)]
ste: Use MBM quirk instead of a STE specific one

13 years agoatmodem: Turn a STE GPRS quirk into a MBM and STE quirk
Marcel Holtmann [Fri, 20 Aug 2010 12:05:18 +0000 (14:05 +0200)]
atmodem: Turn a STE GPRS quirk into a MBM and STE quirk

13 years agotest: Rename script for testing STK menus
Marcel Holtmann [Fri, 20 Aug 2010 11:14:06 +0000 (13:14 +0200)]
test: Rename script for testing STK menus

13 years agotest: Fix broken build due to renamed test script
Marcel Holtmann [Fri, 20 Aug 2010 09:54:33 +0000 (11:54 +0200)]
test: Fix broken build due to renamed test script

13 years agotest: Fix test scripts for new operator interfaces
Marcel Holtmann [Fri, 20 Aug 2010 09:53:32 +0000 (11:53 +0200)]
test: Fix test scripts for new operator interfaces

13 years agogprs: Default value for RoamingAllowed should be FALSE
Marcel Holtmann [Fri, 20 Aug 2010 09:22:47 +0000 (11:22 +0200)]
gprs: Default value for RoamingAllowed should be FALSE

13 years agoudev: Add check for serial before string operation
Zhenhua Zhang [Fri, 20 Aug 2010 03:10:39 +0000 (11:10 +0800)]
udev: Add check for serial before string operation

'serial' could be NULL in some case. So it need to add check before
doing string operation.

13 years agotest: Fix wrong method name in context deactivation script
Marcel Holtmann [Fri, 20 Aug 2010 01:12:26 +0000 (03:12 +0200)]
test: Fix wrong method name in context deactivation script

13 years agonokia: Add initial plugin for Nokia Datacard support
Marcel Holtmann [Fri, 20 Aug 2010 01:05:18 +0000 (03:05 +0200)]
nokia: Add initial plugin for Nokia Datacard support

13 years agoatmodem: Add really nasty hack for Nokia AT+COPS bug
Marcel Holtmann [Fri, 20 Aug 2010 01:00:49 +0000 (03:00 +0200)]
atmodem: Add really nasty hack for Nokia AT+COPS bug

The Nokia modem returns an invalid response when trying to read the
numeric value for MCC/MNC of the current network.

Control:> AT+COPS?\r
Control:< \r\n+COPS: 0,2,"26207,0\r\n\r\nOK\r\n

The closing " is just missing and this confuses the AT parser. In case
of a Nokia modem skip reading the numerical values for the network.

13 years agotest: Fix SMS test script to use MessageManager interface
Marcel Holtmann [Fri, 20 Aug 2010 00:51:34 +0000 (02:51 +0200)]
test: Fix SMS test script to use MessageManager interface

13 years agoatmodem: No CIND for Nokia data cards
Marcel Holtmann [Fri, 20 Aug 2010 00:24:53 +0000 (02:24 +0200)]
atmodem: No CIND for Nokia data cards

13 years agoatmodem: Add vendor quirk for Nokia data cards
Marcel Holtmann [Fri, 20 Aug 2010 00:24:07 +0000 (02:24 +0200)]
atmodem: Add vendor quirk for Nokia data cards

13 years agoudev: Add detection for Nokia data cards
Marcel Holtmann [Fri, 20 Aug 2010 00:20:37 +0000 (02:20 +0200)]
udev: Add detection for Nokia data cards

13 years agozte: Use QUALCOMM_MSM quirk for sim driver
Denis Kenzior [Thu, 19 Aug 2010 23:15:52 +0000 (18:15 -0500)]
zte: Use QUALCOMM_MSM quirk for sim driver

13 years agohuawei: Use QUALCOMM_MSM quirk for sim driver
Denis Kenzior [Thu, 19 Aug 2010 23:15:36 +0000 (18:15 -0500)]
huawei: Use QUALCOMM_MSM quirk for sim driver

13 years agogprs: Use "Internet" for default PDP context name
Marcel Holtmann [Thu, 19 Aug 2010 20:36:18 +0000 (22:36 +0200)]
gprs: Use "Internet" for default PDP context name