OSDN Git Service

android-x86/external-bluetooth-bluez.git
10 years agoandroid/hal-audio: Return proper buffer size to AudioFlinger
Andrzej Kaczmarek [Wed, 22 Jan 2014 10:34:50 +0000 (11:34 +0100)]
android/hal-audio: Return proper buffer size to AudioFlinger

10 years agoandroid/hal-audio: Add resume to codec callbacks
Andrzej Kaczmarek [Wed, 22 Jan 2014 10:34:49 +0000 (11:34 +0100)]
android/hal-audio: Add resume to codec callbacks

Once stream is resumed it may be required to reset some state of codec,
i.e. in case of SBC we need to reset monotonic clock and frames count
which are used for synchronization.

10 years agoandroid/hal-audio: Calculate SBC stream parameters
Andrzej Kaczmarek [Wed, 22 Jan 2014 10:34:48 +0000 (11:34 +0100)]
android/hal-audio: Calculate SBC stream parameters

This patch adds necessary calculations for SBC stream parameters.

Both input and output buffers are expected to have exact amount of
data to fill single media packet (based on transport channel MTU).

Frame duration will be used to synchronize input and output streams.

10 years agoandroid/hal-audio: Initialize SBC encoder
Andrzej Kaczmarek [Wed, 22 Jan 2014 10:34:47 +0000 (11:34 +0100)]
android/hal-audio: Initialize SBC encoder

10 years agoandroid/hal-audio: Rename sbc_init to avoid collision with libsbc
Andrzej Kaczmarek [Wed, 22 Jan 2014 10:34:46 +0000 (11:34 +0100)]
android/hal-audio: Rename sbc_init to avoid collision with libsbc

10 years agoandroid: Build Audio HAL with SBC
Andrzej Kaczmarek [Wed, 22 Jan 2014 10:34:45 +0000 (11:34 +0100)]
android: Build Audio HAL with SBC

Build for Android requires libsbc sources to be available in
external/bluetooth/sbc. Build for host requires libsbc package to be
installed.

10 years agoandroid: Add MTU data to Open Stream Audio IPC
Andrzej Kaczmarek [Wed, 22 Jan 2014 10:34:44 +0000 (11:34 +0100)]
android: Add MTU data to Open Stream Audio IPC

MTU value for transport channel is sent in Open Stream response, which
is required to calculate number of frames which can be packed into
single media packet.

This is to avoid including GPLv2 licensed headers in Audio HAL
implementation.

10 years agoandroid/tester: Update hidhost tests with DeviceID SDP search
Szymon Janc [Wed, 22 Jan 2014 22:46:00 +0000 (23:46 +0100)]
android/tester: Update hidhost tests with DeviceID SDP search

10 years agoandroid/hidhost: Fix vid and pid information
Andrzej Kaczmarek [Wed, 22 Jan 2014 17:46:37 +0000 (18:46 +0100)]
android/hidhost: Fix vid and pid information

For HID device vendor, product and version numbers should be retrieved
using Device ID profile which is mandatory for devices implementing
HIDP.

10 years agoandroid/pan: Remove not needed intialization to NULL
Szymon Janc [Wed, 22 Jan 2014 16:35:52 +0000 (17:35 +0100)]
android/pan: Remove not needed intialization to NULL

10 years agoandroid/pan: Fix possible NULL dereference
Andrei Emeltchenko [Wed, 22 Jan 2014 16:03:58 +0000 (18:03 +0200)]
android/pan: Fix possible NULL dereference

It is better to return here since dev is not allocated and assigned NULL
value.

10 years agoandroid/ipc: trivial: Remove empty line
Andrei Emeltchenko [Wed, 22 Jan 2014 16:03:57 +0000 (18:03 +0200)]
android/ipc: trivial: Remove empty line

10 years agocore: Remove __TEXTFILE_H header inclusion protection
Marcel Holtmann [Wed, 22 Jan 2014 16:01:35 +0000 (08:01 -0800)]
core: Remove __TEXTFILE_H header inclusion protection

10 years agotools: Close file descriptors in the calling function
Marcel Holtmann [Wed, 22 Jan 2014 15:53:35 +0000 (07:53 -0800)]
tools: Close file descriptors in the calling function

10 years agounit/avdtp: Remove extra zero table entry
Andrei Emeltchenko [Wed, 22 Jan 2014 12:21:26 +0000 (14:21 +0200)]
unit/avdtp: Remove extra zero table entry

