diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2011-11-02 15:52:01 +0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-07 17:24:56 -0200 |
commit | 73d80deb7bdf0171f22e76dc2429c1f99eff90e2 (patch) | |
tree | 17a65f2bf28e1e5a107503f361a7fb061e2ad2f4 /include/net/bluetooth/l2cap.h | |
parent | 3c32fa93e5a54cd54e52541892857b0c7164a61e (diff) | |
download | kernel_goldelico_gta04-73d80deb7bdf0171f22e76dc2429c1f99eff90e2.zip kernel_goldelico_gta04-73d80deb7bdf0171f22e76dc2429c1f99eff90e2.tar.gz kernel_goldelico_gta04-73d80deb7bdf0171f22e76dc2429c1f99eff90e2.tar.bz2 |
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>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index c10bf1d..6ae9492 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -451,6 +451,7 @@ struct l2cap_ops { struct l2cap_conn { struct hci_conn *hcon; + struct hci_chan *hchan; bdaddr_t *dst; bdaddr_t *src; |