platform/upstream/ofono.git
15 years agoRemove unused function
Denis Kenzior [Thu, 20 Aug 2009 20:29:02 +0000 (15:29 -0500)]
Remove unused function

15 years agoRemove unused function
Denis Kenzior [Thu, 20 Aug 2009 20:28:39 +0000 (15:28 -0500)]
Remove unused function

15 years agoFix implicit declaration of extract_bcd_number
Denis Kenzior [Thu, 20 Aug 2009 20:28:20 +0000 (15:28 -0500)]
Fix implicit declaration of extract_bcd_number

15 years agoFix unused variable path
Denis Kenzior [Thu, 20 Aug 2009 20:27:01 +0000 (15:27 -0500)]
Fix unused variable path

15 years agoFix unused variable l
Denis Kenzior [Thu, 20 Aug 2009 20:26:29 +0000 (15:26 -0500)]
Fix unused variable l

15 years agoFix unused variable pbd
Denis Kenzior [Thu, 20 Aug 2009 20:24:40 +0000 (15:24 -0500)]
Fix unused variable pbd

15 years agoFix return with no value warning
Denis Kenzior [Thu, 20 Aug 2009 20:24:07 +0000 (15:24 -0500)]
Fix return with no value warning

15 years agoFix a bunch of warnings about mixed signedness
Denis Kenzior [Thu, 20 Aug 2009 20:20:47 +0000 (15:20 -0500)]
Fix a bunch of warnings about mixed signedness

15 years agoFix implicit declaration of ofono_phonebook_create
Denis Kenzior [Thu, 20 Aug 2009 20:18:14 +0000 (15:18 -0500)]
Fix implicit declaration of ofono_phonebook_create

15 years agoFix unused variable pbd
Denis Kenzior [Thu, 20 Aug 2009 20:17:05 +0000 (15:17 -0500)]
Fix unused variable pbd

15 years agoFix unused variable chat
Denis Kenzior [Thu, 20 Aug 2009 20:16:32 +0000 (15:16 -0500)]
Fix unused variable chat

15 years agoFix implicit declaration of ofono_netreg_create
Denis Kenzior [Thu, 20 Aug 2009 20:15:40 +0000 (15:15 -0500)]
Fix implicit declaration of ofono_netreg_create

15 years agoFix control reaches end of non-void function
Denis Kenzior [Thu, 20 Aug 2009 20:12:54 +0000 (15:12 -0500)]
Fix control reaches end of non-void function

15 years agoFix unused variable err warning
Denis Kenzior [Thu, 20 Aug 2009 20:11:58 +0000 (15:11 -0500)]
Fix unused variable err warning

15 years agoFix implicit declaration of close warning
Denis Kenzior [Thu, 20 Aug 2009 20:11:24 +0000 (15:11 -0500)]
Fix implicit declaration of close warning

15 years agoUpdate ISI driver for new devinfo API
Denis Kenzior [Thu, 20 Aug 2009 17:46:23 +0000 (12:46 -0500)]
Update ISI driver for new devinfo API

15 years agoUpdate the AT modem driver to the new devinfo api
Denis Kenzior [Thu, 20 Aug 2009 17:45:53 +0000 (12:45 -0500)]
Update the AT modem driver to the new devinfo api

15 years agoBreak out device info into a separate driver
Denis Kenzior [Thu, 20 Aug 2009 17:43:25 +0000 (12:43 -0500)]
Break out device info into a separate driver

The modem info ops (Serial, Manufacturer, etc) are broken into a
separate oFono atom.  This is mainly to support a proper modem device
driver infrastructure.  As a result the data structures have been
tweaked a little.

driver.h is now empty and has been removed.

15 years agoUse types.h instead of driver.h here
Denis Kenzior [Thu, 20 Aug 2009 16:23:31 +0000 (11:23 -0500)]
Use types.h instead of driver.h here

15 years agoRemove unused variables
Denis Kenzior [Thu, 20 Aug 2009 04:29:12 +0000 (23:29 -0500)]
Remove unused variables

15 years agoFix ISI driver side conditional name
Aki Niemi [Thu, 20 Aug 2009 11:32:03 +0000 (14:32 +0300)]
Fix ISI driver side conditional name

