aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>2014-05-08 15:32:08 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-05-08 08:01:57 -0700
commit5ae76a94150c86a6e0ee84eb74e7f7e1909b8d39 (patch)
tree4abcdb2d73127eabb1f6d48af20b37cb7725e69b /include/net/bluetooth/hci.h
parentBluetooth: Add support for SMP Invalid Parameters error code (diff)
downloadlinux-dev-5ae76a94150c86a6e0ee84eb74e7f7e1909b8d39.tar.xz
linux-dev-5ae76a94150c86a6e0ee84eb74e7f7e1909b8d39.zip
Bluetooth: Store RSSI for connection
This patch adds support to store RSSI for connection when reply for HCI_Read_RSSI is received. Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 4261a67682c0..ad2ecc92380d 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1064,6 +1064,16 @@ struct hci_rp_read_page_scan_type {
#define PAGE_SCAN_TYPE_STANDARD 0x00
#define PAGE_SCAN_TYPE_INTERLACED 0x01
+#define HCI_OP_READ_RSSI 0x1405
+struct hci_cp_read_rssi {
+ __le16 handle;
+} __packed;
+struct hci_rp_read_rssi {
+ __u8 status;
+ __le16 handle;
+ __s8 rssi;
+} __packed;
+
#define HCI_OP_READ_LOCAL_AMP_INFO 0x1409
struct hci_rp_read_local_amp_info {
__u8 status;