From: Gordon M. <gm...@us...> - 2001-03-20 16:40:33
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.47 1.47.2.1=20=20=20=20=20=20=20=20 The accompanying log: --Initial checking of changes to HCI. Including a) fixed the hci inquiry ha= ng b) changed buffer allocation strategy for hci inquiry c) converted to ca= ll tables for HCI Command Status & Command Complete processing. The diff of the modified file(s): --- hci.h 2001/03/12 15:55:02 1.47 +++ hci.h 2001/03/20 16:42:53 1.47.2.1 @@ -99,8 +99,17 @@ s32 hci_sprint_local_info(u8 *buf); s32 hci_sprint_local_bd(u8 *buf); =20 -inquiry_results* hci_inquiry(u8 lap[], u8 inq_len, u8 num_resp); +#ifdef CONFIG_BLUETOOTH_HCI_INQUIRY +int hci_inquiry(u8 lap[], u8 inq_len, u8 num_resp, inquiry_results*); +#else +#define hci_inquiry -EINVAL +#endif + +#ifdef CONFIG_BLUETOOTH_SCO s32 hci_add_sco_connection(u32 hci_hdl); +#else +#define hci_add_sco_connection(x) -EINVAL +#endif =20 /* Link control commands */ s32 hci_link_key_request_reply(u8 *bd, u8* link_key); |
From: Mattias A. <mat...@us...> - 2001-03-30 09:42:43
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.47 1.48=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * added prototype for reading local verions info * added ms_set_msswitch_mode used to enable/disable m/s switch The diff of the modified file(s): --- hci.h 2001/03/12 15:55:02 1.47 +++ hci.h 2001/03/30 09:42:41 1.48 @@ -138,6 +138,9 @@ =20 /* Informational Parameters */ s32 hci_read_local_bd(u8 *bd); +s32 hci_read_local_version_info(s32 block); + + =20 /* Internal */ /* FIXME -- add parameter to choose from different devices */ @@ -147,6 +150,8 @@ s32 hci_enable_dut(void); s32 hci_test_connect_req(u8 *bd); s32 hci_send_raw_data(u8 *data, u8 len); + +void hci_set_msswitch_mode(u8 mode); =20 /* Vendor specific */ s32 hci_set_bd_addr(u8 bd[6]); |
From: Mattias A. <mat...@us...> - 2001-03-30 10:48:11
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.48 1.49=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: renamed ms switch control function The diff of the modified file(s): --- hci.h 2001/03/30 09:42:41 1.48 +++ hci.h 2001/03/30 10:48:07 1.49 @@ -140,8 +140,6 @@ s32 hci_read_local_bd(u8 *bd); s32 hci_read_local_version_info(s32 block); =20 - - /* Internal */ /* FIXME -- add parameter to choose from different devices */ s32 get_remote_bd(u8 *bd); @@ -151,7 +149,7 @@ s32 hci_test_connect_req(u8 *bd); s32 hci_send_raw_data(u8 *data, u8 len); =20 -void hci_set_msswitch_mode(u8 mode); +void hci_force_msswitch(u8 enable); =20 /* Vendor specific */ s32 hci_set_bd_addr(u8 bd[6]); |
From: Mattias A. <mat...@us...> - 2001-03-31 15:49:41
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.49 1.50=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: added show_bt_vendor The diff of the modified file(s): --- hci.h 2001/03/30 10:48:07 1.49 +++ hci.h 2001/03/31 15:49:39 1.50 @@ -155,6 +155,7 @@ s32 hci_set_bd_addr(u8 bd[6]); s32 hci_set_baudrate(u32 baudrate);=20 s32 hci_read_firmware_rev_info(void); +void show_bt_vendor(void); =20 #endif /****************** END OF FILE hci.h ************************************= ***/ |
From: Gordon M. <gm...@us...> - 2001-04-18 00:53:37
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.51 1.52=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Fixed the hci_inquiry hang (hopefully). The diff of the modified file(s): --- hci.h 2001/04/17 16:06:49 1.51 +++ hci.h 2001/04/18 00:53:37 1.52 @@ -99,7 +99,7 @@ s32 hci_sprint_local_info(u8 *buf); s32 hci_sprint_local_bd(u8 *buf); =20 -inquiry_results* hci_inquiry(u8 lap[], u8 inq_len, u8 num_resp); +int hci_inquiry(u8 lap[], u8 inq_len, u8 num_resp, inquiry_results*); s32 hci_add_sco_connection(u32 hci_hdl); =20 /* Link control commands */ |
From: Peter K. <pk...@us...> - 2001-04-18 14:46:18
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.52 1.53=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Removed bt_show_vendor(). The diff of the modified file(s): --- hci.h 2001/04/18 00:53:37 1.52 +++ hci.h 2001/04/18 14:46:17 1.53 @@ -159,7 +159,5 @@ char *bt_hw_vendor(void); char *bt_hw_firmware(void); =20 -void bt_show_vendor(void); - #endif /****************** END OF FILE hci.h ************************************= ***/ |
From: Mattias A. <mat...@us...> - 2001-04-25 17:46:11
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.53 1.54=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * added hci_read_transmit_power_level The diff of the modified file(s): --- hci.h 2001/04/18 14:46:17 1.53 +++ hci.h 2001/04/25 17:46:11 1.54 @@ -62,7 +62,6 @@ /* check in l2cap that MTU doesn't exceed this value */ #define HCI_IN_SIZE 800 =20 - /* Struct defining a HCI command packet, the meaning of the type field is decribed in part H:4 chapter 2 in the baseband core specification. The other fields are described in section H:1 chapter 4.4.1 in the baseband @@ -135,6 +134,7 @@ s32 hci_write_link_supervision_to(u32 hdl, u32 link_to); 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); =20 /* Informational Parameters */ s32 hci_read_local_bd(u8 *bd); |
From: Gordon M. <gm...@us...> - 2001-04-27 15:19:30
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.54 1.55=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: --Added the HCI commands written by Francesco Gallo and submitted by fabriz= io.gennari. The diff of the modified file(s): --- hci.h 2001/04/25 17:46:11 1.54 +++ hci.h 2001/04/27 15:19:29 1.55 @@ -135,6 +135,13 @@ 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); +s32 hci_hold_mode(u32 con_hdl, u32 max_interval, u32 min_interval); +s32 hci_write_page_to(u32 page_to); +s32 hci_write_hold_mode_activity(u32 hma); +s32 hci_write_connection_accept_to(u32 co_ac_to); +s32 hci_inquiry_cancel(void); +s32 hci_read_clock_offset(u32 hdl); +s32 hci_read_rssi(u32 hdl); =20 /* Informational Parameters */ s32 hci_read_local_bd(u8 *bd); |
From: Mats F. <ma...@us...> - 2001-05-15 15:08:00
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.55 1.56=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * Moved defines for H4 UART packet types from hci_internal.h * Added functions for Park, Hold and Sniff mode * Added two new functions for receiving BCSP packets The diff of the modified file(s): --- hci.h 2001/04/27 15:19:29 1.55 +++ hci.h 2001/05/15 15:08:00 1.56 @@ -55,6 +55,14 @@ =20 /****************** CONSTANT AND MACRO SECTION ***************************= ***/ =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 INQUIRY_PAGESCAN_DISABLE 0 #define INQUIRY_SCAN_ENABLE 1 #define PAGE_SCAN_ENABLE 2 @@ -87,6 +95,11 @@ void hci_receive_data(u8* data, u32 count); s32 hci_send_data(bt_tx_buf *tx_buf); =20 +#ifdef CONFIG_BLUETOOTH_USE_BCSP +void hci_receive_event(u8 *data, s32 count); +void hci_receive_acl(u8 *data, s32 count); +#endif + s32 lp_connect_req(u8 bd_addr[]); s32 lp_connect_rsp(u8 bd_addr[], u32 cfm); s32 lp_disconnect(u32 con_hdl); @@ -112,6 +125,9 @@ s32 hci_set_connection_encryption_bd(BD_ADDR bd, u8 enable); =20 /* Link Policy Commands */ +s32 hci_hold_mode(u16 hci_hdl, u16 max_int, u16 min_int); +s32 hci_sniff_mode(u16 hci_hdl, u16 max_int, u16 min_int, u16 attempt, u16= timeout); +s32 hci_park_mode(u16 hci_hdl, u16 max_int, u16 min_int); s32 hci_switch_role(u8 *bd, u8 role); =20 /* Host Controller and Baseband Commands */ @@ -135,7 +151,6 @@ 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); -s32 hci_hold_mode(u32 con_hdl, u32 max_interval, u32 min_interval); s32 hci_write_page_to(u32 page_to); s32 hci_write_hold_mode_activity(u32 hma); s32 hci_write_connection_accept_to(u32 co_ac_to); |
From: Mats F. <ma...@us...> - 2001-05-25 14:24:26
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.57 1.58=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added function hci_trig_send() The diff of the modified file(s): --- hci.h 2001/05/17 15:35:42 1.57 +++ hci.h 2001/05/25 14:24:26 1.58 @@ -89,6 +89,8 @@ =20 /****************** EXPORTED FUNCTION DECLARATION SECTION ****************= ***/ =20 +s32 hci_trig_send(void); + void hci_init(void); void hci_shutdown(void); void hci_clear_buffer(u32 con_hdl); |
From: Mattias A. <mat...@us...> - 2001-06-13 12:37:29
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.58 1.59=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * added return val in hci_init The diff of the modified file(s): --- hci.h 2001/05/25 14:24:26 1.58 +++ hci.h 2001/06/13 12:13:20 1.59 @@ -91,7 +91,7 @@ =20 s32 hci_trig_send(void); =20 -void hci_init(void); +s32 hci_init(void); void hci_shutdown(void); void hci_clear_buffer(u32 con_hdl); void hci_receive_data(u8* data, u32 count); |
From: Mats F. <ma...@us...> - 2001-06-14 10:53:34
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.59 1.60=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added exit_park_mode and exit_sniff_mode The diff of the modified file(s): --- hci.h 2001/06/13 12:13:20 1.59 +++ hci.h 2001/06/14 10:53:33 1.60 @@ -131,7 +131,9 @@ /* Link Policy Commands */ s32 hci_hold_mode(u16 hci_hdl, u16 max_int, u16 min_int); s32 hci_sniff_mode(u16 hci_hdl, u16 max_int, u16 min_int, u16 attempt, u16= timeout); +s32 hci_exit_sniff_mode(u16 hci_hdl); s32 hci_park_mode(u16 hci_hdl, u16 max_int, u16 min_int); +s32 hci_exit_park_mode(u16 hci_hdl); s32 hci_switch_role(u8 *bd, u8 role); =20 /* Host Controller and Baseband Commands */ |
From: Mats F. <ma...@us...> - 2001-07-06 06:56:09
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.61 1.62=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * If acl_num =3D=3D 0, we shouldn't schedule in hci_trig_send * Added function to check acl_num, needed in bcsp_sequence The diff of the modified file(s): --- hci.h 2001/06/15 12:31:55 1.61 +++ hci.h 2001/07/06 06:56:08 1.62 @@ -90,7 +90,7 @@ /****************** EXPORTED FUNCTION DECLARATION SECTION ****************= ***/ =20 s32 hci_trig_send(void); - +s32 hci_acl_num_cnt(void); s32 hci_init(void); void hci_shutdown(void); void hci_clear_buffer(u32 con_hdl); |
From: Peter K. <pk...@us...> - 2001-07-31 17:52:19
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.63 1.64=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added declaration of hci_set_max_connections(). The diff of the modified file(s): --- hci.h 2001/07/31 17:50:55 1.63 +++ hci.h 2001/07/31 17:52:18 1.64 @@ -97,6 +97,8 @@ void hci_receive_data(u8* data, u32 count); s32 hci_send_data(bt_tx_buf *tx_buf); =20 +void hci_set_max_connections(u8 max_connections); + #ifdef CONFIG_BLUETOOTH_SUPPORT_BCSP void hci_receive_event(u8 *data, s32 count); void hci_receive_acl(u8 *data, s32 count); |
From: Mattias A. <mat...@us...> - 2001-08-01 09:49:20
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.64 1.65=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: * added hci_read_country_code The diff of the modified file(s): --- hci.h 2001/07/31 17:52:18 1.64 +++ hci.h 2001/08/01 09:49:19 1.65 @@ -169,6 +169,7 @@ /* Informational Parameters */ s32 hci_read_local_bd(u8 *bd); s32 hci_read_local_version_info(s32 block); +s32 hci_read_country_code(void); =20 /* Internal */ /* FIXME -- add parameter to choose from different devices */ |
From: Peter K. <pk...@us...> - 2001-08-06 14:59:59
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.65 1.66=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Minor correction to indentation. |
From: Peter K. <pk...@us...> - 2001-09-10 11:19:58
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.68 1.69=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Made hci_set_max_connections() resturn a result. The diff of the modified file(s): --- hci.h 2001/09/10 10:16:22 1.68 +++ hci.h 2001/09/10 11:19:57 1.69 @@ -100,7 +100,7 @@ void hci_receive_data(u8* data, u32 count); s32 hci_send_data(bt_tx_buf *tx_buf); =20 -void hci_set_max_connections(u8 max_connections); +s32 hci_set_max_connections(s32 max_connections); =20 #ifdef CONFIG_BLUETOOTH_SUPPORT_BCSP void hci_receive_event(u8 *data, s32 count); |
From: Peter K. <pk...@us...> - 2001-10-02 13:44:50
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.70 1.71=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Call update_ncp() directly from bt_catch_ncp() instead of calling bt_receive_data() since it calls hci_receive_data() which is a state machine, and we do not want to mess up its state... The diff of the modified file(s): --- hci.h 2001/09/18 10:48:22 1.70 +++ hci.h 2001/10/02 13:44:49 1.71 @@ -189,6 +189,8 @@ /* FIXME -- add parameter to choose from different devices */ s32 get_remote_bd(int line, u8 *bd); =20 +void update_ncp(u8 nbr_of_hdl, u8 *pkt); + /* Testing commands */ s32 hci_enable_dut(void); s32 hci_test_connect_req(u8 *bd); |
From: Peter K. <pk...@us...> - 2001-10-22 12:51:45
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- hci.h 1.72 1.73=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: hci_get_ocf() and hci_get_ogf() should now work correctly regarding endianness and alignment. The diff of the modified file(s): --- hci.h 2001/10/05 12:06:43 1.72 +++ hci.h 2001/10/22 12:51:44 1.73 @@ -87,9 +87,8 @@ } __attribute__ ((packed)) cmd_pkt; =20 #define hci_put_opcode(ocf, ogf)(cpu_to_le16(((ocf) & 0x03ff) | ((ogf) << = 10 & 0xfc00))) -//#define hci_put_le16(buf, val) { *((char*)buf) =3D (val) & 0xff; *((char= *)buf + 1) =3D (val) >> 8; } -#define hci_get_ocf(opcode) (cpu_to_le16((opcode) & 0x3ff)) -#define hci_get_ogf(opcode) (cpu_to_le16(((opcode) & 0xfc00) >> 10)) +#define hci_get_ocf(opcode_addr) (le16_to_cpuu(opcode_addr) & 0x3ff) +#define hci_get_ogf(opcode_addr) ((le16_to_cpuu(opcode_addr) & 0xfc00) >> = 10) =20 /****************** EXPORTED FUNCTION DECLARATION SECTION ****************= ***/ =20 |
From: Peter K. <pk...@us...> - 2002-03-17 16:14:40
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- hci.h 1.76 1.77=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: The HCI_IN_SIZE need to be at least the size of an Ethernet frame plus some extra bytes when PAN is used. The diff of the modified file(s): --- hci.h 28 Feb 2002 20:09:27 -0000 1.76 +++ hci.h 17 Mar 2002 16:14:39 -0000 1.77 @@ -72,7 +72,12 @@ #ifdef CONFIG_BLUETOOTH_UNPLUG_TEST #define HCI_IN_SIZE 16386 #else +#ifdef CONFIG_BLUETOOTH_PAN +/* Need to be at least the size of an Ethernet frame plus some extra bytes= */ +#define HCI_IN_SIZE 1600 +#else #define HCI_IN_SIZE 800 +#endif #endif /* Struct defining a HCI command packet, the meaning of the type field is decribed in part H:4 chapter 2 in the baseband core specification. The |
From: Willy S. <sag...@us...> - 2002-04-08 16:44:07
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- hci.h 1.77 1.78=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added read/write num broadcast commands The diff of the modified file(s): --- hci.h 17 Mar 2002 16:14:39 -0000 1.77 +++ hci.h 8 Apr 2002 10:14:07 -0000 1.78 @@ -155,6 +155,7 @@ s32 hci_exit_sniff_mode(u16 hci_hdl); s32 hci_park_mode(u16 hci_hdl, u16 max_int, u16 min_int); s32 hci_exit_park_mode(u16 hci_hdl); +s32 hci_write_link_policy_settings(u16 con_hdl, u16 settings); s32 hci_switch_role(u8 *bd, u8 role); =20 /* Host Controller and Baseband Commands */ @@ -184,6 +185,9 @@ s32 hci_inquiry_cancel(void); s32 hci_read_clock_offset(u32 hdl); s32 hci_read_rssi(u32 hdl); +s32 hci_read_num_broadcast_restransmissions(void); +s32 hci_write_num_broadcast_restransmissions(u8 num_broadcast_retran); +=20 =20 /* Informational Parameters */ s32 hci_read_local_bd(u8 *bd); |
From: Anders J. <and...@us...> - 2003-11-12 10:16:06
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- hci.h 1.83 1.84=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added block-option to write_stored_link_key. The diff of the modified file(s): --- hci.h 2003/11/06 19:13:26 1.83 +++ hci.h 2003/11/12 10:15:44 1.84 @@ -164,7 +164,7 @@ void hci_flush_all(void); s32 hci_flush(u32 hdl); s32 hci_create_new_unit_link_key(void); s32 hci_read_stored_link_key(u8 *bd, u8 flag); -s32 hci_write_stored_link_key(u8 *bd, u8* link_key); +s32 hci_write_stored_link_key(u8 *bd, u8* link_key, s32 block); s32 hci_delete_stored_link_key(u8 *bd, u8 flag); s32 hci_change_local_name(u8 *new_name); s32 hci_read_scan_enable(void); |
From: Anders J. <and...@us...> - 2003-11-18 18:03:35
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- hci.h 1.84 1.85=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added more entries to bt_status procfile. The diff of the modified file(s): --- hci.h 2003/11/12 10:15:44 1.84 +++ hci.h 2003/11/18 18:03:31 1.85 @@ -107,6 +107,7 @@ void hci_receive_data(u8* data, u32 coun s32 hci_send_data(bt_tx_buf *tx_buf); =20 s32 hci_set_max_connections(s32 max_connections); +s32 hci_read_max_connections(void); =20 #ifdef CONFIG_BLUETOOTH_SUPPORT_BCSP void hci_receive_event(u8 *data, s32 count); @@ -211,6 +212,7 @@ s32 hci_test_connect_req(u8 *bd); s32 hci_send_raw_data(u8 *data, u8 len); =20 void hci_force_msswitch(u8 enable); +s32 hci_read_msswitch(void); =20 /* Vendor specific */ s32 hci_set_bd_addr(u8 bd[6]); |