15 years agoFix make distcheck and clear GISI build flags when disabled
Aki Niemi [Thu, 20 Aug 2009 11:18:30 +0000 (14:18 +0300)]
Fix make distcheck and clear GISI build flags when disabled

15 years agoAdd configure switch to disable PhoNet/ISI support
Aki Niemi [Thu, 20 Aug 2009 08:07:55 +0000 (11:07 +0300)]
Add configure switch to disable PhoNet/ISI support

15 years agogisi: PEP: use more portable non-blocking and close-on-exec
Rémi Denis-Courmont [Thu, 20 Aug 2009 07:52:57 +0000 (10:52 +0300)]
gisi: PEP: use more portable non-blocking and close-on-exec

15 years agoFix make distcheck - gisi/modem.h
Denis Kenzior [Thu, 20 Aug 2009 01:32:49 +0000 (20:32 -0500)]
Fix make distcheck - gisi/modem.h

gisi/modem.h was not included in Makefile.am

15 years agoFix make distcheck
Denis Kenzior [Thu, 20 Aug 2009 01:29:56 +0000 (20:29 -0500)]
Fix make distcheck

isicommon.h is no longer in the repository

15 years agoRemove modem member from cb_data
Denis Kenzior [Wed, 19 Aug 2009 23:15:46 +0000 (18:15 -0500)]
Remove modem member from cb_data

15 years agoFix release specific not reporting proper reason
Denis Kenzior [Wed, 19 Aug 2009 23:07:33 +0000 (18:07 -0500)]
Fix release specific not reporting proper reason

The proper disconnect reason was not being reported in the at modem
voicecall plugin

15 years agoEmit the DisconnectReason signal
Denis Kenzior [Wed, 19 Aug 2009 23:06:44 +0000 (18:06 -0500)]
Emit the DisconnectReason signal

15 years agoMake sure call history handles waiting calls
Denis Kenzior [Wed, 19 Aug 2009 22:46:33 +0000 (17:46 -0500)]
Make sure call history handles waiting calls

Missed waiting calls were not being handled properly

15 years agoRemove poll_clcc variable
Denis Kenzior [Wed, 19 Aug 2009 22:29:23 +0000 (17:29 -0500)]
Remove poll_clcc variable

The reference implementation will always poll.  If a modem vendor has
extensions for call status reporting, then those should be used in a
separate driver

15 years agoUpdate the AT modem voicecall driver for new API
Denis Kenzior [Wed, 19 Aug 2009 22:22:57 +0000 (17:22 -0500)]
Update the AT modem voicecall driver for new API

15 years agoEvolve the voicecall driver
Denis Kenzior [Wed, 19 Aug 2009 22:22:02 +0000 (17:22 -0500)]
Evolve the voicecall driver

15 years agoRemove dead code in voicecall at driver
Denis Kenzior [Wed, 19 Aug 2009 21:20:35 +0000 (16:20 -0500)]
Remove dead code in voicecall at driver

15 years agoUpdate netreg AT modem driver to the new API
Denis Kenzior [Wed, 19 Aug 2009 17:10:44 +0000 (12:10 -0500)]
Update netreg AT modem driver to the new API

15 years agoEvolve the netreg driver
Denis Kenzior [Wed, 19 Aug 2009 17:10:38 +0000 (12:10 -0500)]
Evolve the netreg driver

15 years agoMove mcc & mnc defines to types.h
Denis Kenzior [Wed, 19 Aug 2009 03:28:47 +0000 (22:28 -0500)]
Move mcc & mnc defines to types.h

15 years agoRefine errors returned by message-waiting
Denis Kenzior [Wed, 19 Aug 2009 03:26:34 +0000 (22:26 -0500)]
Refine errors returned by message-waiting

If we have not initialized fully yet, return sim_not_ready error.
If we couldn't read EFmbi or not able to stat EFmbdn size properly, then
set mbdn_not_present to TRUE and always return not_supported error

15 years agoPort AT modem driver to the new MWI api
Denis Kenzior [Wed, 19 Aug 2009 02:16:40 +0000 (21:16 -0500)]
Port AT modem driver to the new MWI api

