patch-2.4.10 linux/include/net/bluetooth/l2cap.h

Next file: linux/include/net/bluetooth/l2cap_core.h
Previous file: linux/include/net/bluetooth/hci_vhci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/include/net/bluetooth/l2cap.h linux/include/net/bluetooth/l2cap.h
@@ -23,7 +23,7 @@
 */
 
 /*
- *  $Id: l2cap.h,v 1.1 2001/06/01 08:12:11 davem Exp $
+ *  $Id: l2cap.h,v 1.5 2001/06/14 21:28:26 maxk Exp $
  */
 
 #ifndef __L2CAP_H
@@ -32,6 +32,14 @@
 #include <asm/types.h>
 #include <asm/byteorder.h>
 
+/* L2CAP defaults */
+#define L2CAP_DEFAULT_MTU 	672
+#define L2CAP_DEFAULT_FLUSH_TO	0xFFFF
+
+#define L2CAP_CONN_TIMEOUT 	(HZ * 40)
+#define L2CAP_DISCONN_TIMEOUT 	(HZ * 2)
+#define L2CAP_CONN_IDLE_TIMEOUT	(HZ * 60)
+
 /* L2CAP socket address */
 struct sockaddr_l2 {
 	sa_family_t	l2_family;
@@ -52,11 +60,10 @@
 	__u32 delay_var;
 };
 
-/* L2CAP defaults */
-#define L2CAP_DEFAULT_MTU 	672
-#define L2CAP_DEFAULT_FLUSH_TO	0xFFFF
-
-#define L2CAP_CONN_TIMEOUT 	(HZ * 40)
+#define L2CAP_CONNINFO  0x02
+struct l2cap_conninfo {
+	__u16 hci_handle;
+};
 
 /* L2CAP command codes */
 #define L2CAP_COMMAND_REJ 0x01

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)