OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1787252
)
lib: Add missing BT_POWER socket option defines
author
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 3 Dec 2013 09:16:00 +0000
(11:16 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 3 Dec 2013 09:16:00 +0000
(11:16 +0200)
lib/bluetooth.h
patch
|
blob
|
history
diff --git
a/lib/bluetooth.h
b/lib/bluetooth.h
index
012fde4
..
0baa05c
100644
(file)
--- a/
lib/bluetooth.h
+++ b/
lib/bluetooth.h
@@
-77,6
+77,13
@@
struct bt_security {
#define BT_FLUSHABLE_OFF 0
#define BT_FLUSHABLE_ON 1
+#define BT_POWER 9
+struct bt_power {
+ uint8_t force_active;
+};
+#define BT_POWER_FORCE_ACTIVE_OFF 0
+#define BT_POWER_FORCE_ACTIVE_ON 1
+
#define BT_CHANNEL_POLICY 10
/* BR/EDR only (default policy)