15 years agoEvolve message waiting low level API
Denis Kenzior [Wed, 19 Aug 2009 02:07:44 +0000 (21:07 -0500)]
Evolve message waiting low level API

15 years agoAdd a new SIM not ready error
Denis Kenzior [Tue, 18 Aug 2009 22:14:44 +0000 (17:14 -0500)]
Add a new SIM not ready error

15 years agoUpdate voicecalls to the new SIM API
Denis Kenzior [Tue, 18 Aug 2009 22:07:42 +0000 (17:07 -0500)]
Update voicecalls to the new SIM API

15 years agoUpdate network registration to the new SIM API
Denis Kenzior [Tue, 18 Aug 2009 22:07:30 +0000 (17:07 -0500)]
Update network registration to the new SIM API

15 years agoUpdate message waiting to the new SIM API
Denis Kenzior [Tue, 18 Aug 2009 22:07:16 +0000 (17:07 -0500)]
Update message waiting to the new SIM API

15 years agoRemove traces of sim_manager from modem.c
Denis Kenzior [Tue, 18 Aug 2009 22:06:29 +0000 (17:06 -0500)]
Remove traces of sim_manager from modem.c

15 years agoRemove unneeded function call
Denis Kenzior [Tue, 18 Aug 2009 22:06:09 +0000 (17:06 -0500)]
Remove unneeded function call

15 years agoUpdate SIM AT driver to the new API
Denis Kenzior [Tue, 18 Aug 2009 22:05:50 +0000 (17:05 -0500)]
Update SIM AT driver to the new API

15 years agoEvolve SIM driver
Denis Kenzior [Tue, 18 Aug 2009 22:05:03 +0000 (17:05 -0500)]
Evolve SIM driver

15 years agoMove ofono_destroy_fun to types.h
Denis Kenzior [Tue, 18 Aug 2009 22:03:18 +0000 (17:03 -0500)]
Move ofono_destroy_fun to types.h

15 years agoRemove unneeded variable
Denis Kenzior [Tue, 18 Aug 2009 21:10:22 +0000 (16:10 -0500)]
Remove unneeded variable

15 years agoFix cut and paste error
Denis Kenzior [Tue, 18 Aug 2009 19:31:58 +0000 (14:31 -0500)]
Fix cut and paste error

15 years agoFix whitespace and style issues
Denis Kenzior [Tue, 18 Aug 2009 14:43:30 +0000 (09:43 -0500)]
Fix whitespace and style issues

15 years agoRefactor ECC: Free the new_en_list
Denis Kenzior [Tue, 18 Aug 2009 14:21:27 +0000 (09:21 -0500)]
Refactor ECC: Free the new_en_list

Avoid a potential memory leak in case the interface is removed during
the SIM read operation.

15 years agoPort SMS AT modem driver to the new API
Denis Kenzior [Tue, 18 Aug 2009 03:42:17 +0000 (22:42 -0500)]
Port SMS AT modem driver to the new API

15 years agoEvolve SMS driver API
Denis Kenzior [Tue, 18 Aug 2009 03:40:51 +0000 (22:40 -0500)]
Evolve SMS driver API

15 years agoRemove unused member
Denis Kenzior [Tue, 18 Aug 2009 03:12:26 +0000 (22:12 -0500)]
Remove unused member

15 years agogisi: fix pipe create request endianess problems
Rémi Denis-Courmont [Wed, 19 Aug 2009 15:07:39 +0000 (18:07 +0300)]
gisi: fix pipe create request endianess problems

15 years agogisi: bind pipe end point *before* getting its handle
Rémi Denis-Courmont [Wed, 19 Aug 2009 15:07:10 +0000 (18:07 +0300)]
gisi: bind pipe end point *before* getting its handle

15 years agoPhonet: GPRS pipe end point low-level support
Rémi Denis-Courmont [Wed, 19 Aug 2009 07:57:37 +0000 (10:57 +0300)]
Phonet: GPRS pipe end point low-level support

15 years agoPhonet: missing SOL_PNPIPE definition
Rémi Denis-Courmont [Tue, 18 Aug 2009 14:57:02 +0000 (17:57 +0300)]
Phonet: missing SOL_PNPIPE definition