Remove not needed table entry copied, probably, from unit/sdp

10 years agounit/sdp: Remove extra zero table entry
Andrei Emeltchenko [Wed, 22 Jan 2014 12:14:58 +0000 (14:14 +0200)]
unit/sdp: Remove extra zero table entry

It is enough to have one zero table entry at the end of the table.

10 years agobtproxy: Fix resource leak
Andrei Emeltchenko [Wed, 22 Jan 2014 11:00:42 +0000 (13:00 +0200)]
btproxy: Fix resource leak

Close file descriptors if setup_proxy fails.

10 years agoandroid/pan: Fix wrong freeing dev
Andrei Emeltchenko [Wed, 22 Jan 2014 10:48:57 +0000 (12:48 +0200)]
android/pan: Fix wrong freeing dev

It does make sense free() dev after it is used. g_free() is not needed
here since it will be already executed in bt_pan_notify_conn_state().

10 years agotools/l2cap-tester: Fix indentation
Johan Hedberg [Tue, 21 Jan 2014 11:09:45 +0000 (13:09 +0200)]
tools/l2cap-tester: Fix indentation

10 years agoandroid: Refactor paths in Android.mk
Andrzej Kaczmarek [Tue, 21 Jan 2014 23:45:53 +0000 (00:45 +0100)]
android: Refactor paths in Android.mk

Using source paths relative to android/ directory created mess in
Android's obj directory since object files are created also relative
to bluetoothd_intermediates (thus can be created outside it).

To avoid this we set LOCAL_PATH to absolute path (in terms of Android
build root) of directory in which bluez/ is located and change and
update source paths accordingly.

This also allows us to build in future glib and sbc easily using
Android.mk in BlueZ.

10 years agoandroid: Add l2ping to debug builds
Andrzej Kaczmarek [Tue, 21 Jan 2014 19:46:10 +0000 (20:46 +0100)]
android: Add l2ping to debug builds

10 years agoandroid: Add btmgmt to debug builds
Andrzej Kaczmarek [Tue, 21 Jan 2014 19:46:09 +0000 (20:46 +0100)]
android: Add btmgmt to debug builds

10 years agoandroid/ipc: Leave the connect callback to handle errors
Luiz Augusto von Dentz [Tue, 21 Jan 2014 14:00:59 +0000 (16:00 +0200)]
android/ipc: Leave the connect callback to handle errors

It is not necessary to check connect errors since there is a watch
created for that.

10 years agoandroid/A2DP: Add retry logic to Audio IPC
Luiz Augusto von Dentz [Tue, 21 Jan 2014 14:00:58 +0000 (16:00 +0200)]
android/A2DP: Add retry logic to Audio IPC

In case the audio HAL disconnects without cleaning up its endpoints treat
it as unclean disconnection and attempt to reconnect.

10 years agodoc: Update android-tester coverage statistics
Szymon Janc [Tue, 21 Jan 2014 15:19:18 +0000 (16:19 +0100)]
doc: Update android-tester coverage statistics

10 years agoandroid/tester: Add HIDhost GetReport test
Ravi kumar Veeramally [Tue, 21 Jan 2014 12:24:19 +0000 (14:24 +0200)]
android/tester: Add HIDhost GetReport test

10 years agoandroid/hidhost: Fix miscalculation of get report event notification length
Ravi kumar Veeramally [Tue, 21 Jan 2014 12:24:18 +0000 (14:24 +0200)]
android/hidhost: Fix miscalculation of get report event notification length

Event length is size of struct + data len (if any). It is miscalulated.

10 years agoandroid: Fix build error due to glib-helper.c rename
Szymon Janc [Tue, 21 Jan 2014 14:49:57 +0000 (15:49 +0100)]
android: Fix build error due to glib-helper.c rename

10 years agoandroid/bluetooth: Move option_index declaration to close other static
Szymon Janc [Tue, 21 Jan 2014 14:19:43 +0000 (15:19 +0100)]
android/bluetooth: Move option_index declaration to close other static

Don't intermix defines with static variables.

10 years agoplugins/neard: Use correct service UUID free function
Johan Hedberg [Tue, 21 Jan 2014 13:05:30 +0000 (15:05 +0200)]
plugins/neard: Use correct service UUID free function

10 years agoeir: Remove GLib usage from service UUID allocation
Johan Hedberg [Tue, 21 Jan 2014 12:59:31 +0000 (14:59 +0200)]
eir: Remove GLib usage from service UUID allocation

