platform/upstream/ofono.git
13 years agogatppp: add name field when using chap auth
Caiwen Zhang [Wed, 11 May 2011 09:19:27 +0000 (17:19 +0800)]
gatppp: add name field when using chap auth

Some systems require name field, otherwise chap authentication will
fail.

13 years agogprs: Make sure to clean up interfaces
Denis Kenzior [Wed, 11 May 2011 18:24:04 +0000 (13:24 -0500)]
gprs: Make sure to clean up interfaces

When going down, it is sometimes possible for us not to ifconfig down
the interface or reset the MMS context IPv4 address propertly

13 years agonokia-gpio: Fix memory leak
Bertrand Aygon [Wed, 11 May 2011 15:27:43 +0000 (17:27 +0200)]
nokia-gpio: Fix memory leak

All dir opened with opendir must be closed with closedir

13 years agonokia-gpio: Fix minor style issue
Bertrand Aygon [Wed, 11 May 2011 15:27:43 +0000 (17:27 +0200)]
nokia-gpio: Fix minor style issue

13 years agoAUTHORS: Mention Caiwen's contributions
Denis Kenzior [Wed, 11 May 2011 17:30:36 +0000 (12:30 -0500)]
AUTHORS: Mention Caiwen's contributions

13 years agogatppp: fix ppp protocol-reject constructing error
Caiwen Zhang [Wed, 11 May 2011 08:15:19 +0000 (16:15 +0800)]
gatppp: fix ppp protocol-reject constructing error

In PPP Protocol-Reject package the 'rejected data field' should be a copy
of the rejected package, the copy starts from the data field. besides,
Protocol-Reject package include a 'rejected protocol field', it is the
same as the protocol field of the rejected package.

Protocol-Reject package structure is:

| PPP_header | rejected protocol | rejected data

The rejected package structure is:
| Addr | Control | protocol | data

So the Protocol-Reject package data field is copied from the 3rd byte of
the rejected package.

13 years agosimfs: Fix error reported by valgrind
Denis Kenzior [Wed, 11 May 2011 17:29:12 +0000 (12:29 -0500)]
simfs: Fix error reported by valgrind

==20365== Invalid read of size 8
==20365==    at 0x4B3501: sim_fs_free (simfs.c:114)
==20365==    by 0x493CEC: sim_remove (sim.c:2485)
==20365==    by 0x4703D7: modem_change_state (modem.c:410)
==20365==    by 0x470664: set_powered (modem.c:848)
==20365==    by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)
==20365==    by 0x46F2C5: signal_cb (main.c:76)
==20365==    by 0x52F555E: g_io_unix_dispatch (giounix.c:166)
==20365==    by 0x52A0AAB: g_main_dispatch (gmain.c:2440)
==20365==    by 0x52A203B: g_main_context_dispatch (gmain.c:3013)
==20365==    by 0x52A2501: g_main_context_iterate (gmain.c:3091)
==20365==    by 0x52A2C98: g_main_loop_run (gmain.c:3299)
==20365==    by 0x46F0D3: main (main.c:243)
==20365==  Address 0x63ff998 is 8 bytes inside a block of size 16 free'd
==20365==    at 0x4C2612D: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==20365==    by 0x52AA4A1: g_free (gmem.c:263)
==20365==    by 0x52C433D: g_slice_free1 (gslice.c:907)
==20365==    by 0x52C58D0: g_slist_free_1 (gslist.c:192)
==20365==    by 0x52C5C5F: g_slist_remove (gslist.c:465)
==20365==    by 0x4B342A: sim_fs_context_free (simfs.c:192)
==20365==    by 0x4B3500: sim_fs_free (simfs.c:117)
==20365==    by 0x493CEC: sim_remove (sim.c:2485)
==20365==    by 0x4703D7: modem_change_state (modem.c:410)
==20365==    by 0x470664: set_powered (modem.c:848)
==20365==    by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)
==20365==    by 0x46F2C5: signal_cb (main.c:76)

