platform/upstream/ofono.git
14 years agoFix wrong escape character check in HDLC transmit
Marcel Holtmann [Sat, 24 Apr 2010 17:02:04 +0000 (19:02 +0200)]
Fix wrong escape character check in HDLC transmit

14 years agoAllow real wrapping around of HDLC transmit ring buffer
Marcel Holtmann [Sat, 24 Apr 2010 17:00:54 +0000 (19:00 +0200)]
Allow real wrapping around of HDLC transmit ring buffer

14 years agoAdd offset parameter to ring_buffer_write_ptr() function
Marcel Holtmann [Sat, 24 Apr 2010 16:59:44 +0000 (18:59 +0200)]
Add offset parameter to ring_buffer_write_ptr() function

14 years agoAdd support for wrapping of HDLC transmit ring buffer
Marcel Holtmann [Sat, 24 Apr 2010 16:54:34 +0000 (18:54 +0200)]
Add support for wrapping of HDLC transmit ring buffer

14 years agostkutil: Add parser for broadcast network info
Yang Gu [Thu, 22 Apr 2010 15:12:30 +0000 (23:12 +0800)]
stkutil: Add parser for broadcast network info

14 years agostkutil: Add parser for activate descriptor
Yang Gu [Thu, 22 Apr 2010 15:12:29 +0000 (23:12 +0800)]
stkutil: Add parser for activate descriptor

14 years agostkutil: Add parser for registry app data objects
Yang Gu [Thu, 22 Apr 2010 15:12:28 +0000 (23:12 +0800)]
stkutil: Add parser for registry app data objects

14 years agostkutil: Add parser for last envelope objects
Yang Gu [Thu, 22 Apr 2010 15:12:27 +0000 (23:12 +0800)]
stkutil: Add parser for last envelope objects

14 years agostkutil: Add parser for MMS notification objects
Yang Gu [Thu, 22 Apr 2010 15:12:26 +0000 (23:12 +0800)]
stkutil: Add parser for MMS notification objects

14 years agostkutil: Add parser for mm cid objects
Yang Gu [Thu, 22 Apr 2010 15:12:25 +0000 (23:12 +0800)]
stkutil: Add parser for mm cid objects

14 years agostkutil: Add parser for MMS transfer status
Yang Gu [Thu, 22 Apr 2010 15:12:24 +0000 (23:12 +0800)]
stkutil: Add parser for MMS transfer status

14 years agostkutil: Add parser for MMS identifier objects
Yang Gu [Thu, 22 Apr 2010 15:12:23 +0000 (23:12 +0800)]
stkutil: Add parser for MMS identifier objects

14 years agostkutil: Add parser for MMS reference objects
Yang Gu [Thu, 22 Apr 2010 15:12:22 +0000 (23:12 +0800)]
stkutil: Add parser for MMS reference objects

14 years agostkutil: Add parser for meid objects
Yang Gu [Thu, 22 Apr 2010 15:12:21 +0000 (23:12 +0800)]
stkutil: Add parser for meid objects

14 years agostkutil: Add parser for frames information objects
Yang Gu [Thu, 22 Apr 2010 15:12:20 +0000 (23:12 +0800)]
stkutil: Add parser for frames information objects

14 years agostkutil: Add parser for frame layout objects
Yang Gu [Thu, 22 Apr 2010 15:12:19 +0000 (23:12 +0800)]
stkutil: Add parser for frame layout objects

14 years agostkutil: Add parser for browsing status objects
Yang Gu [Thu, 22 Apr 2010 15:12:18 +0000 (23:12 +0800)]
stkutil: Add parser for browsing status objects

14 years agoFix a typo in telephony_error_to_str
Zhenhua Zhang [Fri, 23 Apr 2010 02:01:40 +0000 (10:01 +0800)]
Fix a typo in telephony_error_to_str

14 years agoUse HDLC_FCS helper where possible
Marcel Holtmann [Fri, 23 Apr 2010 15:22:56 +0000 (17:22 +0200)]
Use HDLC_FCS helper where possible

14 years agoUse HDLC constants instead of magic numbers
Marcel Holtmann [Fri, 23 Apr 2010 15:21:49 +0000 (17:21 +0200)]
Use HDLC constants instead of magic numbers

14 years agoAdd support for wrapping of HDLC receive ring buffer
Marcel Holtmann [Fri, 23 Apr 2010 15:18:30 +0000 (17:18 +0200)]
Add support for wrapping of HDLC receive ring buffer

