]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: prioritizing data over HCI
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 2 Nov 2011 13:52:01 +0000 (15:52 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 3 Nov 2011 14:19:54 +0000 (12:19 -0200)
commit1203cdc8928f52bf47332c3d2fe1efee33394473
tree101b53cfea1fa7f2a4c670a667912b01d945c022
parent693ff2d50de41489bf641e82b6ee3e39b0b3fdc3
Bluetooth: prioritizing data over HCI

This implement priority based scheduler using skbuffer priority set via
SO_PRIORITY socket option.

It introduces hci_chan_hash (list of HCI Channel/hci_chan) per connection,
each item in this list refer to a L2CAP connection and it is used to
queue the data for transmission.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h
include/net/bluetooth/l2cap.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_core.c
net/bluetooth/l2cap_core.c
net/bluetooth/smp.c