Changeset View
Changeset View
Standalone View
Standalone View
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
Show First 20 Lines • Show All 870 Lines • ▼ Show 20 Lines | "%s: Could not name Netgraph node, error=%d\n", __func__, error); | ||||
f = ng_btsocket_hci_raw_sec_filter->commands[NG_HCI_OGF_STATUS - 1]; | f = ng_btsocket_hci_raw_sec_filter->commands[NG_HCI_OGF_STATUS - 1]; | ||||
bit_set(f, NG_HCI_OCF_READ_FAILED_CONTACT_CNTR - 1); | bit_set(f, NG_HCI_OCF_READ_FAILED_CONTACT_CNTR - 1); | ||||
bit_set(f, NG_HCI_OCF_GET_LINK_QUALITY - 1); | bit_set(f, NG_HCI_OCF_GET_LINK_QUALITY - 1); | ||||
bit_set(f, NG_HCI_OCF_READ_RSSI - 1); | bit_set(f, NG_HCI_OCF_READ_RSSI - 1); | ||||
/* Commands - Testing */ | /* Commands - Testing */ | ||||
f = ng_btsocket_hci_raw_sec_filter->commands[NG_HCI_OGF_TESTING - 1]; | f = ng_btsocket_hci_raw_sec_filter->commands[NG_HCI_OGF_TESTING - 1]; | ||||
bit_set(f, NG_HCI_OCF_READ_LOOPBACK_MODE - 1); | bit_set(f, NG_HCI_OCF_READ_LOOPBACK_MODE - 1); | ||||
/*Commands - LE*/ | |||||
f = ng_btsocket_hci_raw_sec_filter->commands[NG_HCI_OGF_LE -1]; | |||||
} /* ng_btsocket_hci_raw_init */ | } /* ng_btsocket_hci_raw_init */ | ||||
/* | /* | ||||
* Abort connection on socket | * Abort connection on socket | ||||
*/ | */ | ||||
void | void | ||||
ng_btsocket_hci_raw_abort(struct socket *so) | ng_btsocket_hci_raw_abort(struct socket *so) | ||||
▲ Show 20 Lines • Show All 761 Lines • Show Last 20 Lines |