FreeBSD kernel netgraph code
|
Go to the source code of this file.
Functions | |
int | ng_hci_send_command (ng_hci_unit_p) |
int | ng_hci_process_command_complete (ng_hci_unit_p, struct mbuf *) |
int | ng_hci_process_command_status (ng_hci_unit_p, struct mbuf *) |
void | ng_hci_process_command_timeout (node_p, hook_p, void *, int) |
int ng_hci_process_command_complete | ( | ng_hci_unit_p | unit, |
struct mbuf * | e | ||
) |
Definition at line 164 of file ng_hci_cmds.c.
References ng_hci_unit::buffer, complete_command(), NG_FREE_M, NG_HCI_BUFF_CMD_SET, NG_HCI_ERR, NG_HCI_M_PULLUP, NG_HCI_OCF, NG_HCI_OGF, NG_HCI_OGF_BT_LOGO, NG_HCI_OGF_HC_BASEBAND, NG_HCI_OGF_INFO, NG_HCI_OGF_LE, NG_HCI_OGF_LINK_CONTROL, NG_HCI_OGF_LINK_POLICY, NG_HCI_OGF_STATUS, NG_HCI_OGF_TESTING, NG_HCI_OGF_VENDOR, ng_hci_send_command(), NG_NODE_NAME, ng_hci_unit::node, process_hc_baseband_params(), process_info_params(), process_le_params(), process_link_control_params(), process_link_policy_params(), process_status_params(), and process_testing_params().
Referenced by ng_hci_process_event().
int ng_hci_process_command_status | ( | ng_hci_unit_p | unit, |
struct mbuf * | e | ||
) |
Definition at line 269 of file ng_hci_cmds.c.
References ng_hci_unit::buffer, complete_command(), NG_FREE_M, NG_HCI_BUFF_CMD_SET, NG_HCI_M_PULLUP, NG_HCI_OGF, NG_HCI_OGF_BT_LOGO, NG_HCI_OGF_HC_BASEBAND, NG_HCI_OGF_INFO, NG_HCI_OGF_LE, NG_HCI_OGF_LINK_CONTROL, NG_HCI_OGF_LINK_POLICY, NG_HCI_OGF_STATUS, NG_HCI_OGF_TESTING, NG_HCI_OGF_VENDOR, ng_hci_send_command(), process_le_status(), process_link_control_status(), and process_link_policy_status().
Referenced by ng_hci_process_event().
Definition at line 393 of file ng_hci_cmds.c.
References ng_hci_unit::buffer, ng_hci_unit::cmdq, NG_BT_MBUFQ_DEQUEUE, NG_FREE_M, NG_HCI_ALERT, NG_HCI_BUFF_CMD_SET, NG_HCI_ERR, NG_HCI_OCF, NG_HCI_OGF, ng_hci_send_command(), NG_HCI_UNIT_COMMAND_PENDING, NG_NODE_NAME, NG_NODE_NOT_VALID, NG_NODE_PRIVATE, ng_hci_unit::node, opcode, and ng_hci_unit::state.
Referenced by ng_hci_command_timeout().
int ng_hci_send_command | ( | ng_hci_unit_p | unit | ) |
Definition at line 91 of file ng_hci_cmds.c.
References ng_hci_unit::buffer, ng_hci_unit::cmdq, ng_hci_unit::drv, NG_BT_MBUFQ_DRAIN, NG_BT_MBUFQ_FIRST, NG_HCI_BUFF_CMD_GET, NG_HCI_BUFF_CMD_USE, ng_hci_command_timeout(), NG_HCI_ERR, NG_HCI_HOOK_DRV, ng_hci_mtap(), NG_HCI_STAT_BYTES_SENT, NG_HCI_STAT_CMD_SENT, NG_HCI_UNIT_COMMAND_PENDING, NG_HCI_WARN, NG_HOOK_NOT_VALID, NG_NODE_NAME, NG_SEND_DATA_ONLY, ng_hci_unit::node, ng_hci_unit::stat, and ng_hci_unit::state.
Referenced by con_compl(), ng_hci_lp_acl_con_req(), ng_hci_lp_con_rsp(), ng_hci_lp_discon_req(), ng_hci_lp_le_con_req(), ng_hci_lp_qos_req(), ng_hci_lp_sco_con_req(), ng_hci_process_command_complete(), ng_hci_process_command_status(), ng_hci_process_command_timeout(), and ng_hci_raw_rcvdata().