patch-2.4.22 linux-2.4.22/include/net/bluetooth/l2cap.h
Next file: linux-2.4.22/include/net/bluetooth/rfcomm.h
Previous file: linux-2.4.22/include/net/bluetooth/hci.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/net/bluetooth/l2cap.h
- Orig date:
2002-08-02 17:39:46.000000000 -0700
diff -urN linux-2.4.21/include/net/bluetooth/l2cap.h linux-2.4.22/include/net/bluetooth/l2cap.h
@@ -60,6 +60,7 @@
#define L2CAP_LM_AUTH 0x0002
#define L2CAP_LM_ENCRYPT 0x0004
#define L2CAP_LM_TRUSTED 0x0008
+#define L2CAP_LM_RELIABLE 0x0010
#define L2CAP_QOS 0x04
struct l2cap_qos {
@@ -229,6 +230,7 @@
__u32 link_mode;
__u8 conf_state;
+ __u8 conf_retry;
__u16 conf_mtu;
__u8 ident;
@@ -238,8 +240,11 @@
struct sock *prev_c;
};
-#define CONF_REQ_SENT 0x01
-#define CONF_INPUT_DONE 0x02
-#define CONF_OUTPUT_DONE 0x04
+#define L2CAP_CONF_REQ_SENT 0x01
+#define L2CAP_CONF_INPUT_DONE 0x02
+#define L2CAP_CONF_OUTPUT_DONE 0x04
+#define L2CAP_CONF_MAX_RETRIES 2
+
+void l2cap_load(void);
#endif /* __L2CAP_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)