Commit 61b27cdf authored by Neeraj Sanjay Kale's avatar Neeraj Sanjay Kale Committed by Luiz Augusto von Dentz

Bluetooth: hci_h4: Add support for ISO packets in h4_recv.h

This adds ISO packet support in h4_recv.h, which was created before ISO
packet handling was added to hci_h4.c and hci_uart.c
Signed-off-by: default avatarNeeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent bdf9557f
...@@ -38,6 +38,13 @@ struct h4_recv_pkt { ...@@ -38,6 +38,13 @@ struct h4_recv_pkt {
.lsize = 1, \ .lsize = 1, \
.maxlen = HCI_MAX_EVENT_SIZE .maxlen = HCI_MAX_EVENT_SIZE
#define H4_RECV_ISO \
.type = HCI_ISODATA_PKT, \
.hlen = HCI_ISO_HDR_SIZE, \
.loff = 2, \
.lsize = 2, \
.maxlen = HCI_MAX_FRAME_SIZE
static inline struct sk_buff *h4_recv_buf(struct hci_dev *hdev, static inline struct sk_buff *h4_recv_buf(struct hci_dev *hdev,
struct sk_buff *skb, struct sk_buff *skb,
const unsigned char *buffer, const unsigned char *buffer,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment