Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
btusb.c File Reference
#include <linux/module.h>
#include <linux/usb.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>

Go to the source code of this file.

Data Structures

struct  btusb_data
 

Macros

#define VERSION   "0.6"
 
#define BTUSB_IGNORE   0x01
 
#define BTUSB_DIGIANSWER   0x02
 
#define BTUSB_CSR   0x04
 
#define BTUSB_SNIFFER   0x08
 
#define BTUSB_BCM92035   0x10
 
#define BTUSB_BROKEN_ISOC   0x20
 
#define BTUSB_WRONG_SCO_MTU   0x40
 
#define BTUSB_ATH3012   0x80
 
#define BTUSB_MAX_ISOC_FRAMES   10
 
#define BTUSB_INTR_RUNNING   0
 
#define BTUSB_BULK_RUNNING   1
 
#define BTUSB_ISOC_RUNNING   2
 
#define BTUSB_SUSPENDING   3
 
#define BTUSB_DID_ISO_RESUME   4
 

Functions

 MODULE_DEVICE_TABLE (usb, btusb_table)
 
 module_usb_driver (btusb_driver)
 
 module_param (ignore_dga, bool, 0644)
 
 MODULE_PARM_DESC (ignore_dga,"Ignore devices with id 08fd:0001")
 
 module_param (ignore_csr, bool, 0644)
 
 MODULE_PARM_DESC (ignore_csr,"Ignore devices with id 0a12:0001")
 
 module_param (ignore_sniffer, bool, 0644)
 
 MODULE_PARM_DESC (ignore_sniffer,"Ignore devices with id 0a12:0002")
 
 module_param (disable_scofix, bool, 0644)
 
 MODULE_PARM_DESC (disable_scofix,"Disable fixup of wrong SCO buffer size")
 
 module_param (force_scofix, bool, 0644)
 
 MODULE_PARM_DESC (force_scofix,"Force fixup of wrong SCO buffers size")
 
 module_param (reset, bool, 0644)
 
 MODULE_PARM_DESC (reset,"Send HCI reset command on initialization")
 
 MODULE_AUTHOR ("Marcel Holtmann <[email protected]>")
 
 MODULE_DESCRIPTION ("Generic Bluetooth USB driver ver "VERSION)
 
 MODULE_VERSION (VERSION)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define BTUSB_ATH3012   0x80

Definition at line 49 of file btusb.c.

#define BTUSB_BCM92035   0x10

Definition at line 46 of file btusb.c.

#define BTUSB_BROKEN_ISOC   0x20

Definition at line 47 of file btusb.c.

#define BTUSB_BULK_RUNNING   1

Definition at line 205 of file btusb.c.

#define BTUSB_CSR   0x04

Definition at line 44 of file btusb.c.

#define BTUSB_DID_ISO_RESUME   4

Definition at line 208 of file btusb.c.

#define BTUSB_DIGIANSWER   0x02

Definition at line 43 of file btusb.c.

#define BTUSB_IGNORE   0x01

Definition at line 42 of file btusb.c.

#define BTUSB_INTR_RUNNING   0

Definition at line 204 of file btusb.c.

#define BTUSB_ISOC_RUNNING   2

Definition at line 206 of file btusb.c.

#define BTUSB_MAX_ISOC_FRAMES   10

Definition at line 202 of file btusb.c.

#define BTUSB_SNIFFER   0x08

Definition at line 45 of file btusb.c.

#define BTUSB_SUSPENDING   3

Definition at line 207 of file btusb.c.

#define BTUSB_WRONG_SCO_MTU   0x40

Definition at line 48 of file btusb.c.

#define VERSION   "0.6"

Definition at line 30 of file btusb.c.

Function Documentation

MODULE_AUTHOR ( "Marcel Holtmann <[email protected]>"  )
MODULE_DESCRIPTION ( "Generic Bluetooth USB driver ver VERSION)
MODULE_DEVICE_TABLE ( usb  ,
btusb_table   
)
MODULE_LICENSE ( "GPL"  )
module_param ( ignore_dga  ,
bool  ,
0644   
)
module_param ( ignore_csr  ,
bool  ,
0644   
)
module_param ( ignore_sniffer  ,
bool  ,
0644   
)
module_param ( disable_scofix  ,
bool  ,
0644   
)
module_param ( force_scofix  ,
bool  ,
0644   
)
module_param ( reset  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( ignore_dga  ,
"Ignore devices with id 08fd:0001"   
)
MODULE_PARM_DESC ( ignore_csr  ,
"Ignore devices with id 0a12:0001"   
)
MODULE_PARM_DESC ( ignore_sniffer  ,
"Ignore devices with id 0a12:0002"   
)
MODULE_PARM_DESC ( disable_scofix  ,
"Disable fixup of wrong SCO buffer size  
)
MODULE_PARM_DESC ( force_scofix  ,
"Force fixup of wrong SCO buffers size  
)
MODULE_PARM_DESC ( reset  ,
"Send HCI reset command on initialization"   
)
module_usb_driver ( btusb_driver  )
MODULE_VERSION ( VERSION  )