|
From: Mats F. <ma...@us...> - 2001-02-27 15:08:00
|
The following files were modified in linux/include/linux/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci.h 1.44 1.45=20=20=20=20=20=20=20=20=20=20=20=20
hci_internal.h 1.8 1.9=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Moved typedef of cmp_pkt to hci.c
The diff of the modified file(s):
--- hci.h 2001/02/15 16:28:46 1.44
+++ hci.h 2001/02/27 15:09:09 1.45
@@ -62,6 +62,21 @@
/* 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
+ core specification */=20
+
+typedef struct cmd_pkt {
+ u32 type:8;
+ u32 ocf:10;
+ u32 ogf:6;
+ u32 len:8;
+=20=20=20=20=20=20=20=20
+ u8 data[256];
+} cmd_pkt;
+
/****************** EXPORTED FUNCTION DECLARATION SECTION ****************=
***/
=20
void hci_init(void);
@@ -106,6 +121,7 @@
s32 hci_write_stored_link_key(u8 *bd, u8* link_key);
s32 hci_delete_stored_link_key(u8 *bd, u8 flag);
s32 hci_change_local_name(u8 *new_name);
+s32 hci_read_scan_enable(void);
s32 hci_write_scan_enable(u32 enable);
s32 hci_write_pagescan_activity(u32 interval, u32 wind);
s32 hci_read_authentication_enable(void);
--- hci_internal.h 2001/02/15 16:28:47 1.8
+++ hci_internal.h 2001/02/27 15:09:09 1.9
@@ -291,20 +291,6 @@
=20
/****************** TYPE DEFINITION SECTION ******************************=
***/
=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
- core specification */=20
-
-typedef struct cmd_pkt {
- u32 type:8;
- u32 ocf:10;
- u32 ogf:6;
- u32 len:8;
-=20=20=20=20=20=20=20=20
- u8 data[256];
-} cmd_pkt;
-
/* Struct used to keep track of the current number of buffers, and the siz=
es
of the buffers in the bluetooth module. There are two buffers for data =
in
the modul, ACL buffers for ordinary data and SCO buffers for audion dat=
a.
|