|
From: Peter K. <pk...@us...> - 2001-03-03 13:57:54
|
The following file was modified in linux/include/linux/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_internal.h 1.10 1.11=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Corrected a typo (packet -> packed).
The diff of the modified file(s):
--- hci_internal.h 2001/03/02 10:55:03 1.10
+++ hci_internal.h 2001/03/03 13:59:14 1.11
@@ -342,7 +342,7 @@
u8 local_bd[6];
s32 active_connection;
hci_con con[MAX_NBR_OF_CONNECTIONS];
-} __attribute__ ((packet)) hci_controller;
+} __attribute__ ((packed)) hci_controller;
=20
/****************** EXPORTED FUNCTION DECLARATION SECTION ****************=
***/
=20
|
|
From: Mattias A. <mat...@us...> - 2001-03-30 10:53:33
|
The following file was modified in linux/include/linux/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_internal.h 1.12 1.13=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
added some defines
The diff of the modified file(s):
--- hci_internal.h 2001/03/04 17:54:55 1.12
+++ hci_internal.h 2001/03/30 10:53:31 1.13
@@ -111,6 +111,7 @@
=20
/* How many inbuffers we have got, the size of them, and how many command
buffers we have got */
+
#define NBR_OF_HCI_INBUFFERS 7
=20
#define NBR_CMD_BUFS 10
@@ -241,7 +242,7 @@
#define WRITE_LOOPBACK_MODE 0x02
#define ENABLE_DEVICE_UNDER_TEST_MODE 0x03
=20
-/* Defines of the different events that is sent from the Host Controler
+/* Defines of the different events that is sent from the Host Controller
to the Host */
#define INQUIRY_COMPLETE 0x01
#define INQUIRY_RESULT 0x02
@@ -288,6 +289,10 @@
#define SCO_HDR_LEN 3
#define CMD_HDR_LEN 3
#define EVENT_HDR_LEN 2
+
+#define DISCMSG_USER_ENDED_CONNECTION 0x13
+#define DISCMSG_LOW_RESOURCES 0x14
+#define DISCMSG_ABOUT_TO_POWER_OFF 0x15
=20
/****************** TYPE DEFINITION SECTION ******************************=
***/
=20
|
|
From: Mats F. <ma...@us...> - 2001-05-15 15:10:13
|
The following file was modified in linux/include/linux/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_internal.h 1.13 1.14=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* Moved defines for H4 UART packet types to hci.h
* Added two functions for parsing BCSP packets
The diff of the modified file(s):
--- hci_internal.h 2001/03/30 10:53:31 1.13
+++ hci_internal.h 2001/05/15 15:10:11 1.14
@@ -116,14 +116,6 @@
=20
#define NBR_CMD_BUFS 10
=20
-/* Defines for the packet types */
-#define CMD_PKT 0x01
-#define ACL_PKT 0x02
-#define SCO_PKT 0x03
-#define EVENT_PKT 0x04
-#define ERROR_PKT 0x05
-#define NEG_PKT 0x06
-
/* Define the different OpCode Group Field (OGF) values */
#define HCI_LC 0x01 /* Link Control Command */
#define HCI_LP 0x02 /* Link Policy Command */
@@ -360,12 +352,16 @@
s32 send_cmd(u8 *cmd, u8 len);
s32 send_cmd_block(u8 *cmd, u8 len);
=20
+#ifdef CONFIG_BLUETOOTH_USE_BCSP
+void hci_receive_hq(u8 *data, u32 count);
+void hci_receive_bcsp(u8 *data, u32 count);
+#endif
+
/*
Called from hci.c.
Implemented in hci_vendor.c
*/
void process_vendor_return_param(u32 ocf, u8* r_val);
void process_vendor_event(u8 *buf, u32 len, u32 event_code);
-
#endif
/****************** END OF FILE hci_internal.h ***************************=
***/
|
|
From: Mats F. <ma...@us...> - 2001-05-15 15:21:17
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci_internal.h 1.14 1.15=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added the hci_set_buffer_sizes() function The diff of the modified file(s): --- hci_internal.h 2001/05/15 15:10:11 1.14 +++ hci_internal.h 2001/05/15 15:21:16 1.15 @@ -363,5 +363,6 @@ */ void process_vendor_return_param(u32 ocf, u8* r_val); void process_vendor_event(u8 *buf, u32 len, u32 event_code); +s32 hci_set_buffer_sizes(u16 len, u16 num); #endif /****************** END OF FILE hci_internal.h ***************************= ***/ |
|
From: Mattias A. <mat...@us...> - 2001-06-06 14:58:20
|
The following file was modified in linux/include/linux/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_internal.h 1.16 1.17=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* Added csr_pskey
The diff of the modified file(s):
--- hci_internal.h 2001/05/17 15:35:42 1.16
+++ hci_internal.h 2001/06/06 14:58:20 1.17
@@ -356,9 +356,12 @@
Called from hci.c.
Implemented in hci_vendor.c
*/
+
void process_vendor_return_param(u32 ocf, u8* r_val);
void process_vendor_event(u8 *buf, u32 len, u32 event_code);
s32 hci_set_buffer_sizes(u16 len, u16 num);
+s32 csr_pskey(u16 ps_key, u16 rw_mode, u16 *retb, u16 n_pars);
+
#endif
=20
/****************** END OF FILE hci_internal.h ***************************=
***/
|
|
From: Mats F. <ma...@us...> - 2001-06-08 12:50:16
|
The following file was modified in linux/include/linux/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_internal.h 1.17 1.18=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Removed trash_buffer from hci_controller struct
The diff of the modified file(s):
--- hci_internal.h 2001/06/06 14:58:20 1.17
+++ hci_internal.h 2001/06/08 12:50:15 1.18
@@ -325,16 +325,11 @@
u8 name[248];
} __attribute__ ((packed)) hci_con;
=20
-/* Used as a control object for the entire HCI layer. The trash_buffer is
- only used as an emergency buffer to avoid a program crash if something =
has
- gone wrong with the hci_in_buffers */
-
-/* FIXME: Do we really need the trash_buffer? */
+/* Used as a control object for the entire HCI layer */
=20
typedef struct hci_controller {
host_controller_buffers hc_buf;
hci_in_buffer hci_in_buf[NBR_OF_HCI_INBUFFERS];
- hci_in_buffer trash_buffer;
u32 nbr_of_connections;
u8 local_bd[6];
s32 active_connection;
|
|
From: Olov H. <ol...@us...> - 2001-07-05 19:02:07
|
The following file was modified in linux/include/linux/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci_internal.h 1.19 1.20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added timeout value to cmdtimer
The diff of the modified file(s):
--- hci_internal.h 2001/06/15 12:31:55 1.19
+++ hci_internal.h 2001/07/05 10:54:34 1.20
@@ -286,6 +286,10 @@
#define DISCMSG_LOW_RESOURCES 0x14
#define DISCMSG_ABOUT_TO_POWER_OFF 0x15
=20
+/* Time out values */
+#define DEFAULT_TIMEOUT 2=20
+#define LONG_TIMEOUT 15
+
/****************** TYPE DEFINITION SECTION ******************************=
***/
=20
/* Struct used to keep track of the current number of buffers, and the siz=
es
@@ -342,9 +346,9 @@
Implemented in hci.c
*/
void release_cmd_timer(void);
-void start_cmd_timer(void);
+void start_cmd_timer(u8 max_time);
s32 send_cmd(u8 *cmd, u8 len);
-s32 send_cmd_block(u8 *cmd, u8 len);
+s32 send_cmd_block(u8 *cmd, u8 len, u8 max_time);
=20
/*
Called from hci.c.
|
|
From: Peter K. <pk...@us...> - 2001-10-02 11:00:26
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci_internal.h 1.20 1.21=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Removed an unused hack to change the buffer sizes in a CSR module. The diff of the modified file(s): --- hci_internal.h 2001/07/05 10:54:34 1.20 +++ hci_internal.h 2001/10/02 11:00:25 1.21 @@ -357,7 +357,6 @@ =20 void process_vendor_return_param(u32 ocf, u8* r_val); void process_vendor_event(u8 *buf, u32 len, u32 event_code); -s32 hci_set_buffer_sizes(u16 len, u16 num); s32 csr_pskey(u16 ps_key, u16 rw_mode, u16 *retb, u16 n_pars); =20 #endif |
|
From: Fredrik S. <fre...@us...> - 2002-02-12 10:57:42
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci_internal.h 1.21 1.22=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added a counter of number of pending packets for each HCI handle. The diff of the modified file(s): --- hci_internal.h 2 Oct 2001 11:00:25 -0000 1.21 +++ hci_internal.h 12 Feb 2002 10:57:41 -0000 1.22 @@ -116,6 +116,8 @@ =20 #define NBR_CMD_BUFS 10 =20 +#define MAX_HCI_HANDLE_NBR 0xFF + /* Define the different OpCode Group Field (OGF) values */ #define HCI_LC 0x01 /* Link Control Command */ #define HCI_LP 0x02 /* Link Policy Command */ @@ -337,6 +339,9 @@ u32 nbr_of_connections; u8 local_bd[6]; hci_con con[MAX_NBR_OF_CONNECTIONS]; + + /* A counter of # of pending packets for each HCI handle */ + u8 acl_buf_count[MAX_HCI_HANDLE_NBR+1]; } hci_controller; =20 /****************** EXPORTED FUNCTION DECLARATION SECTION ****************= ***/ |