diff options
Diffstat (limited to 'drivers/bluetooth/btmrvl_drv.h')
-rw-r--r-- | drivers/bluetooth/btmrvl_drv.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h index 204727586ee9..bed0ba630235 100644 --- a/drivers/bluetooth/btmrvl_drv.h +++ b/drivers/bluetooth/btmrvl_drv.h | |||
@@ -42,6 +42,8 @@ struct btmrvl_device { | |||
42 | void *card; | 42 | void *card; |
43 | struct hci_dev *hcidev; | 43 | struct hci_dev *hcidev; |
44 | 44 | ||
45 | u8 dev_type; | ||
46 | |||
45 | u8 tx_dnld_rdy; | 47 | u8 tx_dnld_rdy; |
46 | 48 | ||
47 | u8 psmode; | 49 | u8 psmode; |
@@ -88,8 +90,11 @@ struct btmrvl_private { | |||
88 | #define BT_CMD_HOST_SLEEP_ENABLE 0x5A | 90 | #define BT_CMD_HOST_SLEEP_ENABLE 0x5A |
89 | #define BT_CMD_MODULE_CFG_REQ 0x5B | 91 | #define BT_CMD_MODULE_CFG_REQ 0x5B |
90 | 92 | ||
91 | /* Sub-commands: Module Bringup/Shutdown Request */ | 93 | /* Sub-commands: Module Bringup/Shutdown Request/Response */ |
92 | #define MODULE_BRINGUP_REQ 0xF1 | 94 | #define MODULE_BRINGUP_REQ 0xF1 |
95 | #define MODULE_BROUGHT_UP 0x00 | ||
96 | #define MODULE_ALREADY_UP 0x0C | ||
97 | |||
93 | #define MODULE_SHUTDOWN_REQ 0xF2 | 98 | #define MODULE_SHUTDOWN_REQ 0xF2 |
94 | 99 | ||
95 | #define BT_EVENT_POWER_STATE 0x20 | 100 | #define BT_EVENT_POWER_STATE 0x20 |
@@ -123,6 +128,7 @@ struct btmrvl_event { | |||
123 | 128 | ||
124 | /* Prototype of global function */ | 129 | /* Prototype of global function */ |
125 | 130 | ||
131 | int btmrvl_register_hdev(struct btmrvl_private *priv); | ||
126 | struct btmrvl_private *btmrvl_add_card(void *card); | 132 | struct btmrvl_private *btmrvl_add_card(void *card); |
127 | int btmrvl_remove_card(struct btmrvl_private *priv); | 133 | int btmrvl_remove_card(struct btmrvl_private *priv); |
128 | 134 | ||