|
From: Anders J. <and...@us...> - 2003-01-13 19:49:22
|
The following files were modified in linux/include/linux/bluetooth:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
btcommon.h 1.98 1.99=20=20=20=20=20=20=20=20=20=20=20=20=20=20
l2cap.h 1.44 1.45=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* Added support to get class of device.
The diff of the modified file(s):
--- btcommon.h 19 Nov 2002 14:11:42 -0000 1.98
+++ btcommon.h 13 Jan 2003 19:48:37 -0000 1.99
@@ -150,6 +150,7 @@
#define BT_GETCACHEDLINKKEY _IOWR(BT_IOC_MAGIC, 0x10, u8[22])
#define BTDISCONNECT_BB _IOW(BT_IOC_MAGIC, 0x11, u8[6])
#define BTREADREMOTENAME _IOWR(BT_IOC_MAGIC, 0x12, u8[BT_NAME_LENGTH])
+#define BTREADREMOTECLASSOFDEV _IOWR(BT_IOC_MAGIC, 0x13, u8[6])
=20
/* Ioctls executing HCI commands */
=20
@@ -342,6 +343,8 @@
=20
typedef u16 CID;
=20
+typedef u8 CLASS_OF_DEVICE[3];
+
typedef struct flow {
u8 flags; /* default 0 */
u8 service; /* default 0x01 (best effort) */
@@ -368,6 +371,7 @@
typedef struct l2cap_con {
s32 magic;
BD_ADDR remote_bd; /* 6 bytes */
+ CLASS_OF_DEVICE remote_class_of_dev;
u16 hci_hdl;
=20
/* FIXME - add multiple HCI handles for group=20
--- l2cap.h 25 Feb 2002 14:09:05 -0000 1.44
+++ l2cap.h 13 Jan 2003 19:48:39 -0000 1.45
@@ -311,10 +311,10 @@
s32 lp_connect_cfm(u8 *bd_addr, u32 status, u16 con_hdl);
=20
/* Indicates the lower protocol has successfully established connection */
-void lp_connect_ind(BD_ADDR bd_addr);
+void lp_connect_ind(BD_ADDR bd_addr, CLASS_OF_DEVICE remote_class);
=20
/* called from hci when baseband is up (server) */
-void l2cap_create_con(BD_ADDR bd);
+void l2cap_create_con(BD_ADDR bd, CLASS_OF_DEVICE remote_class);
=20
/* Indicates the baseband has been shutdown */
s32 lp_disconnect_ind(u32 con_hdl);
|