hci_unit
struct hci_unit *sc_unit; /* Bluetooth HCI Unit */
struct hci_unit *sc_unit; /* Bluetooth HCI Unit */
struct hci_unit *sc_unit; /* Bluetooth HCI handle */
struct hci_unit *sc_unit; /* Bluetooth HCI Unit */
struct hci_unit *sc_unit; /* Bluetooth HCI Unit */
struct hci_unit *sc_unit; /* Bluetooth HCI Unit */
struct hci_unit *sc_unit;
struct hci_unit *hl_unit; /* our unit */
SIMPLEQ_ENTRY(hci_unit) hci_next;
extern SIMPLEQ_HEAD(hci_unit_list, hci_unit) hci_unit_list;
void hci_event(struct mbuf *, struct hci_unit *);
struct hci_link *hci_acl_open(struct hci_unit *, bdaddr_t *);
struct hci_link *hci_acl_newconn(struct hci_unit *, bdaddr_t *);
void hci_acl_recv(struct mbuf *, struct hci_unit *);
struct hci_link *hci_sco_newconn(struct hci_unit *, bdaddr_t *);
void hci_sco_recv(struct mbuf *, struct hci_unit *);
struct hci_link *hci_link_alloc(struct hci_unit *, bdaddr_t *, uint8_t);
struct hci_link *hci_link_lookup_bdaddr(struct hci_unit *, bdaddr_t *, uint8_t);
struct hci_link *hci_link_lookup_handle(struct hci_unit *, uint16_t);
struct hci_memo *hci_memo_find(struct hci_unit *, bdaddr_t *);
struct hci_memo *hci_memo_new(struct hci_unit *, bdaddr_t *);
void hci_mtap(struct mbuf *, struct hci_unit *);
struct hci_unit *hci_attach_pcb(const struct hci_if *, device_t, uint16_t);
void hci_detach_pcb(struct hci_unit *);
int hci_enable(struct hci_unit *);
void hci_disable(struct hci_unit *);
struct hci_unit *hci_unit_lookup(const bdaddr_t *);
int hci_send_cmd(struct hci_unit *, uint16_t, void *, uint8_t);
void hci_num_cmds(struct hci_unit *, uint8_t);
bool hci_input_event(struct hci_unit *, struct mbuf *);
bool hci_input_acl(struct hci_unit *, struct mbuf *);
bool hci_input_sco(struct hci_unit *, struct mbuf *);
bool hci_complete_sco(struct hci_unit *, struct mbuf *);
void hci_output_cmd(struct hci_unit *, struct mbuf *);
void hci_output_acl(struct hci_unit *, struct mbuf *);
void hci_output_sco(struct hci_unit *, struct mbuf *);
hci_cmd_read_local_extended_features(struct hci_unit *unit, struct mbuf *m)
hci_cmd_read_local_ver(struct hci_unit *unit, struct mbuf *m)
hci_cmd_read_local_commands(struct hci_unit *unit, struct mbuf *m)
hci_cmd_read_encryption_key_size(struct hci_unit *unit, struct mbuf *m)
hci_cmd_reset(struct hci_unit *unit, struct mbuf *m)
hci_cmd_create_con(struct hci_unit *unit, uint8_t status)
hci_event(struct mbuf *m, struct hci_unit *unit)
hci_event_command_status(struct hci_unit *unit, struct mbuf *m)
hci_event_command_compl(struct hci_unit *unit, struct mbuf *m)
hci_event_num_compl_pkts(struct hci_unit *unit, struct mbuf *m)
hci_event_inquiry_result(struct hci_unit *unit, struct mbuf *m)
static void hci_event_inquiry_result(struct hci_unit *, struct mbuf *);
static void hci_event_rssi_result(struct hci_unit *, struct mbuf *);
static void hci_event_extended_result(struct hci_unit *, struct mbuf *);
hci_event_rssi_result(struct hci_unit *unit, struct mbuf *m)
static void hci_event_command_status(struct hci_unit *, struct mbuf *);
static void hci_event_command_compl(struct hci_unit *, struct mbuf *);
static void hci_event_con_compl(struct hci_unit *, struct mbuf *);
static void hci_event_discon_compl(struct hci_unit *, struct mbuf *);
hci_event_extended_result(struct hci_unit *unit, struct mbuf *m)
static void hci_event_con_req(struct hci_unit *, struct mbuf *);
static void hci_event_num_compl_pkts(struct hci_unit *, struct mbuf *);
static void hci_event_auth_compl(struct hci_unit *, struct mbuf *);
static void hci_event_encryption_change(struct hci_unit *, struct mbuf *);
hci_event_con_compl(struct hci_unit *unit, struct mbuf *m)
static void hci_event_change_con_link_key_compl(struct hci_unit *, struct mbuf *);
static void hci_event_read_clock_offset_compl(struct hci_unit *, struct mbuf *);
static void hci_cmd_read_bdaddr(struct hci_unit *, struct mbuf *);
static void hci_cmd_read_buffer_size(struct hci_unit *, struct mbuf *);
static void hci_cmd_read_local_features(struct hci_unit *, struct mbuf *);
static void hci_cmd_read_local_extended_features(struct hci_unit *, struct mbuf *);
static void hci_cmd_read_local_ver(struct hci_unit *, struct mbuf *);
static void hci_cmd_read_local_commands(struct hci_unit *, struct mbuf *);
static void hci_cmd_read_encryption_key_size(struct hci_unit *, struct mbuf *);
static void hci_cmd_reset(struct hci_unit *, struct mbuf *);
hci_event_discon_compl(struct hci_unit *unit, struct mbuf *m)
static void hci_cmd_create_con(struct hci_unit *unit, uint8_t status);
hci_event_con_req(struct hci_unit *unit, struct mbuf *m)
hci_event_auth_compl(struct hci_unit *unit, struct mbuf *m)
hci_event_encryption_change(struct hci_unit *unit, struct mbuf *m)
hci_event_change_con_link_key_compl(struct hci_unit *unit, struct mbuf *m)
hci_event_read_clock_offset_compl(struct hci_unit *unit, struct mbuf *m)
hci_cmd_read_bdaddr(struct hci_unit *unit, struct mbuf *m)
hci_cmd_read_buffer_size(struct hci_unit *unit, struct mbuf *m)
hci_cmd_read_local_features(struct hci_unit *unit, struct mbuf *m)
struct hci_unit *unit;
struct hci_unit *unit;
hci_link_lookup_bdaddr(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type)
hci_link_lookup_handle(struct hci_unit *unit, uint16_t handle)
hci_acl_newconn(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_acl_recv(struct mbuf *m, struct hci_unit *unit)
struct hci_unit *unit;
hci_acl_open(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_sco_newconn(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_sco_recv(struct mbuf *m, struct hci_unit *unit)
hci_link_alloc(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type)
hci_memo_find(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_memo_new(struct hci_unit *unit, bdaddr_t *bdaddr)
struct hci_unit *unit;
struct hci_unit *unit = (struct hci_unit *)arg0;
struct hci_unit *unit;
struct hci_unit *unit;
hci_mtap(struct mbuf *m, struct hci_unit *unit)
hci_detach_pcb(struct hci_unit *unit)
SIMPLEQ_REMOVE(&hci_unit_list, unit, hci_unit, hci_next);
hci_enable(struct hci_unit *unit)
hci_disable(struct hci_unit *unit)
struct hci_unit *
struct hci_unit *unit;
hci_num_cmds(struct hci_unit *unit, uint8_t num)
hci_send_cmd(struct hci_unit *unit, uint16_t opcode, void *buf, uint8_t len)
struct hci_unit *unit = arg;
hci_input_event(struct hci_unit *unit, struct mbuf *m)
hci_input_acl(struct hci_unit *unit, struct mbuf *m)
hci_input_sco(struct hci_unit *unit, struct mbuf *m)
hci_output_cmd(struct hci_unit *unit, struct mbuf *m)
hci_output_acl(struct hci_unit *unit, struct mbuf *m)
hci_output_sco(struct hci_unit *unit, struct mbuf *m)
hci_complete_sco(struct hci_unit *unit, struct mbuf *m)
struct hci_unit *
struct hci_unit *unit;
unit = malloc(sizeof(struct hci_unit), M_BLUETOOTH, M_ZERO | M_WAITOK);
struct hci_unit *unit;
struct hci_unit *unit;