14 years agoppp: Fix trivial style error
Denis Kenzior [Thu, 22 Apr 2010 22:58:29 +0000 (17:58 -0500)]
ppp: Fix trivial style error

14 years agoppp: change MTU on TUN device when MRU option received
Kristen Carlson Accardi [Thu, 22 Apr 2010 22:49:15 +0000 (15:49 -0700)]
ppp: change MTU on TUN device when MRU option received

14 years agoFix CTLV three-byte tag parsing.
Andrzej Zaborowski [Thu, 22 Apr 2010 09:13:04 +0000 (11:13 +0200)]
Fix CTLV three-byte tag parsing.

14 years agoppp: Request MRU if we ever get NAKed with it
Denis Kenzior [Thu, 22 Apr 2010 20:08:05 +0000 (15:08 -0500)]
ppp: Request MRU if we ever get NAKed with it

Huawei E160G hardware seems to NAK our configure request and suggest
that it will never send packets bigger than 1440 bytes.  Since we don't
particularly care (our receive ring buffer is 4K, so it can handle 2048
byte packets), we just re-send the Configure Request with the preferred
value.

14 years agoppp: Fix trivial copy paste error
Denis Kenzior [Thu, 22 Apr 2010 20:07:42 +0000 (15:07 -0500)]
ppp: Fix trivial copy paste error

14 years agoppp: Shut off IPCP when entering TERMINATING phase
Denis Kenzior [Thu, 22 Apr 2010 20:05:18 +0000 (15:05 -0500)]
ppp: Shut off IPCP when entering TERMINATING phase

14 years agoppp: implement MRU option
Kristen Carlson Accardi [Wed, 21 Apr 2010 22:26:30 +0000 (15:26 -0700)]
ppp: implement MRU option

If the peer requests a MRU option, set the mtu for the network
phase.  When we are in link establishment phase, we should
continue to behave as if no option has been set and the peer
should use the default MRU.

This option is required for the Huawei E160G modem.

14 years agombm: Add Dell 5530 modem port suffix
Zhenhua Zhang [Mon, 19 Apr 2010 01:39:49 +0000 (09:39 +0800)]
mbm: Add Dell 5530 modem port suffix

Dell 5530 seems to have three tty ports labeled:
"Dell Wireless 5530 HSPA Mobile Broadband Minicard Modem"
"Dell Wireless 5530 HSPA Mobile Broadband Minicard Modem 2"
"Dell Wireless 5530 HSPA Mobile Broadband Minicard GPS Port"

14 years agostkutil: Another trivial indentation fix
Denis Kenzior [Wed, 21 Apr 2010 15:29:27 +0000 (10:29 -0500)]
stkutil: Another trivial indentation fix

14 years agoAdd parser for battery state objects
Yang Gu [Wed, 21 Apr 2010 04:55:59 +0000 (12:55 +0800)]
Add parser for battery state objects

14 years agoAdd parser for network search mode objects
Yang Gu [Wed, 21 Apr 2010 04:55:58 +0000 (12:55 +0800)]
Add parser for network search mode objects

14 years agoAdd parser for imeisv objects
Yang Gu [Wed, 21 Apr 2010 04:55:57 +0000 (12:55 +0800)]
Add parser for imeisv objects

14 years agoAdd parser for item text attribute list objects
Yang Gu [Wed, 21 Apr 2010 04:55:56 +0000 (12:55 +0800)]
Add parser for item text attribute list objects

14 years agoAdd parser for cdma sms tpdu objects
Yang Gu [Wed, 21 Apr 2010 04:55:55 +0000 (12:55 +0800)]
Add parser for cdma sms tpdu objects

14 years agostkutil: Refactor network access name
Denis Kenzior [Wed, 21 Apr 2010 15:23:56 +0000 (10:23 -0500)]
stkutil: Refactor network access name

Don't allow 0 byte objects

14 years agoAdd parser for network access name objects
Yang Gu [Wed, 21 Apr 2010 04:55:54 +0000 (12:55 +0800)]
Add parser for network access name objects

14 years agostkutil: Trivial indentation fix
Denis Kenzior [Wed, 21 Apr 2010 15:17:20 +0000 (10:17 -0500)]
stkutil: Trivial indentation fix

