diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-09-27 10:26:06 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-27 16:09:29 -0400 |
commit | b078b564292ab87cdf4a58de3c2f86d4300a161c (patch) | |
tree | 4ef84653cc1de28a52bb4f2e106d82f6629c57f9 | |
parent | 90e6274d2ecf3bcb44e3727a395e56b7ef467218 (diff) |
Bluetooth: Add HCI logical link cmds definitions
Add a few definitions to hci.h
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
-rw-r--r-- | include/net/bluetooth/hci.h | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 76b2b6bdcf36..4be26abf6dad 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -556,12 +556,46 @@ struct hci_cp_accept_phy_link { | |||
556 | __u8 key[HCI_AMP_LINK_KEY_SIZE]; | 556 | __u8 key[HCI_AMP_LINK_KEY_SIZE]; |
557 | } __packed; | 557 | } __packed; |
558 | 558 | ||
559 | #define HCI_OP_DISCONN_PHY_LINK 0x0437 | 559 | #define HCI_OP_DISCONN_PHY_LINK 0x0437 |
560 | struct hci_cp_disconn_phy_link { | 560 | struct hci_cp_disconn_phy_link { |
561 | __u8 phy_handle; | 561 | __u8 phy_handle; |
562 | __u8 reason; | 562 | __u8 reason; |
563 | } __packed; | 563 | } __packed; |
564 | 564 | ||
565 | struct ext_flow_spec { | ||
566 | __u8 id; | ||
567 | __u8 stype; | ||
568 | __le16 msdu; | ||
569 | __le32 sdu_itime; | ||
570 | __le32 acc_lat; | ||
571 | __le32 flush_to; | ||
572 | } __packed; | ||
573 | |||
574 | #define HCI_OP_CREATE_LOGICAL_LINK 0x0438 | ||
575 | #define HCI_OP_ACCEPT_LOGICAL_LINK 0x0439 | ||
576 | struct hci_cp_create_accept_logical_link { | ||
577 | __u8 phy_handle; | ||
578 | struct ext_flow_spec tx_flow_spec; | ||
579 | struct ext_flow_spec rx_flow_spec; | ||
580 | } __packed; | ||
581 | |||
582 | #define HCI_OP_DISCONN_LOGICAL_LINK 0x043a | ||
583 | struct hci_cp_disconn_logical_link { | ||
584 | __le16 log_handle; | ||
585 | } __packed; | ||
586 | |||
587 | #define HCI_OP_LOGICAL_LINK_CANCEL 0x043b | ||
588 | struct hci_cp_logical_link_cancel { | ||
589 | __u8 phy_handle; | ||
590 | __u8 flow_spec_id; | ||
591 | } __packed; | ||
592 | |||
593 | struct hci_rp_logical_link_cancel { | ||
594 | __u8 status; | ||
595 | __u8 phy_handle; | ||
596 | __u8 flow_spec_id; | ||
597 | } __packed; | ||
598 | |||
565 | #define HCI_OP_SNIFF_MODE 0x0803 | 599 | #define HCI_OP_SNIFF_MODE 0x0803 |
566 | struct hci_cp_sniff_mode { | 600 | struct hci_cp_sniff_mode { |
567 | __le16 handle; | 601 | __le16 handle; |