10 years agotools/btmgmt: Remove unneeded GLib linkage
Johan Hedberg [Tue, 21 Jan 2014 12:54:19 +0000 (14:54 +0200)]
tools/btmgmt: Remove unneeded GLib linkage

10 years agosrc/uuid-helper: Remove unnecessary GLib usage"
Johan Hedberg [Tue, 21 Jan 2014 12:47:31 +0000 (14:47 +0200)]
src/uuid-helper: Remove unnecessary GLib usage"

10 years agocore: Don't use GLib allocators for bt_uuid2string and bt_name2string
Johan Hedberg [Tue, 21 Jan 2014 12:46:47 +0000 (14:46 +0200)]
core: Don't use GLib allocators for bt_uuid2string and bt_name2string

10 years agocore: Convert bt_modalias to use asprintf over GLib
Johan Hedberg [Tue, 21 Jan 2014 12:30:25 +0000 (14:30 +0200)]
core: Convert bt_modalias to use asprintf over GLib

10 years agoRename glib-helper to uuid-helper
Johan Hedberg [Tue, 21 Jan 2014 12:12:00 +0000 (14:12 +0200)]
Rename glib-helper to uuid-helper

10 years agotools/btmgmt: Remove unneeded GLib include
Johan Hedberg [Tue, 21 Jan 2014 11:58:40 +0000 (13:58 +0200)]
tools/btmgmt: Remove unneeded GLib include

10 years agotools/btmgmt: Remove src/eir.c dependency
Johan Hedberg [Tue, 21 Jan 2014 11:54:30 +0000 (13:54 +0200)]
tools/btmgmt: Remove src/eir.c dependency

10 years agoandroid/A2DP: Fix sending notification on bt_a2dp_unregister
Luiz Augusto von Dentz [Mon, 20 Jan 2014 12:23:26 +0000 (14:23 +0200)]
android/A2DP: Fix sending notification on bt_a2dp_unregister

At this point IPC might have been closed already.

10 years agodoc: Update l2cap-tester test case count
Johan Hedberg [Tue, 21 Jan 2014 11:08:11 +0000 (13:08 +0200)]
doc: Update l2cap-tester test case count

10 years agotools/l2cap-tester: Implement basic command reject test for LE
Johan Hedberg [Tue, 21 Jan 2014 11:03:36 +0000 (13:03 +0200)]
tools/l2cap-tester: Implement basic command reject test for LE

10 years agotools/l2cap-tester: Add support for custom responses for client tests
Johan Hedberg [Tue, 21 Jan 2014 10:52:18 +0000 (12:52 +0200)]
tools/l2cap-tester: Add support for custom responses for client tests

10 years agotools/l2cap-tester: Rename expect_req* to expect_cmd to allow reuse for client
Johan Hedberg [Tue, 21 Jan 2014 10:40:27 +0000 (12:40 +0200)]
tools/l2cap-tester: Rename expect_req* to expect_cmd to allow reuse for client

10 years agotools/l2cap-tester: Rename send_req* to send_cmd to allow reuse for client
Johan Hedberg [Tue, 21 Jan 2014 10:38:39 +0000 (12:38 +0200)]
tools/l2cap-tester: Rename send_req* to send_cmd to allow reuse for client

10 years agoemulator: Fix unaligned memory access compilation errors
Anderson Lizardo [Tue, 21 Jan 2014 01:46:09 +0000 (21:46 -0400)]
emulator: Fix unaligned memory access compilation errors

The u128_xor() function does proper aligned access and accepts void *
arguments, therefore the casts are unnecessary and trigger clang errors.

10 years agoRelease 5.14
Marcel Holtmann [Tue, 21 Jan 2014 02:28:10 +0000 (18:28 -0800)]
Release 5.14

10 years agobuild: Update library version
Marcel Holtmann [Tue, 21 Jan 2014 01:56:14 +0000 (17:56 -0800)]
build: Update library version

10 years agolib: Update company identifiers
Marcel Holtmann [Tue, 21 Jan 2014 01:50:57 +0000 (17:50 -0800)]
lib: Update company identifiers

10 years agodoc: Add Android ipc-tester to coverage statistics
Szymon Janc [Mon, 20 Jan 2014 21:50:05 +0000 (22:50 +0100)]
doc: Add Android ipc-tester to coverage statistics

10 years agoandroid/ipc-tester: Add cases for BT message data size
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:10 +0000 (10:36 +0100)]
android/ipc-tester: Add cases for BT message data size

