From 1beaee21715b99daf89bf229213dd3ddabba6683 Mon Sep 17 00:00:00 2001 From: TheOfficialFloW Date: Thu, 11 Jun 2020 08:59:37 -0700 Subject: sys/linux: add l2cap descriptions * sys/linux: add l2cap descriptions * sys/linux: restore bpf and fscrypt changes * sys/linux: restore key.txt --- sys/linux/socket_bluetooth.txt | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'sys/linux/socket_bluetooth.txt') diff --git a/sys/linux/socket_bluetooth.txt b/sys/linux/socket_bluetooth.txt index fb778a4ef..f07fb47bf 100644 --- a/sys/linux/socket_bluetooth.txt +++ b/sys/linux/socket_bluetooth.txt @@ -35,7 +35,7 @@ write$vhci(fd fd_vhci, data ptr[in, vhci_command], size bytesize[data]) vhci_command [ HCI_EVENT_PKT vhci_command_event_pkt - HCI_ACLDATA_PKT vhci_command_generic[HCI_ACLDATA_PKT] + HCI_ACLDATA_PKT vhci_command_acldata_pkt HCI_SCODATA_PKT vhci_command_generic[HCI_SCODATA_PKT] HCI_VENDOR_PKT vhci_command_vendor_pkt ] [varlen] @@ -51,6 +51,12 @@ vhci_command_event_pkt { hdr hci_event_hdr_un } +vhci_command_acldata_pkt { + cmd const[HCI_ACLDATA_PKT, int8] + acl_hdr hci_acl_hdr[vhci_command_acldata_pkt:l2cap_hdr] + l2cap_hdr l2cap_hdr_un +} + vhci_command_vendor_pkt { cmd const[HCI_VENDOR_PKT, int8] opcode flags[vhci_vendor_pkt_opcode, int8] @@ -188,21 +194,6 @@ bt_security { keysize int8 } -l2cap_options { - omtu int16 - imtu int16 - flushto int16 - mode int8 - fcs int8 - maxtx int8 - txwin int16 -} - -l2cap_conninfo { - handle int16 - devcls array[int8, 3] -} - sockaddr_rc { fam const[AF_BLUETOOTH, int16] addr bdaddr_t -- cgit mrf-deployment