13 years agosimfs: Fix issue reported by valgrind
Denis Kenzior [Wed, 11 May 2011 17:20:59 +0000 (12:20 -0500)]
simfs: Fix issue reported by valgrind

==20287== Invalid read of size 4
==20287==    at 0x52B5C6B: g_queue_peek_nth_link (gqueue.c:704)
==20287==    by 0x52B5F57: g_queue_peek_nth (gqueue.c:848)
==20287==    by 0x4B33ED: sim_fs_context_free (simfs.c:170)
==20287==    by 0x4B34F8: sim_fs_free (simfs.c:116)
==20287==    by 0x493CEC: sim_remove (sim.c:2485)
==20287==    by 0x4703D7: modem_change_state (modem.c:410)
==20287==    by 0x470664: set_powered (modem.c:848)
==20287==    by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)
==20287==    by 0x46F2C5: signal_cb (main.c:76)
==20287==    by 0x52F555E: g_io_unix_dispatch (giounix.c:166)
==20287==    by 0x52A0AAB: g_main_dispatch (gmain.c:2440)
==20287==    by 0x52A203B: g_main_context_dispatch (gmain.c:3013)
==20287==  Address 0x63fae70 is 16 bytes inside a block of size 24
free'd
==20287==    at 0x4C2612D: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==20287==    by 0x52AA4A1: g_free (gmem.c:263)
==20287==    by 0x52C433D: g_slice_free1 (gslice.c:907)
==20287==    by 0x52B4E96: g_queue_free (gqueue.c:60)
==20287==    by 0x4B34E0: sim_fs_free (simfs.c:107)
==20287==    by 0x493CEC: sim_remove (sim.c:2485)
==20287==    by 0x4703D7: modem_change_state (modem.c:410)
==20287==    by 0x470664: set_powered (modem.c:848)
==20287==    by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)
==20287==    by 0x46F2C5: signal_cb (main.c:76)
==20287==    by 0x52F555E: g_io_unix_dispatch (giounix.c:166)
==20287==    by 0x52A0AAB: g_main_dispatch (gmain.c:2440)

13 years agogprs: Mark context inactive on removal
Denis Kenzior [Wed, 11 May 2011 17:09:56 +0000 (12:09 -0500)]
gprs: Mark context inactive on removal

13 years agogprs: Fix valgrind error
Denis Kenzior [Wed, 11 May 2011 17:07:41 +0000 (12:07 -0500)]
gprs: Fix valgrind error

This fixes an invalid access condition for the case where the
gprs atom is destroyed before context atoms are.

13 years agogprs: emit Active changed for contexts being removed
Denis Kenzior [Wed, 11 May 2011 02:45:28 +0000 (21:45 -0500)]
gprs: emit Active changed for contexts being removed

13 years agogprs: Add additional debug statements
Denis Kenzior [Wed, 11 May 2011 02:36:37 +0000 (21:36 -0500)]
gprs: Add additional debug statements

13 years agophonesim: Create atoms in a different order
Denis Kenzior [Wed, 11 May 2011 02:35:20 +0000 (21:35 -0500)]
phonesim: Create atoms in a different order

This uncovers a valgrind condition:

==17231== Invalid read of size 8
==17231==    at 0x4A2461: gprs_context_unregister (gprs.c:2143)
==17231==    by 0x46FEB0: __ofono_atom_unregister (modem.c:260)
==17231==    by 0x4703C9: modem_change_state (modem.c:407)
==17231==    by 0x470664: set_powered (modem.c:848)
==17231==    by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)

13 years agostkutil: Send at least the data currently available
Philippe Nunes [Wed, 4 May 2011 17:07:41 +0000 (19:07 +0200)]
stkutil: Send at least the data currently available

13 years agosim: Fix potential use of uninitialized variable
Denis Kenzior [Mon, 9 May 2011 04:27:17 +0000 (23:27 -0500)]
sim: Fix potential use of uninitialized variable

In certain circumstances, when the image has been cached but EFimg has
not been read yet, we might end up accessing an unitialized variable.
Fix this by always failing if EFimg has not been read yet.

13 years agoemulator: add AT+CMEE support for HFP
Frédéric Danis [Mon, 9 May 2011 15:13:06 +0000 (17:13 +0200)]
emulator: add AT+CMEE support for HFP

13 years agoemulator: add dun_ath_cb() and register it
Guillaume Zajac [Wed, 4 May 2011 15:39:05 +0000 (17:39 +0200)]
emulator: add dun_ath_cb() and register it

13 years agoemulator: add handler for ppp stream suspensions
Guillaume Zajac [Wed, 4 May 2011 15:39:03 +0000 (17:39 +0200)]
emulator: add handler for ppp stream suspensions

Resulting from the client sending '+++' escape sequence.

13 years agogatppp: Add API for setting suspend callback
Guillaume Zajac [Wed, 4 May 2011 15:39:01 +0000 (17:39 +0200)]
gatppp: Add API for setting suspend callback

In situations where the PPP stream can be suspended by the peer, e.g. in
the server role using '+++'

13 years agoppp_net: Reset the watch to zero when removing
Denis Kenzior [Mon, 9 May 2011 04:02:19 +0000 (23:02 -0500)]
ppp_net: Reset the watch to zero when removing

13 years agoppp_net: add ppp_net_suspend_interface() function
Guillaume Zajac [Wed, 4 May 2011 15:39:00 +0000 (17:39 +0200)]
ppp_net: add ppp_net_suspend_interface() function

13 years agogathdlc: delete read/write handler in hdlc_suspend
Guillaume Zajac [Wed, 4 May 2011 15:38:59 +0000 (17:38 +0200)]
gathdlc: delete read/write handler in hdlc_suspend

13 years agogathdlc: Add public suspend function
Guillaume Zajac [Wed, 4 May 2011 15:38:59 +0000 (17:38 +0200)]
gathdlc: Add public suspend function

13 years agogatchat: Fix memory leak with notify nodes list
Marcel Holtmann [Fri, 6 May 2011 16:19:54 +0000 (09:19 -0700)]
gatchat: Fix memory leak with notify nodes list

The list itself needs to be freed as well and not only its elements.

13 years agocall-forwarding: Fix uninitialized var warning
Bertrand Aygon [Fri, 6 May 2011 12:04:46 +0000 (14:04 +0200)]
call-forwarding: Fix uninitialized var warning

Fix a gcc 4.5.2 warning uninit var

13 years agovoicecall: CHLD support must be enclosed in a list
Denis Kenzior [Thu, 5 May 2011 03:29:08 +0000 (22:29 -0500)]
voicecall: CHLD support must be enclosed in a list

13 years agovoicecall: Simplify CHLD support generator
Denis Kenzior [Thu, 5 May 2011 03:19:56 +0000 (22:19 -0500)]
voicecall: Simplify CHLD support generator

In addition, fix ordering and make sure that lower case 'x' is used

13 years agovoicecall: CHLD call ids start at 1, not 0
Denis Kenzior [Thu, 5 May 2011 03:03:11 +0000 (22:03 -0500)]
voicecall: CHLD call ids start at 1, not 0

13 years agovoicecall: add +CHLD=2X support for HFP emulator
Frédéric Dalleau [Mon, 2 May 2011 15:48:08 +0000 (17:48 +0200)]
voicecall: add +CHLD=2X support for HFP emulator

13 years agovoicecall: add +CHLD=1X support for HFP emulator
Frédéric Dalleau [Mon, 2 May 2011 15:48:07 +0000 (17:48 +0200)]
voicecall: add +CHLD=1X support for HFP emulator

13 years agovoicecall: add +CHLD=4 support for HFP emulator
Frédéric Dalleau [Mon, 2 May 2011 15:48:06 +0000 (17:48 +0200)]
voicecall: add +CHLD=4 support for HFP emulator

