diff options
| author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-09-27 10:26:20 -0400 |
|---|---|---|
| committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-27 16:31:18 -0400 |
| commit | 93c284ee901f7d7bdd09087e92abefb7496c3777 (patch) | |
| tree | 06da0dca5976737f6eef22387ebe91ca11356b6e /include/net/bluetooth | |
| parent | a02226d6ff5098e6b97590cc55aabe7faf0860ed (diff) | |
Bluetooth: AMP: Write remote AMP Assoc
When receiving HCI Command Status after HCI Create Physical Link
execute HCI Write Remote AMP Assoc command to AMP controller.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth')
| -rw-r--r-- | include/net/bluetooth/amp.h | 2 | ||||
| -rw-r--r-- | include/net/bluetooth/hci_core.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/amp.h b/include/net/bluetooth/amp.h index cadb3d03285..8f8032965ea 100644 --- a/include/net/bluetooth/amp.h +++ b/include/net/bluetooth/amp.h | |||
| @@ -39,5 +39,7 @@ void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle); | |||
| 39 | void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr); | 39 | void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr); |
| 40 | void amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, | 40 | void amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, |
| 41 | struct hci_conn *hcon); | 41 | struct hci_conn *hcon); |
| 42 | void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle); | ||
| 43 | void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle); | ||
| 42 | 44 | ||
| 43 | #endif /* __AMP_H */ | 45 | #endif /* __AMP_H */ |
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 464eae34041..ea1f9340324 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
| @@ -127,6 +127,8 @@ struct le_scan_params { | |||
| 127 | struct amp_assoc { | 127 | struct amp_assoc { |
| 128 | __u16 len; | 128 | __u16 len; |
| 129 | __u16 offset; | 129 | __u16 offset; |
| 130 | __u16 rem_len; | ||
| 131 | __u16 len_so_far; | ||
| 130 | __u8 data[HCI_MAX_AMP_ASSOC_SIZE]; | 132 | __u8 data[HCI_MAX_AMP_ASSOC_SIZE]; |
| 131 | }; | 133 | }; |
| 132 | 134 | ||