14 years agoAdd parser for esn objects
Yang Gu [Wed, 21 Apr 2010 04:55:53 +0000 (12:55 +0800)]
Add parser for esn objects

14 years agostkutil: Refactor remote entity address
Denis Kenzior [Wed, 21 Apr 2010 15:14:04 +0000 (10:14 -0500)]
stkutil: Refactor remote entity address

Don't assign to the return structure until we know we can successfully
parse.

14 years agoAdd parser for remote entity address objects
Yang Gu [Wed, 21 Apr 2010 04:55:52 +0000 (12:55 +0800)]
Add parser for remote entity address objects

14 years agoAdd parser for service availability objects
Yang Gu [Wed, 21 Apr 2010 04:55:51 +0000 (12:55 +0800)]
Add parser for service availability objects

14 years agostkutil: Refactor attribute information
Denis Kenzior [Wed, 21 Apr 2010 15:09:12 +0000 (10:09 -0500)]
stkutil: Refactor attribute information

Only Bluetooth & IRDA are really defined by the specification

14 years agoAdd parser for attribute information objects
Yang Gu [Wed, 21 Apr 2010 04:55:50 +0000 (12:55 +0800)]
Add parser for attribute information objects

14 years agostkutil: Refactor service search
Denis Kenzior [Wed, 21 Apr 2010 15:07:32 +0000 (10:07 -0500)]
stkutil: Refactor service search

Only Bluetooth & IRDA are really defined by the specification

14 years agoAdd parser for service search objects
Yang Gu [Wed, 21 Apr 2010 04:55:49 +0000 (12:55 +0800)]
Add parser for service search objects

14 years agostkutil: refactor device filter
Denis Kenzior [Wed, 21 Apr 2010 15:04:13 +0000 (10:04 -0500)]
stkutil: refactor device filter

Only Bluetooth & IRDA are really defined by the specification

14 years agoAdd parser for device filter objects
Yang Gu [Wed, 21 Apr 2010 04:55:48 +0000 (12:55 +0800)]
Add parser for device filter objects

14 years agoAdd parser for service record objects
Yang Gu [Wed, 21 Apr 2010 04:55:47 +0000 (12:55 +0800)]
Add parser for service record objects

14 years agoAdd parser for display parameters objects
Yang Gu [Wed, 21 Apr 2010 04:55:46 +0000 (12:55 +0800)]
Add parser for display parameters objects

14 years agoAdd parser for access technology objects
Yang Gu [Wed, 21 Apr 2010 04:55:45 +0000 (12:55 +0800)]
Add parser for access technology objects

14 years agogisi: move g_isi_modem_by_name to separate file
Aki Niemi [Wed, 21 Apr 2010 07:47:16 +0000 (10:47 +0300)]
gisi: move g_isi_modem_by_name to separate file

This fixes build warnings that resulted from conflicts between
linux/if.h and net/if.h.

14 years agoAdd parser for aid objects
Yang Gu [Tue, 20 Apr 2010 06:14:57 +0000 (14:14 +0800)]
Add parser for aid objects

14 years agoAdd parser for UICC/TE transport interface level
Yang Gu [Tue, 20 Apr 2010 06:14:56 +0000 (14:14 +0800)]
Add parser for UICC/TE transport interface level

14 years agobuild: Upate test script list and sort
Denis Kenzior [Tue, 20 Apr 2010 17:15:27 +0000 (12:15 -0500)]
build: Upate test script list and sort

14 years agoMention Daniel's contributions
Denis Kenzior [Tue, 20 Apr 2010 17:06:06 +0000 (12:06 -0500)]
Mention Daniel's contributions

14 years agoAdd script for entering pin
Daniel Wagner [Tue, 20 Apr 2010 12:06:32 +0000 (14:06 +0200)]
Add script for entering pin

14 years agoMention Matthias' contributions
Denis Kenzior [Tue, 20 Apr 2010 17:03:53 +0000 (12:03 -0500)]
Mention Matthias' contributions

14 years agowavecom: Trivial comment update
Denis Kenzior [Tue, 20 Apr 2010 16:53:02 +0000 (11:53 -0500)]
wavecom: Trivial comment update

14 years agowavecom: Braces are not necessary
Denis Kenzior [Tue, 20 Apr 2010 16:52:41 +0000 (11:52 -0500)]
wavecom: Braces are not necessary

14 years agoAdded Wavecom modem plugin.
Matthias Günther [Tue, 20 Apr 2010 00:09:45 +0000 (02:09 +0200)]
Added Wavecom modem plugin.

