linux/net/bluetooth/eir.c

// SPDX-License-Identifier: GPL-2.0
/*
 * BlueZ - Bluetooth protocol stack for Linux
 *
 * Copyright (C) 2021 Intel Corporation
 */

#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include <net/bluetooth/mgmt.h>

#include "eir.h"

#define PNP_INFO_SVCLASS_ID

u8 eir_append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len)
{}

u8 eir_append_appearance(struct hci_dev *hdev, u8 *ptr, u8 ad_len)
{}

u8 eir_append_service_data(u8 *eir, u16 eir_len, u16 uuid, u8 *data,
			   u8 data_len)
{}

static u8 *create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len)
{}

static u8 *create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len)
{}

static u8 *create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len)
{}

void eir_create(struct hci_dev *hdev, u8 *data)
{}

u8 eir_create_per_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr)
{}

u8 eir_create_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr)
{}

static u8 create_default_scan_rsp(struct hci_dev *hdev, u8 *ptr)
{}

u8 eir_create_scan_rsp(struct hci_dev *hdev, u8 instance, u8 *ptr)
{}

void *eir_get_service_data(u8 *eir, size_t eir_len, u16 uuid, size_t *len)
{}