aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-15 11:34:15 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-15 11:44:24 -0400
commit3d5053127fc51b11f10a2cc3ad638736f2fa814c (patch)
tree7b9cc2f8bf264197b3f4cfd08950cc346e2187d0 /include/net/bluetooth
parent36261547c9699c6bc746b1db9508aaeb68faa7c9 (diff)
Bluetooth: Add HCI command structure for writing current IAC LAP
This patch just adds the HCI command structure for configuring the current IAC LAP setting. The length of the command is variable and supports more than two IAC. However since there is only general discoverable and limited discoverable modes, this can be limited to two possible IACs. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index f4650a8c1194..8b8c3e2ddb06 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -824,6 +824,12 @@ struct hci_rp_read_num_supported_iac {
824 824
825#define HCI_OP_READ_CURRENT_IAC_LAP 0x0c39 825#define HCI_OP_READ_CURRENT_IAC_LAP 0x0c39
826 826
827#define HCI_OP_WRITE_CURRENT_IAC_LAP 0x0c3a
828struct hci_cp_write_current_iac_lap {
829 __u8 num_iac;
830 __u8 iac_lap[6];
831} __packed;
832
827#define HCI_OP_WRITE_INQUIRY_MODE 0x0c45 833#define HCI_OP_WRITE_INQUIRY_MODE 0x0c45
828 834
829#define HCI_MAX_EIR_LENGTH 240 835#define HCI_MAX_EIR_LENGTH 240