diff options
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 43750439c521..af930a3a66be 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h | |||
@@ -69,6 +69,13 @@ struct bt_security { | |||
69 | #define BT_FLUSHABLE_OFF 0 | 69 | #define BT_FLUSHABLE_OFF 0 |
70 | #define BT_FLUSHABLE_ON 1 | 70 | #define BT_FLUSHABLE_ON 1 |
71 | 71 | ||
72 | #define BT_POWER 9 | ||
73 | struct bt_power { | ||
74 | __u8 force_active; | ||
75 | }; | ||
76 | #define BT_POWER_FORCE_ACTIVE_OFF 0 | ||
77 | #define BT_POWER_FORCE_ACTIVE_ON 1 | ||
78 | |||
72 | #define BT_INFO(fmt, arg...) printk(KERN_INFO "Bluetooth: " fmt "\n" , ## arg) | 79 | #define BT_INFO(fmt, arg...) printk(KERN_INFO "Bluetooth: " fmt "\n" , ## arg) |
73 | #define BT_ERR(fmt, arg...) printk(KERN_ERR "%s: " fmt "\n" , __func__ , ## arg) | 80 | #define BT_ERR(fmt, arg...) printk(KERN_ERR "%s: " fmt "\n" , __func__ , ## arg) |
74 | #define BT_DBG(fmt, arg...) pr_debug("%s: " fmt "\n" , __func__ , ## arg) | 81 | #define BT_DBG(fmt, arg...) pr_debug("%s: " fmt "\n" , __func__ , ## arg) |
@@ -150,6 +157,7 @@ struct bt_skb_cb { | |||
150 | __u8 retries; | 157 | __u8 retries; |
151 | __u8 sar; | 158 | __u8 sar; |
152 | unsigned short channel; | 159 | unsigned short channel; |
160 | __u8 force_active; | ||
153 | }; | 161 | }; |
154 | #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) | 162 | #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) |
155 | 163 | ||