aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorAntti Julku <antti.julku@nokia.com>2011-06-15 12:01:15 +0300
committerJaikumar Ganesh <jaikumar@google.com>2011-07-11 11:59:24 -0700
commit58d1980847d0c2b9a7fcf1a291b285097b1a783a (patch)
tree1320adbcd6dbb1440b4802e9508d461999d6c25e /include/net/bluetooth
parent9d90e2e88fc70b4723d39d97e90efc1f16d0d522 (diff)
downloadkernel_samsung_espresso10-58d1980847d0c2b9a7fcf1a291b285097b1a783a.zip
kernel_samsung_espresso10-58d1980847d0c2b9a7fcf1a291b285097b1a783a.tar.gz
kernel_samsung_espresso10-58d1980847d0c2b9a7fcf1a291b285097b1a783a.tar.bz2
Bluetooth: Add blacklisting support for mgmt interface
Management interface commands for blocking and unblocking devices. Signed-off-by: Antti Julku <antti.julku@nokia.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/mgmt.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 4899286..45bea25 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -199,6 +199,16 @@ struct mgmt_cp_remove_remote_oob_data {
#define MGMT_OP_STOP_DISCOVERY 0x001C
+#define MGMT_OP_BLOCK_DEVICE 0x001D
+struct mgmt_cp_block_device {
+ bdaddr_t bdaddr;
+} __packed;
+
+#define MGMT_OP_UNBLOCK_DEVICE 0x001E
+struct mgmt_cp_unblock_device {
+ bdaddr_t bdaddr;
+} __packed;
+
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
__le16 opcode;