15 years agoPhonet: add error handling for pipes
Rémi Denis-Courmont [Tue, 18 Aug 2009 14:19:13 +0000 (17:19 +0300)]
Phonet: add error handling for pipes

15 years agoPhonet: add modem parameter to ISI pipe API
Rémi Denis-Courmont [Tue, 18 Aug 2009 11:35:35 +0000 (14:35 +0300)]
Phonet: add modem parameter to ISI pipe API

15 years agoPhonet: add modem parameter to ISI client API
Rémi Denis-Courmont [Tue, 18 Aug 2009 11:34:27 +0000 (14:34 +0300)]
Phonet: add modem parameter to ISI client API

15 years agogisi: provide modem identifier through Netlink API
Rémi Denis-Courmont [Wed, 19 Aug 2009 12:58:04 +0000 (15:58 +0300)]
gisi: provide modem identifier through Netlink API

15 years agogisi: warn if GIsiModem is missing rather than fail
Rémi Denis-Courmont [Wed, 19 Aug 2009 14:04:27 +0000 (17:04 +0300)]
gisi: warn if GIsiModem is missing rather than fail

15 years agogisi: low-level modem scoping for sockets
Rémi Denis-Courmont [Wed, 19 Aug 2009 12:55:47 +0000 (15:55 +0300)]
gisi: low-level modem scoping for sockets

15 years agoRemove the use of driver.h
Denis Kenzior [Mon, 17 Aug 2009 22:14:01 +0000 (17:14 -0500)]
Remove the use of driver.h

15 years agoRemove unused header
Denis Kenzior [Mon, 17 Aug 2009 22:09:58 +0000 (17:09 -0500)]
Remove unused header

15 years agoMake distcheck happy
Denis Kenzior [Mon, 17 Aug 2009 22:08:03 +0000 (17:08 -0500)]
Make distcheck happy

15 years agoRefactor ECC Support: Update when EFecc is read
Denis Kenzior [Mon, 17 Aug 2009 21:56:32 +0000 (16:56 -0500)]
Refactor ECC Support: Update when EFecc is read

We should start with a default set of ECC numbers which are always
available according to 22.101, even if no SIM present.  Then when
EFecc is read, we update the EmergencyNumbers property.  According to
22.101 the 112 and 911 numbers must always be available.  Since these
numbers can also be stored on the SIM itself, we must avoid duplication.

15 years agoRefactor ECC Support: Don't bother with g_source
Denis Kenzior [Mon, 17 Aug 2009 21:03:01 +0000 (16:03 -0500)]
Refactor ECC Support: Don't bother with g_source

Don't bother playing the g_source tricks for EmergencyNumbers property
changed signal emission.  The list is not bound to change more than
once.

15 years agoRefactor ECC Support: Free in right spot
Denis Kenzior [Mon, 17 Aug 2009 20:55:48 +0000 (15:55 -0500)]
Refactor ECC Support: Free in right spot

The freeing of the emergency list should be in voicecalls_destroy
function, where the rest of the datastructure is being freed

15 years agoSupport emergency numbers
Yang Gu [Fri, 14 Aug 2009 08:38:10 +0000 (16:38 +0800)]
Support emergency numbers

15 years agoGet rid of unused enum
Denis Kenzior [Mon, 17 Aug 2009 20:33:50 +0000 (15:33 -0500)]
Get rid of unused enum

15 years agoMove network-operator status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:32:34 +0000 (15:32 -0500)]
Move network-operator status enum out of common.h

15 years agoMove colr-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:31:46 +0000 (15:31 -0500)]
Move colr-status enum out of common.h

15 years agoMove colp-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:31:17 +0000 (15:31 -0500)]
Move colp-status enum out of common.h

15 years agoMove clip-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:30:34 +0000 (15:30 -0500)]
Move clip-status enum out of common.h

15 years agoMove clir-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:29:01 +0000 (15:29 -0500)]
Move clir-status enum out of common.h

15 years agoMove ussd-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:27:04 +0000 (15:27 -0500)]
Move ussd-status enum out of common.h

15 years agoMove call-forwarding-type enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:26:24 +0000 (15:26 -0500)]
Move call-forwarding-type enum out of common.h

15 years agoFix invalid watch id being returned the first time
Denis Kenzior [Mon, 17 Aug 2009 20:23:39 +0000 (15:23 -0500)]
Fix invalid watch id being returned the first time

Should use pre-increment instead of post increment

15 years agoCleanup atom watches properly
Denis Kenzior [Mon, 17 Aug 2009 20:14:05 +0000 (15:14 -0500)]
Cleanup atom watches properly

15 years agoCleanup SSC entries if USSD exits first
Denis Kenzior [Mon, 17 Aug 2009 20:08:14 +0000 (15:08 -0500)]
Cleanup SSC entries if USSD exits first

15 years agoPort call-settings to the new USSD API
Denis Kenzior [Mon, 17 Aug 2009 19:49:43 +0000 (14:49 -0500)]
Port call-settings to the new USSD API

15 years agoPort call-forwarding to new USSD API
Denis Kenzior [Mon, 17 Aug 2009 19:41:09 +0000 (14:41 -0500)]
Port call-forwarding to new USSD API

15 years agoGet rid of unneeded variable
Denis Kenzior [Mon, 17 Aug 2009 19:34:48 +0000 (14:34 -0500)]
Get rid of unneeded variable

15 years agoRefactor call barring to the new USSD API
Denis Kenzior [Mon, 17 Aug 2009 19:33:12 +0000 (14:33 -0500)]
Refactor call barring to the new USSD API

15 years agoRefactor supplementary service control strings
Denis Kenzior [Mon, 17 Aug 2009 19:32:06 +0000 (14:32 -0500)]
Refactor supplementary service control strings

The registration was done by using the storage in the modem.  Refactored
to use the new atom watch APIs and storing the control entries in the
ussd atom itself

15 years agoPort the USSD at driver to the new API
Denis Kenzior [Mon, 17 Aug 2009 18:46:34 +0000 (13:46 -0500)]
Port the USSD at driver to the new API

15 years agoEvolve the USSD API
Denis Kenzior [Mon, 17 Aug 2009 18:45:55 +0000 (13:45 -0500)]
Evolve the USSD API

15 years agoGet rid of unused functions
Denis Kenzior [Mon, 17 Aug 2009 16:38:36 +0000 (11:38 -0500)]
Get rid of unused functions

15 years agoUse $(AM_V_GEN) for symbol export generation
Marcel Holtmann [Sun, 16 Aug 2009 21:51:40 +0000 (14:51 -0700)]
Use $(AM_V_GEN) for symbol export generation

15 years agoSource code is not ready for subdir-objects yet
Marcel Holtmann [Sun, 16 Aug 2009 21:51:12 +0000 (14:51 -0700)]
Source code is not ready for subdir-objects yet

15 years agoUse proper automake subdirectory options
Marcel Holtmann [Sun, 16 Aug 2009 21:45:01 +0000 (14:45 -0700)]
Use proper automake subdirectory options

15 years agoUpdate the AT modem SSN driver to the new API
Denis Kenzior [Fri, 14 Aug 2009 23:51:36 +0000 (18:51 -0500)]
Update the AT modem SSN driver to the new API

15 years agoRefactor cssn into ofono_ssn
Denis Kenzior [Fri, 14 Aug 2009 23:49:01 +0000 (18:49 -0500)]
Refactor cssn into ofono_ssn

Make this into a fully fledged entity, with a driver instead of the
current kludge.  This means modem drivers can actually choose whether
to instantiate a CSSN atom or not

Move the notification functions from voicecall.c into ssn.c.

Move the cssn.h header into include/ssn.h and refactor

Update call barring to utilize ofono_ssn and use the new atom_watch
functionality to detect when ssn has been added or removed

15 years agoAdd atom get_registered function
Denis Kenzior [Fri, 14 Aug 2009 23:47:12 +0000 (18:47 -0500)]
Add atom get_registered function

15 years agoFollow the more common glib convention for destroy
Denis Kenzior [Fri, 14 Aug 2009 22:06:59 +0000 (17:06 -0500)]
Follow the more common glib convention for destroy

15 years agoRemove trailing whitespace
Yang Gu [Fri, 14 Aug 2009 01:56:06 +0000 (09:56 +0800)]
Remove trailing whitespace