aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2011-12-07 15:56:51 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-12-18 21:34:56 -0200
commit350ee4cfc0ea620bd1126ad4daa295586d6aa3a9 (patch)
tree61088ecc044fea570c635cf5429f53b2be385d2d /include/net/bluetooth/hci_core.h
parentBluetooth: Use correct struct for user_confirm_neg_reply (diff)
downloadlinux-dev-350ee4cfc0ea620bd1126ad4daa295586d6aa3a9.tar.xz
linux-dev-350ee4cfc0ea620bd1126ad4daa295586d6aa3a9.zip
Bluetooth: Add HCI Read Data Block Size function
Implement block size read function. Use different variables for packet-based and block-based flow control. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 105eaa251034..74f8356b9ff1 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -181,6 +181,11 @@ struct hci_dev {
unsigned int sco_pkts;
unsigned int le_pkts;
+ __u16 block_len;
+ __u16 block_mtu;
+ __u16 num_blocks;
+ __u16 block_cnt;
+
unsigned long acl_last_tx;
unsigned long sco_last_tx;
unsigned long le_last_tx;