diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-16 03:16:48 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-16 03:31:24 -0400 |
commit | f14d8f643733a564b299ec24464ae23a0d7eb230 (patch) | |
tree | 9a69759ecb6cffe90fedf8b2a2ee4e49b94638b7 /include/net | |
parent | f8e808bd6853f1ada3614f99c95beac1bc2f2140 (diff) |
Bluetooth: Set the scan response data when needed
On controller power on and when enabling LE functionality,
make sure that also the scan response data is correctly set.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 8b8c3e2ddb06..aca8944b3e30 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -1094,6 +1094,12 @@ struct hci_cp_le_set_adv_data { | |||
1094 | __u8 data[HCI_MAX_AD_LENGTH]; | 1094 | __u8 data[HCI_MAX_AD_LENGTH]; |
1095 | } __packed; | 1095 | } __packed; |
1096 | 1096 | ||
1097 | #define HCI_OP_LE_SET_SCAN_RSP_DATA 0x2009 | ||
1098 | struct hci_cp_le_set_scan_rsp_data { | ||
1099 | __u8 length; | ||
1100 | __u8 data[HCI_MAX_AD_LENGTH]; | ||
1101 | } __packed; | ||
1102 | |||
1097 | #define HCI_OP_LE_SET_ADV_ENABLE 0x200a | 1103 | #define HCI_OP_LE_SET_ADV_ENABLE 0x200a |
1098 | 1104 | ||
1099 | #define LE_SCAN_PASSIVE 0x00 | 1105 | #define LE_SCAN_PASSIVE 0x00 |