diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-14 14:13:47 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-14 14:13:47 -0400 |
commit | e4e8e37c42bdaaefcb84eeaef0dc1bc3f696f8f6 (patch) | |
tree | 7909e7f16b314ac0e2f68305ba38ebe7840d1951 /include/net/bluetooth | |
parent | a8746417e864da1ed36dd2432a399fbeb843c2a0 (diff) |
[Bluetooth] Make use of the default link policy settings
The Bluetooth specification supports the default link policy settings
on a per host controller basis. For every new connection the link
manager would then use these settings. It is better to use this instead
of bothering the controller on every connection setup to overwrite the
default settings.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index f1dc174abc2a..efc8c555c182 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -404,6 +404,17 @@ struct hci_rp_write_link_policy { | |||
404 | __le16 handle; | 404 | __le16 handle; |
405 | } __attribute__ ((packed)); | 405 | } __attribute__ ((packed)); |
406 | 406 | ||
407 | #define HCI_OP_READ_DEF_LINK_POLICY 0x080e | ||
408 | struct hci_rp_read_def_link_policy { | ||
409 | __u8 status; | ||
410 | __le16 policy; | ||
411 | } __attribute__ ((packed)); | ||
412 | |||
413 | #define HCI_OP_WRITE_DEF_LINK_POLICY 0x080f | ||
414 | struct hci_cp_write_def_link_policy { | ||
415 | __le16 policy; | ||
416 | } __attribute__ ((packed)); | ||
417 | |||
407 | #define HCI_OP_SNIFF_SUBRATE 0x0811 | 418 | #define HCI_OP_SNIFF_SUBRATE 0x0811 |
408 | struct hci_cp_sniff_subrate { | 419 | struct hci_cp_sniff_subrate { |
409 | __le16 handle; | 420 | __le16 handle; |