| d2b2e9fb |
tools: Add partial UUID-32 test case to mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +73, -1 |
| a1723c83 |
tools: Add partial UUID-16 list test case to mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +76, -3 |
| 39c29f8c |
tools: Add multiple UUID-128 test case to mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +68, -0 |
| 696ba215 |
tools: Add initial UUID-128 mgmt-tester test case |
Johan Hedberg |
13 years ago |
1 file, +50, -0 |
| 158c5a97 |
tools: Add more UUIDs to 16-bit mgmt-tester test case |
Johan Hedberg |
13 years ago |
1 file, +18, -4 |
| a99d3cc1 |
tools: Add more UUIDs to 32-bit mgmt-tester test case |
Johan Hedberg |
13 years ago |
1 file, +19, -5 |
| d1822276 |
tools: Add Multiple 32-bit UUID test case to mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +71, -3 |
| a82cde98 |
tools: Fix multiple UUID expected EIR data
New kernels add the UUIDs to EIR in the same order that they were added
through mgmt (instead of the inverse which older kernels do). |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| 7921f733 |
unit: Add advertising data from Wahoo scale for testing |
Marcel Holtmann |
13 years ago |
1 file, +16, -0 |
| 2022997b |
tools: Fix pbap-client to use new print syntax |
Luiz Augusto von Dentz |
13 years ago |
1 file, +9, -9 |
| db822878 |
avrcp: Ignore MSB of Absolute Volume parameter
According to the Section 6.13.1 of the AVRCP 1.5 specification document,
the most significant bit of the Absolute Volume parameter is reserved
for future additions, so it should be ignored when parsing parameters of
the SetAbsoluteVolume command. This is also necessary to pass PTS test
TC_TG_VLH_BI_02_C. |
João Paulo Rechi Vita |
13 years ago |
1 file, +3, -1 |
| 82605893 |
avctp: Set browsing channel connection for ct
Add two extra states for the browsing channel and handle the connection
sequence in avrcp.c |
Alexandros Antonopoulos |
13 years ago |
4 files, +42, -7 |
| f39c17a9 |
avctp: Add functionality for CT browsing commands
Add the missing functionality for full support of browsing channel
on the CT side. This is required for AVRCP >= 1.4
The patch is based on the control channel functionality |
Alexandros Antonopoulos |
13 years ago |
2 files, +146, -0 |
| b01bc4c8 |
core: Only set EIR data pointer after confirming it points to valid memory
Even though we do not access the memory it's still safer not to have any
pointers to it until we know it's valid. |
Johan Hedberg |
13 years ago |
1 file, +2, -1 |
| 252222a4 |
monitor: Add support for passkey notify mgmt events |
Johan Hedberg |
13 years ago |
1 file, +27, -0 |
| cdc215e1 |
core: Fix canceling pairing through mgmt
The mgmt_reply() function should be used instead of mgmt_send() since
otherwise the request obeys the usual command queuing which wont work
due to the pending mgmt_pair_device command. |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| f46bba7f |
tools: Add mgmt_cancel_pair_device support to btmgmt |
Johan Hedberg |
13 years ago |
1 file, +88, -0 |
| e755bd90 |
a2dp: Fix invalid memory access during abort_ind()
There is an invalid memory access w.r.t to the callback
during the Abort_Ind finalize_setup_errno().
We should terminate the variable arguments with NULL.
Log:
bluetoothd[3353]: audio/avdtp.c:avdtp_parse_cmd() Received ABORT_CMD
bluetoothd[3353]: audio/a2dp.c:abort_ind() Source 0xb6f5ecc8: Abort_Ind
bluetoothd[3353]: audio/a2dp.c:setup_ref() 0xb6f63200: ref=2
bluetoothd[3353]: audio/transport.c:media_transport_remove() Transport
/org/bluez/3353/hci0/dev_BC_47_60_F5_88_89/fd1 Owner :1.0
bluetoothd[3353]: audio/transport.c:media_transport_release() Transport
/org/bluez/3353/hci0/dev_BC_47_60_F5_88_89/fd1: read lock released
bluetoothd[3353]: audio/transport.c:media_transport_release() Transport
/org/bluez/3353/hci0/dev_BC_47_60_F5_88_89/fd1: write lock released
bluetoothd[3353]: audio/transport.c:media_request_reply() Request
Acquire Reply Input/output error
bluetoothd[3353]: audio/transport.c:media_owner_free() Owner :1.0
bluetoothd[3353]: audio/transport.c:media_owner_remove() Owner :1.0 Request Acquire
bluetoothd[3353]: audio/a2dp.c:a2dp_sep_unlock() SEP 0xb6f5ecc8 unlocked
bluetoothd[3353]: audio/a2dp.c:setup_unref() 0xb6f63200: ref=1
[sys_assert]START of sighandler
[sys-assert]exepath = bluetoothd
[sys-assert]processname = bluetoothd
[sys_assert]this thread is main thread. pid=3353
[sys-assert]cs timestr 1358524835
bluetoothd[3353]: crashed [1358524835] processname=bluetoothd, pid=3353, tid=3353, signal=11
[sys-assert]start print_node_to_file
sighandler = 0xb6e8cfc9, g_sig_oldact[i] = (nil)
[sys_assert]END of sighandler
Segmentation fault (core dumped) |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| cb377fa6 |
a2dp: Fix invalid memory access during suspend_ind()
There is a possible invalid memory access during suspend_ind().
We should terminate the variable arguments with NULL. |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| 3021f180 |
health: Fix possible use after free
A pointer to freed memory is dereferenced if we call function
hdp_get_dcpsm_cb() with out any earlier reference. |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| da559673 |
core: Fix mgmt_get_connections response size checking
Each address entry is of the size mgmt_addr_info and not bdaddr_t. |
Johan Hedberg |
13 years ago |
1 file, +2, -1 |
| 4dbe677a |
monitor: Use explicit filter policy strings for LE create connection |
Marcel Holtmann |
13 years ago |
1 file, +31, -21 |
| 180899b1 |
monitor: Decode LE filter policy for all cases |
Marcel Holtmann |
13 years ago |
1 file, +21, -15 |
| 781f3cde |
monitor: Fix possible crash on unknown command
If unknown command is received monitor would crash due to dereference
of NULL opcode_data pointer. |
Szymon Janc |
13 years ago |
1 file, +1, -1 |
| 1f3d21d4 |
core: Fix crash when an invalid uuid is passed to Device1.DisconnectProfile
If the user calls Device1.DisconnectProfile with an invalid profile
uuid disconnect_profile still tries to parse the uuid resulting in
a SIGSEGV |
Alexandros Antonopoulos |
13 years ago |
1 file, +2, -0 |
| d42cbe85 |
avctp: Fix size of read() for browsing channel callbacks
The read() function should attempt to read browsing->imtu bytes
and not sizeof(browsing->imtu). |
Alexandros Antonopoulos |
13 years ago |
1 file, +1, -1 |
| d23fb32b |
avctp: Fix request timeout after a channel is destroyed
When the control channel is destroyed if there is a pending request
(chan->p) then the channel queue is deleted in avctp_channel_destroy
but the timer is still alive resulting in a SIGSEGV |
Alexandros Antonopoulos |
13 years ago |
1 file, +3, -0 |
| 879efa42 |
avctp: Fix avctp_unregister_browsing_pdu_handler inner loop
Inner loop should access the sessions data and not the servers
data |
Alexandros Antonopoulos |
13 years ago |
1 file, +1, -1 |
| feccaf04 |
player: Fix not returning current position properly
Current position should be returned for Get/GetAll not last position
notified otherwise clients that are started after playback are
not able to synchronize its position properly as it does no know how
for how long the playback has advanced. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +20, -17 |
| f426775b |
shared: Remove also queued requests and replies for index cancel |
Marcel Holtmann |
13 years ago |
1 file, +28, -0 |
| ab0ff42d |
shared: Fix issue with management destroy handling |
Marcel Holtmann |
13 years ago |
1 file, +8, -3 |
| 65214a99 |
core: Remove pointless GFunc casts from device handling |
Marcel Holtmann |
13 years ago |
1 file, +6, -4 |
| a3d31b58 |
shared: Mark and skip notification callbacks when become invalid |
Marcel Holtmann |
13 years ago |
1 file, +18, -1 |
| e3c028a4 |
shared: Remove all pending requests for the specified index |
Marcel Holtmann |
13 years ago |
1 file, +29, -24 |
| c229ba89 |
gdbus: Check for valid path before handling properties |
Marcel Holtmann |
13 years ago |
1 file, +6, -0 |
| b6345835 |
core: Don't take device reference for connection requests
The device reference is not needed since the adapter handling actually
owns the device object anyway. So do not bother taking another reference.
In addition actually remove the devices from the list when the adapter
is removed. Otherwise they stay around and just causes problems. |
Marcel Holtmann |
13 years ago |
1 file, +9, -3 |
| 338efa13 |
core: Keep the DBusConnection around for device handling
It is required to have the connection around so device objects can
be deregistered. This happens triggered from the adapter handling. |
Marcel Holtmann |
13 years ago |
1 file, +0, -1 |
| f1e7f81e |
core: Use same reference counting as adapter handling |
Marcel Holtmann |
13 years ago |
1 file, +10, -9 |
| 8332abd8 |
core: Remove pointless protection for device path at unregister
If such a protection is really needed, then it might should be better
handled properly within GDBus. So remove it and if it causes an issue,
fix it then. |
Marcel Holtmann |
13 years ago |
1 file, +1, -7 |
| a399286d |
core: Use a global DBusConnection variable |
Marcel Holtmann |
13 years ago |
1 file, +55, -64 |
| 2e89402a |
core: Add device init and cleanup functions |
Marcel Holtmann |
13 years ago |
3 files, +14, -0 |
| 9390708d |
core: Add some extra debugs for device creation |
Marcel Holtmann |
13 years ago |
1 file, +6, -0 |
| f710762d |
core: Make the default UUID search list const |
Marcel Holtmann |
13 years ago |
1 file, +1, -1 |
| 70c73345 |
monitor: Add support for decoding LE white list commands |
Marcel Holtmann |
13 years ago |
2 files, +56, -4 |
| 6fe39e7f |
monitor: Add support for decoding LE features |
Marcel Holtmann |
13 years ago |
1 file, +33, -16 |
| 27383772 |
monitor: Add support for decoding LE event mask |
Marcel Holtmann |
13 years ago |
1 file, +37, -1 |
| fd303a4e |
monitor: Add support for decoding LE supported states |
Marcel Holtmann |
13 years ago |
1 file, +68, -4 |
| cdb2fd58 |
core: Provide skeleton for LE connection trigger |
Marcel Holtmann |
13 years ago |
1 file, +5, -1 |
| dee5bc60 |
core: Handle invalidated RSSI signals a bit better |
Marcel Holtmann |
13 years ago |
1 file, +12, -9 |
| 3f3152f1 |
core: Avoid massive signals for changes below 8 dBm
Instead of blasting clients with RSSI changed signals, slow this down
a little bit and only report changes of 8 dBm and more. |
Marcel Holtmann |
13 years ago |
1 file, +21, -4 |