The Wavecom WMP100 is a serial based modem, however it assumes CPIN to
be the final response.  This requires some quirking in the sim driver.

Refer to commit 6d28f82dc1ccb3de3a028a88eafb96fb001c7e61 for details.

14 years agoFix build warning on 64bit system
Aki Niemi [Tue, 20 Apr 2010 14:39:33 +0000 (17:39 +0300)]
Fix build warning on 64bit system

14 years agoAdd user authentication to gprs context driver
Aki Niemi [Tue, 20 Apr 2010 14:32:16 +0000 (17:32 +0300)]
Add user authentication to gprs context driver

14 years agoRefactor isimodem and gisi/netlink
Pekka Pessi [Mon, 19 Apr 2010 18:27:05 +0000 (21:27 +0300)]
Refactor isimodem and gisi/netlink

Now usbpnmodem plugin is used to register ISI modems.

14 years agoParse Interface key for isimodem and n900modem
Pekka Pessi [Mon, 19 Apr 2010 17:41:04 +0000 (20:41 +0300)]
Parse Interface key for isimodem and n900modem

14 years agoAdd infoserver to isimodem
Pekka Pessi [Tue, 13 Apr 2010 12:07:20 +0000 (15:07 +0300)]
Add infoserver to isimodem

The info server provides information from the mobile station to the
ISI modem.  Currently it returns the Software Version Number (SVN)
that is used in mobile identification.

14 years agogisi: add gisi server API
Pekka Pessi [Tue, 13 Apr 2010 12:02:49 +0000 (15:02 +0300)]
gisi: add gisi server API

14 years agogisi: fix cast-align warnings
Pekka Pessi [Tue, 13 Apr 2010 11:12:22 +0000 (14:12 +0300)]
gisi: fix cast-align warnings

14 years agogisi: check for NULL client and remove warnings
Pekka Pessi [Tue, 13 Apr 2010 11:11:59 +0000 (14:11 +0300)]
gisi: check for NULL client and remove warnings

14 years agogisi: move GIsiDebugFunc into modem.h
Pekka Pessi [Mon, 22 Mar 2010 20:17:37 +0000 (22:17 +0200)]
gisi: move GIsiDebugFunc into modem.h

14 years agoAdd SIM server state detection
Pekka Pessi [Tue, 13 Apr 2010 10:49:11 +0000 (13:49 +0300)]
Add SIM server state detection

Register isimodem SIM driver only when SIM server is ready. The best
way to find out that the server is truly ready is to read some data.

14 years agoFix: s/bootsrap/bootstrap/
Pekka Pessi [Mon, 22 Mar 2010 15:05:46 +0000 (17:05 +0200)]
Fix: s/bootsrap/bootstrap/

14 years agophonesim: Disable polling in phonesim for now
Denis Kenzior [Tue, 20 Apr 2010 13:52:03 +0000 (08:52 -0500)]
phonesim: Disable polling in phonesim for now

Seems that polling support in phonesim is less than working

14 years agoTrivial: Remove extra ':' from history output
Denis Kenzior [Tue, 20 Apr 2010 13:51:42 +0000 (08:51 -0500)]
Trivial: Remove extra ':' from history output

14 years agoImprove GPRS test scripts
Aki Niemi [Fri, 16 Apr 2010 19:42:27 +0000 (22:42 +0300)]
Improve GPRS test scripts

Catch some errors and add a script for removing contexts.

14 years agoAdd isimodem gprs context driver
Aki Niemi [Wed, 14 Apr 2010 12:25:54 +0000 (15:25 +0300)]
Add isimodem gprs context driver

14 years agoAdd isimodem gprs driver
Aki Niemi [Fri, 5 Feb 2010 10:22:44 +0000 (12:22 +0200)]
Add isimodem gprs driver

14 years agoAdd PN_GPDS code points and debugging
Aki Niemi [Fri, 5 Feb 2010 09:59:29 +0000 (11:59 +0200)]
Add PN_GPDS code points and debugging

14 years agoAdd SIM inserted notification
Aki Niemi [Tue, 20 Apr 2010 10:45:00 +0000 (13:45 +0300)]
Add SIM inserted notification

TODO: This is a temporary solution. Trigger the inserted notification
on actual SIM state changes instead.

