projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Add set_io_capability management command
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
net
/
bluetooth
/
mgmt.h
diff --git
a/include/net/bluetooth/mgmt.h
b/include/net/bluetooth/mgmt.h
index 46fb56d21b59106deefeb520710318e4584eef3b..44ac55c850794ec971b7a820e1186f6052f9bc25 100644
(file)
--- a/
include/net/bluetooth/mgmt.h
+++ b/
include/net/bluetooth/mgmt.h
@@
-154,6
+154,12
@@
struct mgmt_cp_pin_code_neg_reply {
bdaddr_t bdaddr;
} __packed;
+#define MGMT_OP_SET_IO_CAPABILITY 0x0013
+struct mgmt_cp_set_io_capability {
+ __le16 index;
+ __u8 io_capability;
+} __packed;
+
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
__le16 opcode;