Patrick Porlan [Wed, 2 Mar 2011 10:15:35 +0000 (11:15 +0100)]
gatchat: Optimize ringbuffer modulo operations
Replace modulo operations in ringbuffer.c by masking operations. This
is possible because the size of the ring buffers is always a power of
two, and yields a small performance improvement.
The improvement should be mostly visible on processors that implement
division in microcode (Atom) or lack a division instruction (ARM).
Denis Kenzior [Thu, 3 Mar 2011 04:38:29 +0000 (22:38 -0600)]
udev: Fix detection of mbm with GPS capabilities
Marcel Holtmann [Wed, 2 Mar 2011 07:21:35 +0000 (23:21 -0800)]
Release 0.44
Marcel Holtmann [Wed, 2 Mar 2011 07:07:50 +0000 (23:07 -0800)]
build: Fix wrong include of public header
Denis Kenzior [Tue, 1 Mar 2011 21:48:55 +0000 (15:48 -0600)]
mbm: Allow mbm modems that don't have GPS
Lucas De Marchi [Mon, 28 Feb 2011 13:43:53 +0000 (10:43 -0300)]
location-reporting: don't add client-exit watch too early
Wait until driver gives us a file descriptor to start watching for
client exit. This fixes a race when client exits before the driver
calls location_reporting_enable_cb().
Lucas De Marchi [Tue, 1 Mar 2011 14:25:39 +0000 (11:25 -0300)]
TODO: set owner of 'Dial strings' task
Andrzej Zaborowski [Mon, 28 Feb 2011 00:58:55 +0000 (01:58 +0100)]
stk: Make sure to reset respond_on_exit
This fixes a crash spotted by Lasse Kunnasluoto documented at
http://lists.ofono.org/pipermail/ofono/2011-February/009211.html
Denis Kenzior [Mon, 28 Feb 2011 22:10:43 +0000 (16:10 -0600)]
gsmdial: Introduce data_mode
If we're in PPP mode, then don't send unsolicited notifications. Only a
NO CARRIER is really allowed.
Denis Kenzior [Mon, 28 Feb 2011 22:05:31 +0000 (16:05 -0600)]
gatserver: Tweak use of g_at_server_suspend/resume
Denis Kenzior [Mon, 28 Feb 2011 22:04:21 +0000 (16:04 -0600)]
test-server: Make sure to send CONNECT
Before starting the ppp session we should make sure that the CONNECT
response has been sent on the wire.
Denis Kenzior [Mon, 28 Feb 2011 20:29:07 +0000 (14:29 -0600)]
gatserver: Exit garbage state on HDLC frame end
Denis Kenzior [Mon, 28 Feb 2011 20:27:50 +0000 (14:27 -0600)]
gatppp: Try to detect no carrier conditions
Denis Kenzior [Mon, 28 Feb 2011 20:26:26 +0000 (14:26 -0600)]
gatppp: Delay signaling ppp_down
Delay signaling of ppp_down until we exit the GAtHDLC read handler.
Otherwise exchanging the read handler on GAtIO might lead to funny
double consumption problems.
Denis Kenzior [Mon, 28 Feb 2011 20:24:39 +0000 (14:24 -0600)]
gathdlc: Try to detect no carrier conditions
Sometimes we receive the no carrier embedded in a stream following the
PPP packets. This might be due to write scheduling on the remote side
or read scheduling locally. Try not to consume the no carrier condition
and assume the previous hdlc frames will result in closing of the ppp
stack.
Denis Kenzior [Mon, 28 Feb 2011 20:11:38 +0000 (14:11 -0600)]
TODO: Add PPP section
Denis Kenzior [Mon, 28 Feb 2011 18:28:50 +0000 (12:28 -0600)]
gatio: Remove stray empty line
Denis Kenzior [Mon, 28 Feb 2011 18:19:57 +0000 (12:19 -0600)]
gatio: update comment
Denis Kenzior [Mon, 28 Feb 2011 18:14:48 +0000 (12:14 -0600)]
gathdlc: Unregister read / write handlers
When GAtHDLC is being unregistered make sure to unregister read / write
handlers so as not to crash.
Denis Kenzior [Mon, 28 Feb 2011 18:13:56 +0000 (12:13 -0600)]
gathdlc: drain the last hdlc frame processed
If we're being destroyed, we should drain the last HDLC frame
Denis Kenzior [Mon, 28 Feb 2011 18:13:01 +0000 (12:13 -0600)]
gsmdial: register notification before resuming
Denis Kenzior [Sat, 26 Feb 2011 06:30:28 +0000 (00:30 -0600)]
ppp: Remove some g_prints
Denis Kenzior [Sat, 26 Feb 2011 06:25:24 +0000 (00:25 -0600)]
ppp_cp: Replace some left over g_prints with DBG
Denis Kenzior [Sat, 26 Feb 2011 06:18:27 +0000 (00:18 -0600)]
gatppp: Replace some left-over g_prints with DBG
Denis Kenzior [Sat, 26 Feb 2011 06:14:29 +0000 (00:14 -0600)]
gatppp: Send the final terminate ack
In the case where we're going down, but have a pending terminate ack,
delay signaling the upper layers until the ack has been put on the wire.
Denis Kenzior [Sat, 26 Feb 2011 06:13:42 +0000 (00:13 -0600)]
gatppp: Add a debug macro
Denis Kenzior [Sat, 26 Feb 2011 06:12:02 +0000 (00:12 -0600)]
gatio: Add write 'done' notifier
This allows external clients to get notified when GAtIO no longer has a
registered write watcher. E.g. no more data is currently pending.
Denis Kenzior [Sat, 26 Feb 2011 06:11:09 +0000 (00:11 -0600)]
test-server: Remove root user check
Denis Kenzior [Sat, 26 Feb 2011 02:36:15 +0000 (20:36 -0600)]
gatserver: Update the internal command parsers
commit
61b30c025d3d461bfd577de29f27f4f9a5546213 changed the way the
command callbacks are being called (namely the contents of the GAtResult
object). Most command callbacks were updated, but the internal ones
were forgotten. This patch fixes this issue.
Denis Kenzior [Fri, 25 Feb 2011 20:21:43 +0000 (14:21 -0600)]
AUTHORS: Mention Antoine's contributions
Antoine Reversat [Fri, 25 Feb 2011 19:23:18 +0000 (14:23 -0500)]
voicecall: Add CNAP debugging ofono voicecall
Antoine Reversat [Fri, 25 Feb 2011 19:23:17 +0000 (14:23 -0500)]
isi: Add CNAP support for isimodem
Antoine Reversat [Fri, 25 Feb 2011 19:23:16 +0000 (14:23 -0500)]
isi: Clean up isi_call_any_address_sb_proc
Denis Kenzior [Fri, 25 Feb 2011 17:53:10 +0000 (11:53 -0600)]
sim: Document fall through case in switchcase
Jussi Kangas [Fri, 25 Feb 2011 13:20:16 +0000 (15:20 +0200)]
sim: check lock state with call meter
Jussi Kangas [Fri, 25 Feb 2011 13:20:16 +0000 (15:20 +0200)]
sim: Expose the __ofono_sim_recheck_pin API
Jussi Kangas [Fri, 25 Feb 2011 13:20:16 +0000 (15:20 +0200)]
sim: Do not teardown SIM state when PIN2 is asked
We should not tear down the SIM state if PIN2 is being asked for, or if
PIN2 is blocked and PUK2 is being asked.
We also want to continue with SIM initialization if the modem requires
PIN2 / PUK2 for some reason.
Jarko Poutiainen [Fri, 25 Feb 2011 08:38:14 +0000 (10:38 +0200)]
TODO: ownership change of E911 support
Denis Kenzior [Thu, 24 Feb 2011 20:45:51 +0000 (14:45 -0600)]
gatchat: Fix minor style issues
Jessica Nilsson [Wed, 23 Feb 2011 11:43:26 +0000 (12:43 +0100)]
isimodem: code points for sms wgmodem2.5
Aki Niemi [Thu, 24 Feb 2011 09:09:49 +0000 (11:09 +0200)]
isimodem: Remove inter-driver API for now
Jessica Nilsson [Wed, 23 Feb 2011 11:43:18 +0000 (12:43 +0100)]
isimodem: code points uicc sim wgmodem2.5
Jessica Nilsson [Thu, 24 Feb 2011 08:47:11 +0000 (10:47 +0200)]
simutil: Add missing SIM enum
Jessica Nilsson [Wed, 23 Feb 2011 11:43:15 +0000 (12:43 +0100)]
plugins: add u8500 to udev
Frédéric Danis [Thu, 24 Feb 2011 17:16:06 +0000 (18:16 +0100)]
emulator: add support of void parameters in CMER
Frédéric Danis [Thu, 24 Feb 2011 17:16:05 +0000 (18:16 +0100)]
gatchat: add g_at_result_iter_next_number_default API
Paavo Leinonen [Thu, 24 Feb 2011 08:33:58 +0000 (10:33 +0200)]
common: '+' is not valid phone number anymore
Reject phone number if it contains only plus sign.
Denis Kenzior [Thu, 24 Feb 2011 15:46:28 +0000 (09:46 -0600)]
emulator: Remove unneeded parens
Denis Kenzior [Thu, 24 Feb 2011 01:06:07 +0000 (19:06 -0600)]
doc: Tweak location reporting API
Denis Kenzior [Wed, 23 Feb 2011 23:34:48 +0000 (17:34 -0600)]
gitignore: add get-location binary
Denis Kenzior [Wed, 23 Feb 2011 23:33:46 +0000 (17:33 -0600)]
get-location: fix compilation error
If fd-passing is not enabled, we get a compiler error.
Lucas De Marchi [Wed, 23 Feb 2011 19:49:44 +0000 (16:49 -0300)]
tools: add client to receive location reporting
As of now there's no support for fd-passing in D-Bus Python bindings,
hence a small C client is needed in order to test location-reporting
atom.
Rafael Ignacio Zurita [Tue, 22 Feb 2011 18:35:15 +0000 (15:35 -0300)]
location-reporting: add documentation
Rafael Ignacio Zurita [Tue, 22 Feb 2011 18:35:14 +0000 (15:35 -0300)]
udev: add location-reporting device to mbm
Rafael Ignacio Zurita [Tue, 22 Feb 2011 18:35:13 +0000 (15:35 -0300)]
mbm: add location-reporting atom
Rafael Ignacio Zurita [Tue, 22 Feb 2011 18:35:12 +0000 (15:35 -0300)]
mbmmodem: add location-reporting driver
Rafael Ignacio Zurita [Tue, 22 Feb 2011 18:35:11 +0000 (15:35 -0300)]
location-reporting: add atom implementation
Rafael Ignacio Zurita [Tue, 22 Feb 2011 18:35:10 +0000 (15:35 -0300)]
location-reporting: add public header
Denis Kenzior [Wed, 23 Feb 2011 20:07:04 +0000 (14:07 -0600)]
emulator: return if SLC is not yet established
Frédéric Danis [Wed, 23 Feb 2011 19:00:26 +0000 (20:00 +0100)]
emulator: add BRSF support
Frédéric Danis [Wed, 23 Feb 2011 19:00:25 +0000 (20:00 +0100)]
emulator: add CMER support
Denis Kenzior [Wed, 23 Feb 2011 17:17:28 +0000 (11:17 -0600)]
emulator: Reflow the code slightly
Frédéric Danis [Wed, 23 Feb 2011 17:02:14 +0000 (18:02 +0100)]
emulator: add CIND support
Frédéric Danis [Wed, 23 Feb 2011 17:02:13 +0000 (18:02 +0100)]
emulator: add support of indicators
Frédéric Danis [Wed, 23 Feb 2011 15:48:48 +0000 (16:48 +0100)]
emulator: add indicator support API
Frédéric Dalleau [Wed, 23 Feb 2011 13:19:13 +0000 (14:19 +0100)]
emulator: Disable echo for hfp emulators
Frédéric Dalleau [Wed, 23 Feb 2011 13:19:12 +0000 (14:19 +0100)]
gatserver: Add function to enable/disable echo
Aki Niemi [Wed, 23 Feb 2011 13:22:56 +0000 (15:22 +0200)]
u8500: Fix plugin description
Jessica Nilsson [Wed, 23 Feb 2011 13:22:14 +0000 (15:22 +0200)]
build: Add u8500 plugin
Jessica Nilsson [Wed, 23 Feb 2011 11:43:14 +0000 (12:43 +0100)]
plugins: add plugin for u8500
Jessica Nilsson [Wed, 23 Feb 2011 11:43:13 +0000 (12:43 +0100)]
isimodem: added codepoints for u8500
Denis Kenzior [Tue, 22 Feb 2011 18:06:09 +0000 (12:06 -0600)]
ste: Fix various style issues with previous patch
Jussi Kangas [Mon, 14 Feb 2011 08:40:53 +0000 (10:40 +0200)]
ste: preparation for hotswap
Olivier Guiter [Tue, 22 Feb 2011 14:54:45 +0000 (15:54 +0100)]
gatserver: Add various ATSx handlers
Rolf Offermanns [Tue, 22 Feb 2011 13:36:38 +0000 (14:36 +0100)]
ofono.rules: remove patch leftovers in linktop rules
Marit Henriksen [Mon, 21 Feb 2011 11:59:11 +0000 (12:59 +0100)]
stemodem: Add support for multiple pdp contexts.
Redesigned, there will be only one contexts for each instance of
the driver and only one CAIF interface, no longer need the list
of caif devices.
Marit Henriksen [Mon, 21 Feb 2011 11:58:55 +0000 (12:58 +0100)]
ste: Add support for multiple pdp contexts.
Denis Kenzior [Sat, 19 Feb 2011 22:05:54 +0000 (16:05 -0600)]
emulator: fix whitespace corruption
Andrzej Zaborowski [Sat, 19 Feb 2011 10:00:38 +0000 (11:00 +0100)]
AUTHORS: Deduplicate
As noted on IRC.
Gustavo F. Padovan [Fri, 18 Feb 2011 17:27:34 +0000 (14:27 -0300)]
emulator: add dialing support
It handles client ATD*99# request and then initiate the PPP negotiation.
IP forward through the new ppp interface is not done yet.
Initially based on patches from Zhenhua Zhang <zhenhua.zhang@intel.com>
Denis Kenzior [Fri, 18 Feb 2011 17:24:08 +0000 (11:24 -0600)]
sim: Check for SIM lockout condition
When a user tries to lock/unlock/change a PIN and enters it wrongly
several times, it is possible to lock themselves out. In this case we
should drop to a pre-sim state, wait for the user to enter the PUK and
re-init the sim.
Denis Kenzior [Fri, 18 Feb 2011 17:20:10 +0000 (11:20 -0600)]
sim: Move stuff around and remove forward decl
Denis Kenzior [Fri, 18 Feb 2011 17:19:27 +0000 (11:19 -0600)]
sim: move stuff around
Aki Niemi [Fri, 18 Feb 2011 14:13:06 +0000 (16:13 +0200)]
isimodem: Refactor gprs-context driver
Use stack allocation for padding, and simplify message sending and
failure handling.
Jessica Nilsson [Tue, 15 Feb 2011 12:31:05 +0000 (13:31 +0100)]
isimodem: Context driver updates for wgmodem2.5
Aki Niemi [Wed, 16 Feb 2011 13:52:47 +0000 (15:52 +0200)]
isiusb: Create also the wgmodem2.5 driver
Aki Niemi [Wed, 16 Feb 2011 13:47:27 +0000 (15:47 +0200)]
isimodem: Refactor netreg driver a bit more
Split the driver into two separate drivers, one for each resource ID
used.
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:49 +0000 (19:00 -0300)]
bluetooth: add DBG() messages
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:48 +0000 (19:00 -0300)]
bluetooth: fix crash by removing record
When bluetoothd is not running we should not call RemoveRecord()
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:47 +0000 (19:00 -0300)]
bluetooth: change how we report DBus errors
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:46 +0000 (19:00 -0300)]
bluetooth: add a bluetoothd connect watch
This fix a issue with sending DBus messages when bluetoothd is not up yet.
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:45 +0000 (19:00 -0300)]
bluetooth: move find_adapter_cb to better place.
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:59 +0000 (08:58 +0100)]
stk: Partially handle Refresh command
Only the four "NAA initialisation" modes are handled at the moment.
Denis Kenzior [Thu, 17 Feb 2011 20:49:03 +0000 (14:49 -0600)]
cbs: Set topics on EFcbmid change only if powered
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:56 +0000 (08:58 +0100)]
cbs: Watch for changes to relevant SIM files
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:55 +0000 (08:58 +0100)]
network: Watch for changes to relevant SIM files
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:54 +0000 (08:58 +0100)]
voicecall: Watch for changes to relevant SIM files
Denis Kenzior [Thu, 17 Feb 2011 20:20:04 +0000 (14:20 -0600)]
sim: Tweak the behavior of sim_refresh slightly
Instead of notifying everyone of sim_inserted condition, we should
simply notify the modem directly. It is the only one interested in this
particular change.
This partly reverts an earlier commit:
9498ad6b5633e350eb529f8efbe08270d95c8003
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:52 +0000 (08:58 +0100)]
sim: Implement basic Refresh
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:51 +0000 (08:58 +0100)]
modem.c: Handle SIM Resets
The assumption so far was that SIM state would only go from
NOT_PRESENT -> INSERTED -> READY -> NOT_PRESENT because there's
no method to unauthenticate from SIM without removing. We need to
be able to switch to INSERTED when SIM is being reset,
reinitialised, etc. because going to NOT_PRESENT and then
immediately INSERTED would be logically wrong.