13 years agovoicecall: add +CHLD=3 support for HFP emulator
Frédéric Dalleau [Mon, 2 May 2011 15:48:05 +0000 (17:48 +0200)]
voicecall: add +CHLD=3 support for HFP emulator

13 years agovoicecall: add +CHLD=0 support for HFP emulator
Frédéric Dalleau [Mon, 2 May 2011 15:48:04 +0000 (17:48 +0200)]
voicecall: add +CHLD=0 support for HFP emulator

13 years agovoicecall: add +CHLD support for HFP emulator
Frédéric Dalleau [Mon, 2 May 2011 15:48:03 +0000 (17:48 +0200)]
voicecall: add +CHLD support for HFP emulator

13 years agovoicecall: Fix variable initialization
Frédéric Dalleau [Mon, 2 May 2011 15:48:02 +0000 (17:48 +0200)]
voicecall: Fix variable initialization

13 years agogathdlc: Make sure to set in_read_handler properly
Denis Kenzior [Mon, 2 May 2011 12:13:52 +0000 (07:13 -0500)]
gathdlc: Make sure to set in_read_handler properly

13 years agogathdlc: Add support for detecting +++ escapes
Denis Kenzior [Mon, 2 May 2011 11:04:38 +0000 (06:04 -0500)]
gathdlc: Add support for detecting +++ escapes

13 years agogatio: add ability to drain GAtIO read buffer
Guillaume Zajac [Fri, 1 Apr 2011 08:56:04 +0000 (10:56 +0200)]
gatio: add ability to drain GAtIO read buffer

13 years agogat: add GAtSuspendFunc CB typedef
Guillaume Zajac [Fri, 1 Apr 2011 08:56:03 +0000 (10:56 +0200)]
gat: add GAtSuspendFunc CB typedef

13 years agosms: Remove use of uninitialized variable
Bertrand Aygon [Fri, 29 Apr 2011 13:20:08 +0000 (15:20 +0200)]
sms: Remove use of uninitialized variable

Remove a debug information, since the info is useless, and more,
it can display invalid info due to var not initialise in some case

13 years agomodem: Don't allow setting online unless powered
Denis Kenzior [Thu, 28 Apr 2011 14:48:48 +0000 (09:48 -0500)]
modem: Don't allow setting online unless powered

13 years agotest: Add swap-calls test script
Denis Kenzior [Thu, 28 Apr 2011 14:30:54 +0000 (09:30 -0500)]
test: Add swap-calls test script

13 years agogisi: log normal responses in a less confusing way
Pekka Pessi [Wed, 27 Apr 2011 12:45:14 +0000 (15:45 +0300)]
gisi: log normal responses in a less confusing way

13 years agobuild: Add send-vcal to Makefile.am
Denis Kenzior [Thu, 28 Apr 2011 14:19:43 +0000 (09:19 -0500)]
build: Add send-vcal to Makefile.am

13 years agotest: Add send-vcal test script
Bertrand Aygon [Thu, 28 Apr 2011 12:05:48 +0000 (14:05 +0200)]
test: Add send-vcal test script

13 years agotest: Add modem argument to send-vcard
Bertrand Aygon [Thu, 28 Apr 2011 12:02:01 +0000 (14:02 +0200)]
test: Add modem argument to send-vcard

13 years agotest: Add modem argument to send-sms
Bertrand Aygon [Thu, 28 Apr 2011 09:54:20 +0000 (11:54 +0200)]
test: Add modem argument to send-sms

13 years agoRelease 0.48 0.48
Marcel Holtmann [Tue, 26 Apr 2011 20:29:19 +0000 (13:29 -0700)]
Release 0.48

13 years agohuawei: Switch to offline mode only if offline
Martin Xu [Tue, 26 Apr 2011 09:16:48 +0000 (17:16 +0800)]
huawei: Switch to offline mode only if offline

13 years agohuawei: Check that the modem device is open
Martin Xu [Tue, 26 Apr 2011 09:07:43 +0000 (17:07 +0800)]
huawei: Check that the modem device is open