This patch adds sending invalid size data for each of
Bluetooth service opcodes.

10 years agoandroid/ipc-tester: Add cases for Core message data size
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:09 +0000 (10:36 +0100)]
android/ipc-tester: Add cases for Core message data size

Add testing for improper data sizes for Core service opcodes.

10 years agoandroid/ipc-tester: Add cases for service opcode boundaries
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:08 +0000 (10:36 +0100)]
android/ipc-tester: Add cases for service opcode boundaries

This patch adds tests sending out of range opcode for each service.

10 years agoandroid/ipc-tester: Add more cases for malformed data
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:07 +0000 (10:36 +0100)]
android/ipc-tester: Add more cases for malformed data

This patch adds tests for more types of possible data malformations.

10 years agoandroid/ipc-tester: Add basic test cases for IPC's daemon site
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:06 +0000 (10:36 +0100)]
android/ipc-tester: Add basic test cases for IPC's daemon site

This patch adds first few test cases checking for proper daemon
termination in case of receiving invalid IPC data.

10 years agoandroid/ipc-tester: Register services
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:05 +0000 (10:36 +0100)]
android/ipc-tester: Register services

This patch adds basic bluetooth service registration during setup procedure.
Without this daemon would reject commands for not registered services.

10 years agoandroid/ipc-tester: Add sending test data with ipc
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:04 +0000 (10:36 +0100)]
android/ipc-tester: Add sending test data with ipc

This patch adds some data structures used to send data with ipc during
test setup and run stage. Test execution macro is extended for easy
data preparation.

10 years agoandroid/ipc-tester: Add daemon shutdown handler
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:03 +0000 (10:36 +0100)]
android/ipc-tester: Add daemon shutdown handler

Handle daemon shutdown asynchronously.

10 years agoandroid/ipc-tester: Add IPC initialization
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:02 +0000 (10:36 +0100)]
android/ipc-tester: Add IPC initialization

This patch adds IPC mechanism initialization.
The deamon is being started and IPC socket connection is established.

10 years agoandroid/ipc-tester: Run daemon in separate process
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:01 +0000 (10:36 +0100)]
android/ipc-tester: Run daemon in separate process

This patch adds new process waiting to run daemon when needed.

10 years agoandroid/ipc-tester: Skeleton for ipc negative tester
Jakub Tyszkowski [Mon, 20 Jan 2014 09:36:00 +0000 (10:36 +0100)]
android/ipc-tester: Skeleton for ipc negative tester

Add skeleton for ipc negative testing.

10 years agoobexd/irmc: Fix folder for LUID requests
Harald Schmitt [Mon, 20 Jan 2014 17:39:18 +0000 (18:39 +0100)]
obexd/irmc: Fix folder for LUID requests

The old macro PB_LUID_FOLDER had the folder luid on the second level:
/telecom/luid. But the luid folder occurs per IrMC spec on level three
e.g. /telecom/pb/luid.

10 years agodoc: Update l2cap-tester test count
Johan Hedberg [Mon, 20 Jan 2014 18:54:48 +0000 (20:54 +0200)]
doc: Update l2cap-tester test count

10 years agodoc: Update android-tester coverage statistics
Szymon Janc [Mon, 20 Jan 2014 15:27:59 +0000 (16:27 +0100)]
doc: Update android-tester coverage statistics

10 years agoandroid/tester: Add HIDhost SendData test
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:51 +0000 (01:25 +0200)]
android/tester: Add HIDhost SendData test

10 years agoandroid/tester: Add HIDhost SetReport test
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:50 +0000 (01:25 +0200)]
android/tester: Add HIDhost SetReport test

10 years agoandroid/tester: Add HIDhost SetProtocol test
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:48 +0000 (01:25 +0200)]
android/tester: Add HIDhost SetProtocol test

10 years agoandroid/tester: Add HIDhost GetProtocol test
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:47 +0000 (01:25 +0200)]
android/tester: Add HIDhost GetProtocol test

10 years agoandroid/tester: Add HIDhost VirtualUnplug test
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:46 +0000 (01:25 +0200)]
android/tester: Add HIDhost VirtualUnplug test

10 years agoandroid/tester: Add HIDhost Disconnect test
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:45 +0000 (01:25 +0200)]
android/tester: Add HIDhost Disconnect test

10 years agoandroid/tester: Add HIDhost Connect test
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:44 +0000 (01:25 +0200)]
android/tester: Add HIDhost Connect test

