From: "Gustavo F. Padovan" <padovan@profusion.mobi>
To: Antti Julku <antti.julku@nokia.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 2/2] Bluetooth: Add blacklisting support for mgmt interface
Date: Wed, 15 Jun 2011 14:57:39 -0300 [thread overview]
Message-ID: <20110615175739.GA23248@joana> (raw)
In-Reply-To: <1308128475-11670-2-git-send-email-antti.julku@nokia.com>
* Antti Julku <antti.julku@nokia.com> [2011-06-15 12:01:15 +0300]:
> Management interface commands for blocking and unblocking devices.
>
> Signed-off-by: Antti Julku <antti.julku@nokia.com>
> ---
> include/net/bluetooth/mgmt.h | 10 ++++++
> net/bluetooth/mgmt.c | 70 ++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 80 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
To make hci code consistent call replace _DEVICE by _ADDR in both macros.
Gustavo
next prev parent reply other threads:[~2011-06-15 17:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 9:01 [PATCH 1/2] Bluetooth: Move blacklisting functions to hci_core Antti Julku
2011-06-15 9:01 ` [PATCH 2/2] Bluetooth: Add blacklisting support for mgmt interface Antti Julku
2011-06-15 17:57 ` Gustavo F. Padovan [this message]
2011-06-15 19:48 ` Johan Hedberg
2011-06-16 18:21 ` Gustavo F. Padovan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110615175739.GA23248@joana \
--to=padovan@profusion.mobi \
--cc=antti.julku@nokia.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).