Linux Kernel
3.7.1
|
#include <net/bluetooth/hci.h>
Go to the source code of this file.
Data Structures | |
struct | inquiry_data |
struct | inquiry_entry |
struct | discovery_state |
struct | hci_conn_hash |
struct | bdaddr_list |
struct | bt_uuid |
struct | smp_ltk |
struct | link_key |
struct | oob_data |
struct | le_scan_params |
struct | hci_dev |
struct | hci_conn |
struct | hci_chan |
struct | hci_cb |
struct | hci_pinfo |
struct | hci_sec_filter |
Variables | |
struct smp_ltk | __packed |
struct list_head | hci_dev_list |
struct list_head | hci_cb_list |
rwlock_t | hci_dev_list_lock |
rwlock_t | hci_cb_list_lock |
#define DISCOV_TYPE_BREDR (BIT(BDADDR_BREDR)) |
Definition at line 984 of file hci_core.h.
#define DISCOV_TYPE_INTERLEAVED |
Definition at line 987 of file hci_core.h.
#define DISCOV_TYPE_LE |
Definition at line 985 of file hci_core.h.
#define hci_dev_lock | ( | d | ) | mutex_lock(&d->lock) |
Definition at line 623 of file hci_core.h.
#define hci_dev_unlock | ( | d | ) | mutex_unlock(&d->lock) |
Definition at line 624 of file hci_core.h.
#define HCI_MAX_SHORT_NAME_LENGTH 10 |
Definition at line 125 of file hci_core.h.
#define HCI_PRIO_MAX 7 |
Definition at line 31 of file hci_core.h.
#define HCI_REQ_CANCELED 2 |
Definition at line 1077 of file hci_core.h.
#define HCI_REQ_DONE 0 |
Definition at line 1075 of file hci_core.h.
#define hci_req_lock | ( | d | ) | mutex_lock(&d->req_lock) |
Definition at line 1079 of file hci_core.h.
#define HCI_REQ_PEND 1 |
Definition at line 1076 of file hci_core.h.
#define hci_req_unlock | ( | d | ) | mutex_unlock(&d->req_lock) |
Definition at line 1080 of file hci_core.h.
#define HCI_SFLT_MAX_OGF 5 |
Definition at line 1066 of file hci_core.h.
Definition at line 368 of file hci_core.h.
Definition at line 369 of file hci_core.h.
#define lmp_bredr_capable | ( | dev | ) | (!((dev)->features[4] & LMP_NO_BREDR)) |
Definition at line 726 of file hci_core.h.
#define lmp_encrypt_capable | ( | dev | ) | ((dev)->features[0] & LMP_ENCRYPT) |
Definition at line 719 of file hci_core.h.
Definition at line 722 of file hci_core.h.
#define lmp_host_le_capable | ( | dev | ) | ((dev)->host_features[0] & LMP_HOST_LE) |
Definition at line 729 of file hci_core.h.
Definition at line 725 of file hci_core.h.
#define lmp_no_flush_capable | ( | dev | ) | ((dev)->features[6] & LMP_NO_FLUSH) |
Definition at line 724 of file hci_core.h.
#define lmp_rswitch_capable | ( | dev | ) | ((dev)->features[0] & LMP_RSWITCH) |
Definition at line 718 of file hci_core.h.
Definition at line 720 of file hci_core.h.
#define lmp_sniffsubr_capable | ( | dev | ) | ((dev)->features[5] & LMP_SNIFF_SUBR) |
Definition at line 721 of file hci_core.h.
#define lmp_ssp_capable | ( | dev | ) | ((dev)->features[6] & LMP_SIMPLE_PAIR) |
Definition at line 723 of file hci_core.h.
#define NUM_REASSEMBLY 4 |
Definition at line 127 of file hci_core.h.
#define SET_HCIDEV_DEV | ( | hdev, | |
pdev | |||
) | ((hdev)->dev.parent = (pdev)) |
Definition at line 715 of file hci_core.h.
Definition at line 627 of file hci_core.h.
Definition at line 626 of file hci_core.h.
anonymous enum |
Definition at line 412 of file hci_core.h.
Definition at line 2887 of file hci_core.c.
Definition at line 120 of file hci_conn.c.
int hci_add_link_key | ( | struct hci_dev * | hdev, |
struct hci_conn * | conn, | ||
int | new_key, | ||
bdaddr_t * | bdaddr, | ||
u8 * | val, | ||
u8 | type, | ||
u8 | pin_len | ||
) |
Definition at line 1243 of file hci_core.c.
int hci_add_ltk | ( | struct hci_dev * | hdev, |
bdaddr_t * | bdaddr, | ||
u8 | addr_type, | ||
u8 | type, | ||
int | new_key, | ||
u8 | authenticated, | ||
u8 | tk[16], | ||
u8 | enc_size, | ||
__le16 | ediv, | ||
u8 | rand[8] | ||
) |
Definition at line 1296 of file hci_core.c.
int hci_add_remote_oob_data | ( | struct hci_dev * | hdev, |
bdaddr_t * | bdaddr, | ||
u8 * | hash, | ||
u8 * | randomizer | ||
) |
Definition at line 1424 of file hci_core.c.
Definition at line 546 of file hci_sysfs.c.
Definition at line 1634 of file hci_core.c.
Definition at line 1475 of file hci_core.c.
Definition at line 1459 of file hci_core.c.
Definition at line 1496 of file hci_core.c.
|
read |
Definition at line 1448 of file hci_core.c.
Definition at line 2877 of file hci_core.c.
Definition at line 1571 of file hci_core.c.
Definition at line 923 of file hci_conn.c.
Definition at line 942 of file hci_conn.c.
Definition at line 957 of file hci_conn.c.
Definition at line 319 of file hci_conn.c.
Definition at line 114 of file hci_sysfs.c.
Definition at line 716 of file hci_conn.c.
Definition at line 586 of file hci_conn.c.
Definition at line 794 of file hci_conn.c.
Definition at line 701 of file hci_conn.c.
Definition at line 382 of file hci_conn.c.
Definition at line 130 of file hci_sysfs.c.
Definition at line 750 of file hci_conn.c.
Definition at line 778 of file hci_conn.c.
Definition at line 809 of file hci_conn.c.
Definition at line 101 of file hci_sysfs.c.
Definition at line 815 of file hci_conn.c.
Definition at line 645 of file hci_conn.c.
Definition at line 731 of file hci_conn.c.
|
read |
Definition at line 567 of file hci_conn.c.
Definition at line 579 of file hci_sysfs.c.
Definition at line 824 of file hci_core.c.
Definition at line 326 of file hci_core.c.
Definition at line 642 of file hci_core.c.
Definition at line 842 of file hci_core.c.
Definition at line 880 of file hci_core.c.
Definition at line 348 of file hci_core.c.
Definition at line 362 of file hci_core.c.
Definition at line 3561 of file hci_event.c.
Definition at line 1168 of file hci_core.c.
Definition at line 1215 of file hci_core.c.
|
read |
Definition at line 1230 of file hci_core.c.
Definition at line 1384 of file hci_core.c.
Definition at line 1688 of file hci_core.c.
Definition at line 903 of file hci_conn.c.
Definition at line 875 of file hci_conn.c.
Definition at line 822 of file hci_conn.c.
Definition at line 1018 of file hci_core.c.
Definition at line 971 of file hci_core.c.
Definition at line 435 of file hci_conn.c.
Definition at line 535 of file hci_sysfs.c.
Definition at line 573 of file hci_core.c.
|
read |
Definition at line 402 of file hci_core.c.
|
read |
Definition at line 434 of file hci_core.c.
|
read |
Definition at line 418 of file hci_core.c.
bool hci_inquiry_cache_update | ( | struct hci_dev * | hdev, |
struct inquiry_data * | data, | ||
bool | name_known, | ||
bool * | ssp | ||
) |
Definition at line 472 of file hci_core.c.
void hci_inquiry_cache_update_resolve | ( | struct hci_dev * | hdev, |
struct inquiry_entry * | ie | ||
) |
Definition at line 453 of file hci_core.c.
void hci_le_conn_update | ( | struct hci_conn * | conn, |
u16 | min, | ||
u16 | max, | ||
u16 | latency, | ||
u16 | to_multiplier | ||
) |
Definition at line 175 of file hci_conn.c.
Definition at line 1613 of file hci_core.c.
Definition at line 194 of file hci_conn.c.
Definition at line 1140 of file hci_core.c.
Definition at line 1980 of file hci_core.c.
Definition at line 1849 of file hci_core.c.
Definition at line 2002 of file hci_core.c.
Definition at line 2037 of file hci_core.c.
Definition at line 1698 of file hci_core.c.
Definition at line 1412 of file hci_core.c.
Definition at line 1333 of file hci_core.c.
Definition at line 1349 of file hci_core.c.
Definition at line 1396 of file hci_core.c.
Definition at line 60 of file hci_core.c.
Definition at line 1841 of file hci_core.c.
Definition at line 213 of file hci_conn.c.
Definition at line 2203 of file hci_core.c.
Definition at line 2090 of file hci_core.c.
Definition at line 2218 of file hci_core.c.
Definition at line 142 of file hci_sock.c.
Definition at line 176 of file hci_sock.c.
Definition at line 70 of file hci_sock.c.
Definition at line 2126 of file hci_core.c.
Definition at line 151 of file hci_conn.c.
Definition at line 1156 of file hci_core.c.
Definition at line 372 of file hci_sock.c.
Definition at line 1833 of file hci_core.c.
Definition at line 2049 of file hci_core.c.
Definition at line 1777 of file hci_core.c.
Definition at line 1124 of file hci_core.c.
Definition at line 5352 of file l2cap_core.c.
Definition at line 5321 of file l2cap_core.c.
Definition at line 5378 of file l2cap_core.c.
Definition at line 5367 of file l2cap_core.c.
Definition at line 5519 of file l2cap_core.c.
Definition at line 5401 of file l2cap_core.c.
rwlock_t hci_cb_list_lock |
rwlock_t hci_dev_list_lock |