Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
hci_ll.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.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 <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  hcill_cmd
 
struct  ll_struct
 

Macros

#define HCILL_GO_TO_SLEEP_IND   0x30
 
#define HCILL_GO_TO_SLEEP_ACK   0x31
 
#define HCILL_WAKE_UP_IND   0x32
 
#define HCILL_WAKE_UP_ACK   0x33
 
#define HCILL_W4_PACKET_TYPE   0
 
#define HCILL_W4_EVENT_HDR   1
 
#define HCILL_W4_ACL_HDR   2
 
#define HCILL_W4_SCO_HDR   3
 
#define HCILL_W4_DATA   4
 

Enumerations

enum  hcill_states_e { HCILL_ASLEEP, HCILL_ASLEEP_TO_AWAKE, HCILL_AWAKE, HCILL_AWAKE_TO_ASLEEP }
 

Functions

int __init ll_init (void)
 
int __exit ll_deinit (void)
 

Variables

struct hcill_cmd __packed
 

Macro Definition Documentation

#define HCILL_GO_TO_SLEEP_ACK   0x31

Definition at line 56 of file hci_ll.c.

#define HCILL_GO_TO_SLEEP_IND   0x30

Definition at line 55 of file hci_ll.c.

#define HCILL_W4_ACL_HDR   2

Definition at line 63 of file hci_ll.c.

#define HCILL_W4_DATA   4

Definition at line 65 of file hci_ll.c.

#define HCILL_W4_EVENT_HDR   1

Definition at line 62 of file hci_ll.c.

#define HCILL_W4_PACKET_TYPE   0

Definition at line 61 of file hci_ll.c.

#define HCILL_W4_SCO_HDR   3

Definition at line 64 of file hci_ll.c.

#define HCILL_WAKE_UP_ACK   0x33

Definition at line 58 of file hci_ll.c.

#define HCILL_WAKE_UP_IND   0x32

Definition at line 57 of file hci_ll.c.

Enumeration Type Documentation

Enumerator:
HCILL_ASLEEP 
HCILL_ASLEEP_TO_AWAKE 
HCILL_AWAKE 
HCILL_AWAKE_TO_ASLEEP 

Definition at line 68 of file hci_ll.c.

Function Documentation

int __exit ll_deinit ( void  )

Definition at line 532 of file hci_ll.c.

int __init ll_init ( void  )

Definition at line 520 of file hci_ll.c.

Variable Documentation