#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include "hci_uart.h"
Go to the source code of this file.
#define H5_HDR_ACK |
( |
|
hdr | ) |
(((hdr)[0] >> 3) & 0x07) |
#define H5_HDR_CRC |
( |
|
hdr | ) |
(((hdr)[0] >> 6) & 0x01) |
#define H5_HDR_LEN |
( |
|
hdr | ) |
((((hdr)[1] >> 4) & 0xff) + ((hdr)[2] << 4)) |
#define H5_HDR_PKT_TYPE |
( |
|
hdr | ) |
((hdr)[1] & 0x0f) |
#define H5_HDR_RELIABLE |
( |
|
hdr | ) |
(((hdr)[0] >> 7) & 0x01) |
#define H5_HDR_SEQ |
( |
|
hdr | ) |
((hdr)[0] & 0x07) |
#define H5_MAX_LEN (4 + 0xfff + 2) |
#define HCI_3WIRE_ACK_PKT 0 |
#define HCI_3WIRE_LINK_PKT 15 |
#define SLIP_DELIMITER 0xc0 |
#define SLIP_ESC_DELIM 0xdc |
#define SLIP_ESC_ESC 0xdd |
- Enumerator:
-
Definition at line 62 of file hci_h5.c.