Don't create the gprs atom if the modem device was not opened
successfully.  Otherwise ofonod will crash.

13 years agogatppp: Fix crash related to not stopping timers
Martin Xu [Tue, 26 Apr 2011 09:07:42 +0000 (17:07 +0800)]
gatppp: Fix crash related to not stopping timers

In case of offline modem when GPRS data connection is connected, if gprs
atom is removed before PPP termination process is complete, the terminate_timer
will not be stop. It will cause ofonod crash when the timer times out.

13 years agovoicecall: fix waiting calls for HFP emulator
Frédéric Danis [Fri, 22 Apr 2011 15:44:02 +0000 (17:44 +0200)]
voicecall: fix waiting calls for HFP emulator

Fix precedence between waiting and dialing so HFP emulator is notified
of dialing/alerting even in case of a waiting call pending.

13 years agovoicecall: Update CLCC buffer size and comment
Denis Kenzior [Tue, 26 Apr 2011 19:41:52 +0000 (14:41 -0500)]
voicecall: Update CLCC buffer size and comment

13 years agovoicecall: Refactor the previous commit slightly
Denis Kenzior [Tue, 26 Apr 2011 19:40:35 +0000 (14:40 -0500)]
voicecall: Refactor the previous commit slightly

13 years agovoicecall: add +CLCC support for HFP emulator
Frédéric Dalleau [Fri, 22 Apr 2011 13:00:10 +0000 (15:00 +0200)]
voicecall: add +CLCC support for HFP emulator

13 years agoemulator: fix +CLIP in case of withheld call
Frédéric Danis [Wed, 20 Apr 2011 20:24:41 +0000 (22:24 +0200)]
emulator: fix +CLIP in case of withheld call

13 years agoemulator: Create both emulator types in example
Denis Kenzior [Wed, 20 Apr 2011 01:20:04 +0000 (20:20 -0500)]
emulator: Create both emulator types in example

13 years agohfp_ag: Be extra pedantic on plugin cleanup
Denis Kenzior [Tue, 19 Apr 2011 21:49:33 +0000 (16:49 -0500)]
hfp_ag: Be extra pedantic on plugin cleanup

13 years agodun_gw: Be extra pedantic on plugin cleanup
Denis Kenzior [Tue, 19 Apr 2011 21:49:12 +0000 (16:49 -0500)]
dun_gw: Be extra pedantic on plugin cleanup

13 years agodun_gw: Minor style tweak
Denis Kenzior [Tue, 19 Apr 2011 21:46:54 +0000 (16:46 -0500)]
dun_gw: Minor style tweak

13 years agohfp_ag: Minor style tweak
Denis Kenzior [Tue, 19 Apr 2011 21:39:11 +0000 (16:39 -0500)]
hfp_ag: Minor style tweak

13 years agovoicecall: Tweak the behavior of previous commit
Denis Kenzior [Tue, 19 Apr 2011 21:32:08 +0000 (16:32 -0500)]
voicecall: Tweak the behavior of previous commit

Use a generic void pointer to remove the need for emulator_release_done
function.

Use naming a bit more consistent with the rest of the codebase

13 years agovoicecall: add +CHUP support for HFP emulator
Frédéric Danis [Thu, 14 Apr 2011 12:27:04 +0000 (14:27 +0200)]
voicecall: add +CHUP support for HFP emulator

Update multirelease_callback to be used from DBus calls or HFP Emulator.
"release done" is configurable by multirelease caller.

13 years agovoicecall: Don't go over 80 characters per line
Denis Kenzior [Tue, 19 Apr 2011 21:24:23 +0000 (16:24 -0500)]
voicecall: Don't go over 80 characters per line

13 years agovoicecall: add ATA support for HFP emulator
Frédéric Danis [Wed, 13 Apr 2011 16:05:33 +0000 (18:05 +0200)]
voicecall: add ATA support for HFP emulator

13 years agoemulator: Use a switch/case instead of if
Denis Kenzior [Tue, 19 Apr 2011 18:31:37 +0000 (13:31 -0500)]
emulator: Use a switch/case instead of if

