#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci.h>
+#include <net/bluetooth/rfcomm.h>
#include <linux/usb.h>
#include <linux/usbdevice_fs.h>
return sys_ioctl(fd, BLKGETSIZE64, arg);
}
+/* Bluetooth ioctls */
+#define HCIUARTSETPROTO _IOW('U', 200, int)
+#define HCIUARTGETPROTO _IOR('U', 201, int)
+
+#define BNEPCONNADD _IOW('B', 200, int)
+#define BNEPCONNDEL _IOW('B', 201, int)
+#define BNEPGETCONNLIST _IOR('B', 210, int)
+#define BNEPGETCONNINFO _IOR('B', 211, int)
+
struct ioctl_trans {
unsigned long cmd;
unsigned long handler;
COMPATIBLE_IOCTL(HCISETACLMTU),
COMPATIBLE_IOCTL(HCISETSCOMTU),
COMPATIBLE_IOCTL(HCIINQUIRY),
+COMPATIBLE_IOCTL(HCIUARTSETPROTO),
+COMPATIBLE_IOCTL(HCIUARTGETPROTO),
+COMPATIBLE_IOCTL(RFCOMMCREATEDEV),
+COMPATIBLE_IOCTL(RFCOMMRELEASEDEV),
+COMPATIBLE_IOCTL(RFCOMMGETDEVLIST),
+COMPATIBLE_IOCTL(RFCOMMGETDEVINFO),
+COMPATIBLE_IOCTL(RFCOMMSTEALDLC),
+COMPATIBLE_IOCTL(BNEPCONNADD),
+COMPATIBLE_IOCTL(BNEPCONNDEL),
+COMPATIBLE_IOCTL(BNEPGETCONNLIST),
+COMPATIBLE_IOCTL(BNEPGETCONNINFO),
COMPATIBLE_IOCTL(PCIIOC_CONTROLLER),
COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO),
COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM),