aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_bluetooth.txt
diff options
context:
space:
mode:
authorTheOfficialFloW <theflow@google.com>2020-06-11 08:59:37 -0700
committerGitHub <noreply@github.com>2020-06-11 17:59:37 +0200
commit1beaee21715b99daf89bf229213dd3ddabba6683 (patch)
treecff70d0ee290c54ebf4d4f7cf8e1d7837673f39d /sys/linux/socket_bluetooth.txt
parentdfdd11f7777557e4540f3319ff8b5f8ddf82bf19 (diff)
sys/linux: add l2cap descriptions
* sys/linux: add l2cap descriptions * sys/linux: restore bpf and fscrypt changes * sys/linux: restore key.txt
Diffstat (limited to 'sys/linux/socket_bluetooth.txt')
-rw-r--r--sys/linux/socket_bluetooth.txt23
1 files changed, 7 insertions, 16 deletions
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