Seems a bit cleaner

13 years agoemulator: Reflow comments
Denis Kenzior [Tue, 19 Apr 2011 18:31:08 +0000 (13:31 -0500)]
emulator: Reflow comments

13 years agoemulator: add +CCWA support for HFP AG
Frédéric Danis [Wed, 13 Apr 2011 16:05:32 +0000 (18:05 +0200)]
emulator: add +CCWA support for HFP AG

13 years agoemulator: add +CLIP support for HFP AG
Frédéric Danis [Wed, 13 Apr 2011 16:05:31 +0000 (18:05 +0200)]
emulator: add +CLIP support for HFP AG

13 years agovoicecall: add API to find call by status
Frédéric Danis [Wed, 13 Apr 2011 16:05:30 +0000 (18:05 +0200)]
voicecall: add API to find call by status

13 years agoemulator: add RING for HFP AG
Frédéric Danis [Wed, 13 Apr 2011 16:05:29 +0000 (18:05 +0200)]
emulator: add RING for HFP AG

13 years agoisiusb: wait for MTC transitions, too
Pekka Pessi [Mon, 18 Apr 2011 13:24:52 +0000 (16:24 +0300)]
isiusb: wait for MTC transitions, too

13 years agoussd: Fix use of non-cloned gatchat object
Denis Kenzior [Mon, 18 Apr 2011 14:46:20 +0000 (09:46 -0500)]
ussd: Fix use of non-cloned gatchat object

13 years agoRelease 0.47 0.47
Marcel Holtmann [Thu, 14 Apr 2011 23:08:03 +0000 (16:08 -0700)]
Release 0.47

13 years agoTODO: Remove main.conf task
Denis Kenzior [Thu, 14 Apr 2011 22:53:19 +0000 (17:53 -0500)]
TODO: Remove main.conf task

No longer seems like a good idea

13 years agoTODO: set owner on DUN profile and DUN usb
Guillaume Zajac [Tue, 12 Apr 2011 15:42:43 +0000 (17:42 +0200)]
TODO: set owner on DUN profile and DUN usb

13 years agoTODO: Mark EFcsp task as done
Denis Kenzior [Thu, 14 Apr 2011 22:41:57 +0000 (17:41 -0500)]
TODO: Mark EFcsp task as done

13 years agosimutil: Add support of CPHS EFcsp to our EF db
Denis Kenzior [Thu, 14 Apr 2011 22:34:16 +0000 (17:34 -0500)]
simutil: Add support of CPHS EFcsp to our EF db

13 years agonetwork: One more trivial fix
Denis Kenzior [Thu, 14 Apr 2011 22:33:40 +0000 (17:33 -0500)]
network: One more trivial fix

total_length and record_length are the same in this context, but using
total_length makes the code more readable

13 years agodoc: Update possible errors for netreg-api
Denis Kenzior [Thu, 14 Apr 2011 22:01:38 +0000 (17:01 -0500)]
doc: Update possible errors for netreg-api

This is due to EFcsp PLMN mode changes

13 years agonetwork: Refactor EFcsp to support STK Refresh
Denis Kenzior [Thu, 14 Apr 2011 21:18:49 +0000 (16:18 -0500)]
network: Refactor EFcsp to support STK Refresh

13 years agonetwork: Use strings instead of ints in settings
Denis Kenzior [Thu, 14 Apr 2011 21:12:02 +0000 (16:12 -0500)]
network: Use strings instead of ints in settings

13 years agomodem: Fix entering offline mode prematurely
Denis Kenzior [Thu, 14 Apr 2011 19:39:55 +0000 (14:39 -0500)]
modem: Fix entering offline mode prematurely

A contextual change to __ofono_modem_find_atom has caused us to enter
into offline mode prematurely.  find_atom was changed to return only the
atoms that were registered, however the modem really has to know whether
the sim atom is created (not registered) in order to know whether to
wait for the SIM to be initialized or not.

