summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-05-04 17:06:28 -0700
committerMarcel Holtmann <marcel@holtmann.org>2022-05-19 20:11:26 +0200
commit8f9ae5b3ae80f168a6224529e3787f4fb27f299a (patch)
tree26f3b9991b5bcb71dfcc38b893fd7b7e8b4c415e /include/net
parent3b42055388c30f2761a2d9cd9af2c99611dfe457 (diff)
downloadlinux-stable-8f9ae5b3ae80f168a6224529e3787f4fb27f299a.tar.gz
linux-stable-8f9ae5b3ae80f168a6224529e3787f4fb27f299a.tar.bz2
linux-stable-8f9ae5b3ae80f168a6224529e3787f4fb27f299a.zip
Bluetooth: eir: Add helpers for managing service data
This adds helpers for accessing and appending service data (0x16) ad type. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 62a9bb022aed..fe7935be7dc4 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -625,6 +625,7 @@ enum {
#define EIR_SSP_RAND_R192 0x0F /* Simple Pairing Randomizer R-192 */
#define EIR_DEVICE_ID 0x10 /* device ID */
#define EIR_APPEARANCE 0x19 /* Device appearance */
+#define EIR_SERVICE_DATA 0x16 /* Service Data */
#define EIR_LE_BDADDR 0x1B /* LE Bluetooth device address */
#define EIR_LE_ROLE 0x1C /* LE role */
#define EIR_SSP_HASH_C256 0x1D /* Simple Pairing Hash C-256 */