Emulated HID SDP and L2CAP Control and Interrupt channels.

10 years agoandroid/hidhost: Remove unnecessary check
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:43 +0000 (01:25 +0200)]
android/hidhost: Remove unnecessary check

HID device will return unsupported or invalid response for unsupported
or invalid get/set protocol request. Need not to check prior to that.

10 years agoandroid/hidhost: Fix connection state notification on profile unregister
Ravi kumar Veeramally [Thu, 16 Jan 2014 23:25:41 +0000 (01:25 +0200)]
android/hidhost: Fix connection state notification on profile unregister

Issue found while writing end2end tests. Usually profile unregister is
called when final cleanup of bluetoothd. Freeing connected hid devices
through g_slist_foreach is a asynchronous call. Profile is cleaned up
and and ipc also complete cleanup. But free_hid_devices tries to notify
hal which doesn't exist that time. So behaviour is unexpected.

10 years agoemulator/bthost: Add dummy entries for LTK reply completion
Johan Hedberg [Mon, 20 Jan 2014 14:25:39 +0000 (16:25 +0200)]
emulator/bthost: Add dummy entries for LTK reply completion

10 years agoemulator/bthost: Add SMP callback to fetch LTK
Johan Hedberg [Mon, 20 Jan 2014 14:24:11 +0000 (16:24 +0200)]
emulator/bthost: Add SMP callback to fetch LTK

10 years agoemulator/bthost: Add warning for unsupported LE Meta events
Johan Hedberg [Mon, 20 Jan 2014 14:04:00 +0000 (16:04 +0200)]
emulator/bthost: Add warning for unsupported LE Meta events

10 years agotools/l2cap-tester: Add basic SMP test case
Johan Hedberg [Mon, 20 Jan 2014 12:49:11 +0000 (14:49 +0200)]
tools/l2cap-tester: Add basic SMP test case

10 years agoemulator/bthost: Add SMP support
Johan Hedberg [Tue, 7 Jan 2014 09:34:49 +0000 (11:34 +0200)]
emulator/bthost: Add SMP support

10 years agobuild: Bump D-Bus dependency to 1.6
Szymon Janc [Mon, 20 Jan 2014 13:54:47 +0000 (14:54 +0100)]
build: Bump D-Bus dependency to 1.6

dbus_validate_path() was introduced in D-Bus 1.6 and it is no longer
possible to build with 1.4.

 CCLD   tools/bluetooth-player
tools/bluetooth-player.o: In function `cmd_change_folder':
tools/bluetooth-player.c:741: undefined reference to `dbus_validate_path'
collect2: ld returned 1 exit status

10 years agodevice: Match Dualshock4 with name and class
Szymon Janc [Mon, 20 Jan 2014 11:08:36 +0000 (12:08 +0100)]
device: Match Dualshock4 with name and class

This allows to use DS4 with legacy adapters. This seems to require
general bonding to work correctly i.e. after dedicated bonding
connection is rejected with "Authentication Failure" error.

10 years agodevice: Add workaround for Sony Dualshock 4 broken SDP
Szymon Janc [Mon, 20 Jan 2014 11:08:35 +0000 (12:08 +0100)]
device: Add workaround for Sony Dualshock 4 broken SDP

Sony DualShock 4 is not respecting negotiated L2CAP MTU. This might
results in SDP response being dropped by kernel. Workaround this by
forcing SDP code to use bigger MTU while connecting.

10 years agocore: Add flags parameter to bt_search_service
Szymon Janc [Mon, 20 Jan 2014 11:08:34 +0000 (12:08 +0100)]
core: Add flags parameter to bt_search_service

This allows to pass custom SDP flags to sdp_connect.

10 years agocore: Opencode get_sdp_session in sdp-client
Szymon Janc [Mon, 20 Jan 2014 11:08:33 +0000 (12:08 +0100)]
core: Opencode get_sdp_session in sdp-client

This is only used once and provides no benefit compared to opencoding.

10 years agolib: Add flag to force large MTU size used for SDP connection
Szymon Janc [Mon, 20 Jan 2014 11:08:32 +0000 (12:08 +0100)]
lib: Add flag to force large MTU size used for SDP connection

This will allow to workaround Dualshock4 not respecting L2CAP MTU
size while sending SDP response. Use same L2CAP MTU value base on
RFCOMM.