13 years agosms: Fix typo
Denis Kenzior [Thu, 14 Apr 2011 18:29:17 +0000 (13:29 -0500)]
sms: Fix typo

13 years agonetwork: Read EFcsp after initializing reg state
Denis Kenzior [Thu, 14 Apr 2011 18:20:07 +0000 (13:20 -0500)]
network: Read EFcsp after initializing reg state

This is to avoid some benign race conditions when EFcsp might be read
before the registration state has been established.

13 years agonetwork: Try not to clash with 27.007-defined modes
Denis Kenzior [Thu, 14 Apr 2011 18:19:49 +0000 (13:19 -0500)]
network: Try not to clash with 27.007-defined modes

13 years agonetreg: Refactor register_callback
Denis Kenzior [Thu, 14 Apr 2011 17:31:45 +0000 (12:31 -0500)]
netreg: Refactor register_callback

13 years agonetreg: Add CPHS CSP implementation
Aki Niemi [Fri, 4 Feb 2011 13:44:47 +0000 (15:44 +0200)]
netreg: Add CPHS CSP implementation

13 years agoisimodem: Add SCA support to wgmodem2.5 driver
Aki Niemi [Thu, 14 Apr 2011 12:24:19 +0000 (15:24 +0300)]
isimodem: Add SCA support to wgmodem2.5 driver

13 years agoisimodem: Refactor sms driver
Aki Niemi [Thu, 14 Apr 2011 11:45:54 +0000 (14:45 +0300)]
isimodem: Refactor sms driver

13 years agoisimodem: Use constants where possible
Aki Niemi [Thu, 14 Apr 2011 11:45:09 +0000 (14:45 +0300)]
isimodem: Use constants where possible

13 years agoisimodem: Fix message sending in SMS driver
Aki Niemi [Thu, 14 Apr 2011 11:44:45 +0000 (14:44 +0300)]
isimodem: Fix message sending in SMS driver

The same enum name SMS_ROUTE_DEFAULT has different constants in
different modem API versions. This was causing "invalid parameter"
errors with some modems.

13 years agoisimodem: Fix macro to be safer to use
Aki Niemi [Thu, 14 Apr 2011 11:33:52 +0000 (14:33 +0300)]
isimodem: Fix macro to be safer to use

13 years agoisimodem: Add reahcbility check for CBS driver
Aki Niemi [Thu, 7 Apr 2011 09:19:42 +0000 (12:19 +0300)]
isimodem: Add reahcbility check for CBS driver

13 years agodoc: add emergency-call-handling.txt
Jeevaka Badrappan [Wed, 13 Apr 2011 17:05:16 +0000 (10:05 -0700)]
doc: add emergency-call-handling.txt

13 years agoRelease 0.46 0.46
Marcel Holtmann [Wed, 13 Apr 2011 17:02:23 +0000 (10:02 -0700)]
Release 0.46

13 years agoisimodem: fix call_create_resp handling
Pekka Pessi [Tue, 12 Apr 2011 14:33:29 +0000 (17:33 +0300)]
isimodem: fix call_create_resp handling

In case of call creation failure modem may return a valid call id in
order to send CALL_SERVICE_DENIED_IND which we do not handle.

Fixes MeeGo bug#15855.

13 years agoisimodem: Update SMS driver for wgmodem2.5
Aki Niemi [Tue, 12 Apr 2011 16:48:56 +0000 (19:48 +0300)]
isimodem: Update SMS driver for wgmodem2.5

Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>

13 years agoplugins: Remove wgmodem2.5 driver for netreg
Aki Niemi [Tue, 12 Apr 2011 16:45:34 +0000 (19:45 +0300)]
plugins: Remove wgmodem2.5 driver for netreg

13 years agoisimodem: Remove split voicecall driver
Aki Niemi [Tue, 12 Apr 2011 16:47:27 +0000 (19:47 +0300)]
isimodem: Remove split voicecall driver

Only a single driver created, with two clients checked for
reachability in parallel.