Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hci_bcsp.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ptrace.h>
#include <linux/poll.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/signal.h>
#include <linux/ioctl.h>
#include <linux/skbuff.h>
#include <linux/bitrev.h>
#include <asm/unaligned.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include "hci_uart.h"

Go to the source code of this file.

Data Structures

struct  bcsp_struct
 

Macros

#define VERSION   "0.3"
 
#define BCSP_TXWINSIZE   4
 
#define BCSP_ACK_PKT   0x05
 
#define BCSP_LE_PKT   0x06
 
#define BCSP_CRC_INIT(x)   x = 0xffff
 

Functions

int __init bcsp_init (void)
 
int __exit bcsp_deinit (void)
 
 module_param (txcrc, bool, 0644)
 
 MODULE_PARM_DESC (txcrc,"Transmit CRC with every BCSP packet")
 
 module_param (hciextn, bool, 0644)
 
 MODULE_PARM_DESC (hciextn,"Convert HCI Extensions into BCSP packets")
 

Macro Definition Documentation

#define BCSP_ACK_PKT   0x05

Definition at line 57 of file hci_bcsp.c.

#define BCSP_CRC_INIT (   x)    x = 0xffff

Definition at line 105 of file hci_bcsp.c.

#define BCSP_LE_PKT   0x06

Definition at line 58 of file hci_bcsp.c.

#define BCSP_TXWINSIZE   4

Definition at line 55 of file hci_bcsp.c.

#define VERSION   "0.3"

Definition at line 50 of file hci_bcsp.c.

Function Documentation

int __exit bcsp_deinit ( void  )

Definition at line 754 of file hci_bcsp.c.

int __init bcsp_init ( void  )

Definition at line 742 of file hci_bcsp.c.

module_param ( txcrc  ,
bool  ,
0644   
)
module_param ( hciextn  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( txcrc  ,
"Transmit CRC with every BCSP packet  
)
MODULE_PARM_DESC ( hciextn  ,
"Convert HCI Extensions into BCSP packets  
)