10 years agoandroid/pts: Add PTS test results document for AVCTP
Jakub Tyszkowski [Mon, 20 Jan 2014 08:54:47 +0000 (09:54 +0100)]
android/pts: Add PTS test results document for AVCTP

This will allow for better tracking of current state of implementation.

10 years agoandroid/pts: Add PTS test results document for AVRCP
Jakub Tyszkowski [Mon, 20 Jan 2014 08:54:46 +0000 (09:54 +0100)]
android/pts: Add PTS test results document for AVRCP

This will allow for better tracking of current state of implementation.

10 years agoandroid/pts: Add PTS test results document for A2DP
Jakub Tyszkowski [Mon, 20 Jan 2014 08:54:45 +0000 (09:54 +0100)]
android/pts: Add PTS test results document for A2DP

This will allow for better tracking of current state of implementation.

10 years agotools/l2cap-tester: Fix client PIN Code test case to actually work
Johan Hedberg [Mon, 20 Jan 2014 12:18:39 +0000 (14:18 +0200)]
tools/l2cap-tester: Fix client PIN Code test case to actually work

10 years agoclient/l2cap-tester: Add basic PIN support
Johan Hedberg [Mon, 20 Jan 2014 12:15:17 +0000 (14:15 +0200)]
client/l2cap-tester: Add basic PIN support

10 years agotools/l2cap-tester: Merge client/server setup routines
Johan Hedberg [Mon, 20 Jan 2014 11:59:50 +0000 (13:59 +0200)]
tools/l2cap-tester: Merge client/server setup routines

10 years agotools/l2cap-tester: Remove unneeded server/client quirk for user confirmation
Johan Hedberg [Mon, 20 Jan 2014 11:46:49 +0000 (13:46 +0200)]
tools/l2cap-tester: Remove unneeded server/client quirk for user confirmation

10 years agotools/l2cap-tester: Merge server/client test structs into one
Johan Hedberg [Mon, 20 Jan 2014 11:42:24 +0000 (13:42 +0200)]
tools/l2cap-tester: Merge server/client test structs into one

10 years agotools/l2cap-tester: Add client test case using PIN Code
Johan Hedberg [Mon, 20 Jan 2014 11:26:17 +0000 (13:26 +0200)]
tools/l2cap-tester: Add client test case using PIN Code

10 years agotools/l2cap-tester: Add BR/EDR client high security test case
Johan Hedberg [Mon, 20 Jan 2014 11:14:06 +0000 (13:14 +0200)]
tools/l2cap-tester: Add BR/EDR client high security test case

10 years agotools/l2cap-tester: Add user confirmation callback support
Johan Hedberg [Mon, 20 Jan 2014 11:13:45 +0000 (13:13 +0200)]
tools/l2cap-tester: Add user confirmation callback support

10 years agoemulator/bthost: Add dummy handler for User Confirm Request Reply completion
Johan Hedberg [Mon, 20 Jan 2014 11:10:50 +0000 (13:10 +0200)]
emulator/bthost: Add dummy handler for User Confirm Request Reply completion

10 years agotools/l2cap-tester: Add support for specifying security level
Johan Hedberg [Mon, 20 Jan 2014 10:58:49 +0000 (12:58 +0200)]
tools/l2cap-tester: Add support for specifying security level

10 years agoandroid/pan: Initialize GError with NULL
Jakub Tyszkowski [Mon, 20 Jan 2014 10:00:08 +0000 (11:00 +0100)]
android/pan: Initialize GError with NULL

This patch fixes the following issue:

bluetoothd[10552]: android/pan.c:register_nap_server()
bluetoothd[10552]: android/pan.c:nap_create_bridge() bnep
(bluetoothd:10552): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: l2cap_bind: Address already in use (98)
bluetoothd[10552]: android/pan.c:destroy_nap_device()

10 years agotester: Remove test timeout for setup failure
Jakub Tyszkowski [Mon, 20 Jan 2014 10:00:07 +0000 (11:00 +0100)]
tester: Remove test timeout for setup failure

If setup fails, timeout function is not removed and still can be called,
causing random subsequent case failure.

10 years agodoc: Update test coverage numbers
Johan Hedberg [Mon, 20 Jan 2014 09:28:11 +0000 (11:28 +0200)]
doc: Update test coverage numbers

10 years agotools/mgmt-tester: Add some SSP Pairing Acceptor test cases
Johan Hedberg [Mon, 20 Jan 2014 09:27:11 +0000 (11:27 +0200)]
tools/mgmt-tester: Add some SSP Pairing Acceptor test cases