aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_bluetooth.txt
diff options
context:
space:
mode:
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