Go to the documentation of this file.
23 #include <linux/bitops.h>
24 #include <linux/slab.h>
27 #define BTM_HEADER_LEN 4
28 #define BTM_UPLD_SIZE 2312
31 #define WAIT_UNTIL_HS_STATE_CHANGED 5000
33 #define WAIT_UNTIL_CMD_RESP 5000
82 #ifdef CONFIG_DEBUG_FS
87 #define MRVL_VENDOR_PKT 0xFE
90 #define BT_CMD_AUTO_SLEEP_MODE 0x23
91 #define BT_CMD_HOST_SLEEP_CONFIG 0x59
92 #define BT_CMD_HOST_SLEEP_ENABLE 0x5A
93 #define BT_CMD_MODULE_CFG_REQ 0x5B
96 #define MODULE_BRINGUP_REQ 0xF1
97 #define MODULE_BROUGHT_UP 0x00
98 #define MODULE_ALREADY_UP 0x0C
100 #define MODULE_SHUTDOWN_REQ 0xF2
102 #define BT_EVENT_POWER_STATE 0x20
105 #define BT_PS_ENABLE 0x02
106 #define BT_PS_DISABLE 0x03
107 #define BT_PS_SLEEP 0x01
112 #define HS_ACTIVATED 0x01
113 #define HS_DEACTIVATED 0x00
116 #define PS_SLEEP 0x01
117 #define PS_AWAKE 0x00
148 #ifdef CONFIG_DEBUG_FS