summaryrefslogtreecommitdiff
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-10-19 20:57:49 +0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-10-24 11:17:17 -0200
commit8fa19098ebc700f14b0f8d0fb957e7748e14c44b (patch)
tree488d94f7b05d394b5b29a0a9adae0cf67bbb4cf0 /include/net/bluetooth/hci_core.h
parente36b04c805e452689d468f9783e5dffa61e38be7 (diff)
downloadlinux-3.10-8fa19098ebc700f14b0f8d0fb957e7748e14c44b.tar.gz
linux-3.10-8fa19098ebc700f14b0f8d0fb957e7748e14c44b.tar.bz2
linux-3.10-8fa19098ebc700f14b0f8d0fb957e7748e14c44b.zip
Bluetooth: Read adversiting channel TX power during init sequence
This patch adds the reading of the LE advertising channel TX power to the HCI init sequence of LE-capable controllers. This data will be used e.g. for inclusion in the advertising data packets when advertising is enabled. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 00abc5246cb..5ab80b7e836 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -278,6 +278,8 @@ struct hci_dev {
struct work_struct le_scan;
struct le_scan_params le_scan_params;
+ __s8 adv_tx_power;
+
int (*open)(struct hci_dev *hdev);
int (*close)(struct hci_dev *hdev);
int (*flush)(struct hci_dev *hdev);