14 years agogisi: fix pointer checking
Aki Niemi [Tue, 20 Apr 2010 09:59:12 +0000 (12:59 +0300)]
gisi: fix pointer checking

14 years agogisi/pep: check for NULL callback
Aki Niemi [Wed, 14 Apr 2010 12:25:00 +0000 (15:25 +0300)]
gisi/pep: check for NULL callback

14 years agoRemove declaration of unused dump_msg()
Aki Niemi [Fri, 5 Feb 2010 09:58:46 +0000 (11:58 +0200)]
Remove declaration of unused dump_msg()

14 years agoFix: Don't crash by calling sim watch too early
Denis Kenzior [Thu, 15 Apr 2010 21:39:44 +0000 (16:39 -0500)]
Fix: Don't crash by calling sim watch too early

The modem sim watch is only watching for removed and ready conditions,
so no need to call it prematurely

14 years agoFix: Make distcheck happy
Denis Kenzior [Thu, 15 Apr 2010 21:16:37 +0000 (16:16 -0500)]
Fix: Make distcheck happy

14 years agoRename ofono_atmodem_poll_enable
Denis Kenzior [Thu, 15 Apr 2010 21:13:42 +0000 (16:13 -0500)]
Rename ofono_atmodem_poll_enable

This is not official oFono API

14 years agoImplement STATUS polling in atmodem driver.
Andrzej Zaborowski [Fri, 9 Apr 2010 06:50:52 +0000 (08:50 +0200)]
Implement STATUS polling in atmodem driver.

14 years agoFix: should be unsigned char not guint8
Denis Kenzior [Thu, 15 Apr 2010 21:07:12 +0000 (16:07 -0500)]
Fix: should be unsigned char not guint8

14 years agoStyle: Proper indentation
Denis Kenzior [Thu, 15 Apr 2010 20:51:31 +0000 (15:51 -0500)]
Style: Proper indentation

14 years agoAdd AT driver for STK atom.
Andrzej Zaborowski [Fri, 9 Apr 2010 06:50:00 +0000 (08:50 +0200)]
Add AT driver for STK atom.

14 years agoStyle: Proper indentation
Denis Kenzior [Thu, 15 Apr 2010 20:01:05 +0000 (15:01 -0500)]
Style: Proper indentation

14 years agoRefactor: Keep separate lists for pre/post atoms
Denis Kenzior [Thu, 15 Apr 2010 19:49:59 +0000 (14:49 -0500)]
Refactor: Keep separate lists for pre/post atoms

14 years agoRefactor: use a switch/case to make more readable
Denis Kenzior [Thu, 15 Apr 2010 19:37:17 +0000 (14:37 -0500)]
Refactor: use a switch/case to make more readable

14 years agoRemove post-sim atoms after SIM is extracted.
Andrzej Zaborowski [Fri, 9 Apr 2010 06:49:39 +0000 (08:49 +0200)]
Remove post-sim atoms after SIM is extracted.

14 years agoRefactor: Store the sim object inside voicecalls
Denis Kenzior [Thu, 15 Apr 2010 19:00:46 +0000 (14:00 -0500)]
Refactor: Store the sim object inside voicecalls

Makes the logic a bit easier to follow.  Also use a switch/case inside
the sim state watcher.

14 years agoStyle: Proper indentation
Denis Kenzior [Thu, 15 Apr 2010 18:59:31 +0000 (13:59 -0500)]
Style: Proper indentation

14 years agoFix: The null check should be done elsewhere
Denis Kenzior [Thu, 15 Apr 2010 18:49:15 +0000 (13:49 -0500)]
Fix: The null check should be done elsewhere

14 years agoFix: Make the name a bit clearer
Denis Kenzior [Thu, 15 Apr 2010 18:49:03 +0000 (13:49 -0500)]
Fix: Make the name a bit clearer

14 years agoFix: No glib types in oFono public API
Denis Kenzior [Thu, 15 Apr 2010 18:48:17 +0000 (13:48 -0500)]
Fix: No glib types in oFono public API

14 years agoHandle EFen list when SIM inserted / removed
Andrzej Zaborowski [Fri, 9 Apr 2010 06:49:14 +0000 (08:49 +0200)]
Handle EFen list when SIM inserted / removed

14 years agoFix: Style issues in stk driver API
Denis Kenzior [Thu, 15 Apr 2010 18:16:41 +0000 (13:16 -0500)]
Fix: Style issues in stk driver API