|
From: Fredrik S. <fre...@us...> - 2002-02-12 13:50:21
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- bnep.h 1.2 1.3=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Patch from Fabrizio Gennari <fab...@ph...> The diff of the modified file(s): --- bnep.h 6 Feb 2002 11:19:59 -0000 1.2 +++ bnep.h 12 Feb 2002 13:50:17 -0000 1.3 @@ -191,6 +191,8 @@ =20 /****************** EXPORTED FUNCTION DECLARATION SECTION ****************= ***/ =20 +int bnep_init_module(void); +void bnep_exit_module(void); void bnep_init(void); u32 bnep_connect_req(u8* bd_addr); void bnep_disconnect_req(u8 line); |
|
From: Fredrik S. <fre...@us...> - 2002-03-08 09:37:20
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- bnep.h 1.4 1.5=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added some global function prototypes. The diff of the modified file(s): --- bnep.h 1 Mar 2002 12:47:00 -0000 1.4 +++ bnep.h 8 Mar 2002 09:37:19 -0000 1.5 @@ -258,9 +258,13 @@ int bnep_init_module(void); void bnep_exit_module(void); void bnep_init(void); +void bnep_shutdown(void); u32 bnep_connect_req(u8* bd_addr); void bnep_disconnect_req(u8 line); u32 bnep_test(u8 *p); +void bnep_set_mac_address_all(u8 *addr); +s32 bnep_set_multicast_filter(u8 *filter); +u32 bnep_set_protocol_filter(u16 *filter); =20 s32 bnep_status_create_proc_file(void); s32 bnep_status_remove_proc_file(void); |
|
From: Willy S. <sag...@us...> - 2002-04-08 16:44:58
|
The following file was modified in linux/include/linux/bluetooth:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
bnep.h 1.5 1.6=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added some new messages
The diff of the modified file(s):
--- bnep.h 8 Mar 2002 09:37:19 -0000 1.5
+++ bnep.h 8 Apr 2002 10:03:36 -0000 1.6
@@ -125,6 +125,12 @@
#define BNEP_MAX_MCAST_FILTER_RANGES 5
=20
/****************** TYPE DEFINITION SECTION ******************************=
***/
+#define ETH_ALEN 6
+
+typedef struct macaddr=20
+{
+ unsigned char addr[ETH_ALEN];
+} __attribute__ ((packed)) macaddr;
=20
/* structure used to reserve space in at bt_tx_buf for hci and l2cap heade=
rs */
typedef struct bnep_tx_buf=20
@@ -253,6 +259,72 @@
u16 bnep_response_msg;
} __attribute__ ((packed)) bnep_filter_response_msg;
=20
+
+/* BNEP proc messages */
+#ifdef BNEP_PROC
+typedef struct disconnect_msg
+{
+ u16 type;
+ u16 len;
+ void *reserved;
+ u16 connection_id;
+ macaddr addr;
+} __attribute__ ((packed)) disconnect_msg;
+
+
+typedef struct connect_msg
+{
+ u16 type;
+ u16 len;
+ void *reserved;
+ u16 connection_id;
+ macaddr addr;
+} __attribute__ ((packed)) connect_msg;
+
+
+typedef struct disconnected_msg
+{
+ u16 type;
+ u16 len;
+ void *reserved;
+ u16 connection_id;
+ macaddr addr;
+} __attribute__ ((packed)) disconnected_msg;
+
+
+typedef struct connected_msg
+{
+ u16 type;
+ u16 len;
+ void *reserved;
+ u16 connection_id;
+ macaddr addr;
+} __attribute__ ((packed)) connected_msg;
+
+typedef struct handover_req_msg
+{
+ u16 type;
+ u16 len;
+ void *reserved;
+ u16 connection_id;
+ macaddr addr;
+ u8 nap_bd_addr[6];
+ u16 time_window;
+ u16 time_delay;=20
+} __attribute__ ((packed)) handover_req_msg;
+
+
+typedef struct handover_rsp_msg
+{
+ u16 type;
+ u16 len;
+ void *reserved;
+ u16 connection_id;
+ macaddr addr;
+} __attribute__ ((packed)) handover_rsp_msg;
+#endif
+
+
/****************** EXPORTED FUNCTION DECLARATION SECTION ****************=
***/
=20
int bnep_init_module(void);
@@ -260,7 +332,7 @@
void bnep_init(void);
void bnep_shutdown(void);
u32 bnep_connect_req(u8* bd_addr);
-void bnep_disconnect_req(u8 line);
+u32 bnep_disconnect_req(u8* bd_addr);
u32 bnep_test(u8 *p);
void bnep_set_mac_address_all(u8 *addr);
s32 bnep_set_multicast_filter(u8 *filter);
@@ -268,6 +340,16 @@
=20
s32 bnep_status_create_proc_file(void);
s32 bnep_status_remove_proc_file(void);
+
+#ifdef BNEP_PROC
+s32 bnep_create_proc_file(void);
+static s32 bnep_remove_proc_file(void);
+
+s32 bnep_disconnected_msg(macaddr *addr);
+s32 bnep_connected_msg(macaddr *addr);
+s32 bnep_handover_req_received_msg(macaddr *addr);
+s32 bnep_handover_rsp_received_msg(macaddr *addr);
+#endif
=20
#endif
/****************** END OF FILE bnep.h ***********************************=
***/
|
|
From: Willy S. <sag...@us...> - 2003-01-09 09:55:09
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bnep.h 1.6 1.7=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Increased number of filters The diff of the modified file(s): --- bnep.h 8 Apr 2002 10:03:36 -0000 1.6 +++ bnep.h 9 Jan 2003 09:55:06 -0000 1.7 @@ -121,8 +121,8 @@ =20 /* Max number of filter ranges for Network Protocol Types */ =20 -#define BNEP_MAX_PROTOCOL_FILTER_RANGES 5 -#define BNEP_MAX_MCAST_FILTER_RANGES 5 +#define BNEP_MAX_PROTOCOL_FILTER_RANGES 15 +#define BNEP_MAX_MCAST_FILTER_RANGES 15 =20 /****************** TYPE DEFINITION SECTION ******************************= ***/ #define ETH_ALEN 6 |