History log of /haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.cpp
Revision Date Author Comments
# 30e762a7 24-Jul-2023 PulkoMandy <pulkomandy@pulkomandy.tk>

bluetooth: fix unused but set variable

Change-Id: Ie63b0a28c352bc9997a2a70b3e335af2b3cc1bc3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6714
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 6116b3a0 15-Oct-2020 Alexander von Gluck IV <kallisti5@unixzen.com>

drivers/usb/bt: Expand knowledge of non-standard devices

* usbid's borrowed from the Linux bluetooth driver

Change-Id: Ie7f93fbc1038e8b7011d0fdfbad497cdf2b97ff6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3323
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# 1e4109cd 28-Apr-2019 Augustin Cavalier <waddlesplash@gmail.com>

h2generic: Use a bounce buffer only when necessary.

This fixes two ioctls that were broken when adding the bounce
buffer.


# 446dc38f 10-Mar-2019 Lee Mon <strongleemon@rambler.ru>

BugFix: fix some errors found by cppcheck

Fix coding style violations and minor errors (race condition in h2generic.cpp).

Change-Id: Iec58f2f431de79320579704ac449475f18deb731
Reviewed-on: https://review.haiku-os.org/c/1186
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 400ed5ca 18-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

h2generic: Copy the user buffer before using it.


# 2897df96 18-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

bluetooth: ioctls always pass size on Haiku.


# b0e02983 07-Jul-2018 Augustin Cavalier <waddlesplash@gmail.com>

bluetooth: Remove non-Haiku target platforms logic.


# 7cfdd924 08-Jan-2017 Murai Takashi <tmurai01@gmail.com>

h2generic.cpp: fix use after free.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 05e11655 10-Apr-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

h2generic: Stop using btDebug + style fixes


# e1e291b0 09-Apr-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

bluetooth: Drop vanity trace colors


# 1f2fa6cd 09-Apr-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

bluetooth: Refactor debugging and trace calls

* The old debug system was too complex and made
troubleshooring difficult. (it also was unique
like a snowflake... which we don't want)
* Move to the classic TRACE / ERROR a large majority
of the code has changed to.
* I like trace statements, but drop some obvious ones
* Fix style issues along the way


# f2986394 09-Apr-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

h2generic: Fix x86_64 build


# a12bde1c 07-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

bluetooth: fix build.

Fixes #11184.


# a8f90110 18-May-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

h2: Fix bluetooth driver build, missing PrivateKernelHeaders

* We likely should move all of this stuff to normal
atomic test and set operations at some point.


# 0ea1aab2 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* fixed a couple of regressions of r37670 concerning optional build targets
(bluetooth, ac3_decoder, netfs)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37672 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a5bf1237 14-Jun-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

*Incorrect endianess handling from bdaddr at parsing from string.
*Remove bluetooth_util deprecated header
*Issue conn_req for socket connect() call



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37132 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9760dcae 17-Jan-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Move bluetooth net_device module to a independent module HCI, remake API interfaces
- Move functionality for assembling ACL/events packets of the driver to this module
- Move h2generic driver to c++ (not style)
- Pass checkstyle.py to all commited files.
Fixes:
- Wrong condition for finishing l2cap packet segmentation.
- Place NetBuffersPrependers in a inner scope to avoid Sycing twice in destructor.
- Avoid keeping trace of l2cap responses of any other kind of thread.
- Do not free net_buffers of for Frame containers.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35117 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a12bde1cf56874b190234a27a0880ef307aa21e9 07-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

bluetooth: fix build.

Fixes #11184.


# a8f9011015d0a7b00d0fd0772ede3e9fec6347e0 18-May-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

h2: Fix bluetooth driver build, missing PrivateKernelHeaders

* We likely should move all of this stuff to normal
atomic test and set operations at some point.


# 0ea1aab28ab4ca9be026963c20b4da2447cb07e9 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* fixed a couple of regressions of r37670 concerning optional build targets
(bluetooth, ac3_decoder, netfs)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37672 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a5bf12376daeded4049521eb17a6cc41192250d9 14-Jun-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

*Incorrect endianess handling from bdaddr at parsing from string.
*Remove bluetooth_util deprecated header
*Issue conn_req for socket connect() call



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37132 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9760dcae2038d47442f4658c2575844c6cf92c40 17-Jan-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Move bluetooth net_device module to a independent module HCI, remake API interfaces
- Move functionality for assembling ACL/events packets of the driver to this module
- Move h2generic driver to c++ (not style)
- Pass checkstyle.py to all commited files.
Fixes:
- Wrong condition for finishing l2cap packet segmentation.
- Place NetBuffersPrependers in a inner scope to avoid Sycing twice in destructor.
- Avoid keeping trace of l2cap responses of any other kind of thread.
- Do not free net_buffers of for Frame containers.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35117 a95241bf-73f2-0310-859d-f6bbb57e9c96