|
From: Fredrik S. <fre...@us...> - 2002-02-13 10:04:35
|
The following files were modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.74 1.75=20=20=20=20=20=20=20=20=20=20=20=20 hci_internal.h 1.22 1.23=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Change default link supervision timeout from 20 sec to 5 sec. The diff of the modified file(s): --- hci.h 6 Feb 2002 11:19:58 -0000 1.74 +++ hci.h 13 Feb 2002 10:04:34 -0000 1.75 @@ -169,7 +169,7 @@ s32 hci_read_encryption_mode(void); s32 hci_write_encryption_mode(u8 mode); s32 hci_read_link_supervision_to(u32 hdl); -s32 hci_write_link_supervision_to(u32 hdl, u32 link_to); +s32 hci_write_link_supervision_to(u32 hdl, u32 link_to, s32 block); s32 hci_write_class_of_device(u8 *class_of_device); s32 hci_set_event_filter(u8 *data); s32 hci_read_power_transmit_level(u32 con_hdl, unsigned char type); --- hci_internal.h 12 Feb 2002 10:57:41 -0000 1.22 +++ hci_internal.h 13 Feb 2002 10:04:34 -0000 1.23 @@ -292,6 +292,10 @@ #define DEFAULT_TIMEOUT 2=20 #define LONG_TIMEOUT 15 =20 +/* How long the baseband waits after link loss until disconnecting + the client. Measured in baseband slots (0.625 msec). */ +#define DEFAULT_LINK_SUPERVISION_TIMEOUT (5000000/625) /* 5 sec */ + /****************** TYPE DEFINITION SECTION ******************************= ***/ =20 /* Struct used to keep track of the current number of buffers, and the siz= es |