diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci.h | 3 | ||||
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index e756f82a29e5..6d4e11624fef 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -119,6 +119,7 @@ enum { | |||
119 | #define HCI_PAIRING_TIMEOUT (60000) /* 60 seconds */ | 119 | #define HCI_PAIRING_TIMEOUT (60000) /* 60 seconds */ |
120 | #define HCI_IDLE_TIMEOUT (6000) /* 6 seconds */ | 120 | #define HCI_IDLE_TIMEOUT (6000) /* 6 seconds */ |
121 | #define HCI_INIT_TIMEOUT (10000) /* 10 seconds */ | 121 | #define HCI_INIT_TIMEOUT (10000) /* 10 seconds */ |
122 | #define HCI_CMD_TIMEOUT (1000) /* 1 seconds */ | ||
122 | 123 | ||
123 | /* HCI data types */ | 124 | /* HCI data types */ |
124 | #define HCI_COMMAND_PKT 0x01 | 125 | #define HCI_COMMAND_PKT 0x01 |
@@ -244,6 +245,8 @@ enum { | |||
244 | #define HCI_AT_GENERAL_BONDING_MITM 0x05 | 245 | #define HCI_AT_GENERAL_BONDING_MITM 0x05 |
245 | 246 | ||
246 | /* ----- HCI Commands ---- */ | 247 | /* ----- HCI Commands ---- */ |
248 | #define HCI_OP_NOP 0x0000 | ||
249 | |||
247 | #define HCI_OP_INQUIRY 0x0401 | 250 | #define HCI_OP_INQUIRY 0x0401 |
248 | struct hci_cp_inquiry { | 251 | struct hci_cp_inquiry { |
249 | __u8 lap[3]; | 252 | __u8 lap[3]; |
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index d30b93c82fd4..ecd2acf24420 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -132,7 +132,6 @@ struct hci_dev { | |||
132 | unsigned int sco_pkts; | 132 | unsigned int sco_pkts; |
133 | unsigned int le_pkts; | 133 | unsigned int le_pkts; |
134 | 134 | ||
135 | unsigned long cmd_last_tx; | ||
136 | unsigned long acl_last_tx; | 135 | unsigned long acl_last_tx; |
137 | unsigned long sco_last_tx; | 136 | unsigned long sco_last_tx; |
138 | unsigned long le_last_tx; | 137 | unsigned long le_last_tx; |
@@ -143,6 +142,7 @@ struct hci_dev { | |||
143 | struct work_struct power_off; | 142 | struct work_struct power_off; |
144 | struct timer_list off_timer; | 143 | struct timer_list off_timer; |
145 | 144 | ||
145 | struct timer_list cmd_timer; | ||
146 | struct tasklet_struct cmd_task; | 146 | struct tasklet_struct cmd_task; |
147 | struct tasklet_struct rx_task; | 147 | struct tasklet_struct rx_task; |
148 | struct tasklet_struct tx_task; | 148 | struct tasklet_struct tx_task; |