History log of /haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2cfg.h
Revision Date Author Comments
# 33378c14 22-Mar-2020 X512 <danger_mail@list.ru>

Bluetooth: fix out of bounds access

Pointed by clang.

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


# 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


# bf144dad 29-Jan-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Publish transport driver in transport subfolder in devfs

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


# 71f38a27 25-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Fix the calculation of the expected size of a packet
- Enabling all net_buffers code & ACL
- Asume contiguusness for outgoing packets
- Fix incorrect cleaning of btDevices
- Posting ACL data to the net_device Kernel module.

Sumarizing this enables ACL tranmision mode in the driver which starts to be "real network data" of the bt protocols not configuration as we had before



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


# 848c65ab 02-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix EOL



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


# e6b529a3 12-Feb-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Build the device path in devfs from the configuration file

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


# dae43edd 01-Feb-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Clean ups, and removed warnings. Some definitions moved to more generic headers

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


# 90e22607 30-Nov-2007 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Remaining part of the USB-BT driver. Events are commands are tested and working. ACLcode is untested and needs review. Lacks some general headers to be able to compile it, as I am still considering making some org. changes. Commiting for possible reviews or suggestions.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23034 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


# bf144dad1c932969277c581dde09074a4d8b72cb 29-Jan-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Publish transport driver in transport subfolder in devfs

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


# 71f38a2743e905b150311a9fda195d1e42376d53 25-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Fix the calculation of the expected size of a packet
- Enabling all net_buffers code & ACL
- Asume contiguusness for outgoing packets
- Fix incorrect cleaning of btDevices
- Posting ACL data to the net_device Kernel module.

Sumarizing this enables ACL tranmision mode in the driver which starts to be "real network data" of the bt protocols not configuration as we had before



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


# 848c65ab3e3c331628c4d2387ad3364df1f292ca 02-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix EOL



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


# e6b529a362a547fe1972d1ff0e79e6467af701ca 12-Feb-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Build the device path in devfs from the configuration file

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


# dae43edd0a67b286836de049a01ff43ceb60fde3 01-Feb-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Clean ups, and removed warnings. Some definitions moved to more generic headers

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


# 90e2260736c67f290fe4fc7c3d67ae2dd845bdc3 30-Nov-2007 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Remaining part of the USB-BT driver. Events are commands are tested and working. ACLcode is untested and needs review. Lacks some general headers to be able to compile it, as I am still considering making some org. changes. Commiting for possible reviews or suggestions.

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