linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gustavo Padovan <gustavo@padovan.org>
To: Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [RFCv2 04/20] Bluetooth: AMP: Use HCI callback for Read AMP Info
Date: Tue, 24 Jul 2012 17:46:05 -0300	[thread overview]
Message-ID: <20120724204605.GC20029@joana> (raw)
In-Reply-To: <1343136121-22476-5-git-send-email-Andrei.Emeltchenko.news@gmail.com>

Hi Andrei,

* Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com> [2012-07-24 16:21:45 +0300]:

> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
> 
> When receiving A2MP Get Info Request execute Read Local AMP Info HCI
> command to AMP controller with callback to be executed upon receiving
> command complete event. Callback will handle A2MP Get Info Response.
> 
> Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
> ---
>  include/net/bluetooth/a2mp.h |    1 +
>  include/net/bluetooth/amp.h  |   19 +++++++++++++
>  net/bluetooth/Makefile       |    2 +-
>  net/bluetooth/a2mp.c         |   28 +++++++++----------
>  net/bluetooth/amp.c          |   63 ++++++++++++++++++++++++++++++++++++++++++
>  net/bluetooth/hci_event.c    |    6 +++-
>  6 files changed, 103 insertions(+), 16 deletions(-)
>  create mode 100644 include/net/bluetooth/amp.h
>  create mode 100644 net/bluetooth/amp.c
> 
> diff --git a/include/net/bluetooth/a2mp.h b/include/net/bluetooth/a2mp.h
> index 6a76e0a..ec77ddc 100644
> --- a/include/net/bluetooth/a2mp.h
> +++ b/include/net/bluetooth/a2mp.h
> @@ -122,5 +122,6 @@ void amp_mgr_get(struct amp_mgr *mgr);
>  int amp_mgr_put(struct amp_mgr *mgr);
>  struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
>  				       struct sk_buff *skb);
> +void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data);
>  
>  #endif /* __A2MP_H */
> diff --git a/include/net/bluetooth/amp.h b/include/net/bluetooth/amp.h
> new file mode 100644
> index 0000000..ec7bea7
> --- /dev/null
> +++ b/include/net/bluetooth/amp.h
> @@ -0,0 +1,19 @@
> +/*
> +   Copyright (c) 2011,2012 Intel Corp.
> +
> +   This program is free software; you can redistribute it and/or modify
> +   it under the terms of the GNU General Public License version 2 and
> +   only version 2 as published by the Free Software Foundation.
> +
> +   This program is distributed in the hope that it will be useful,
> +   but WITHOUT ANY WARRANTY; without even the implied warranty of
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +   GNU General Public License for more details.
> +*/
> +
> +#ifndef __AMP_H
> +#define __AMP_H
> +
> +void amp_read_loc_info(struct hci_dev *hdev, struct amp_mgr *mgr);
> +
> +#endif /* __AMP_H */
> diff --git a/net/bluetooth/Makefile b/net/bluetooth/Makefile
> index fa6d94a..dea6a28 100644
> --- a/net/bluetooth/Makefile
> +++ b/net/bluetooth/Makefile
> @@ -10,4 +10,4 @@ obj-$(CONFIG_BT_HIDP)	+= hidp/
>  
>  bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
>  	hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o sco.o lib.o \
> -	a2mp.o
> +	a2mp.o amp.o
> diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c
> index 4de740c..df40683 100644
> --- a/net/bluetooth/a2mp.c
> +++ b/net/bluetooth/a2mp.c
> @@ -16,6 +16,7 @@
>  #include <net/bluetooth/hci_core.h>
>  #include <net/bluetooth/l2cap.h>
>  #include <net/bluetooth/a2mp.h>
> +#include <net/bluetooth/amp.h>
>  
>  /* A2MP build & send command helper functions */
>  static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data)
> @@ -37,8 +38,7 @@ static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data)
>  	return cmd;
>  }
>  
> -static void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len,
> -		      void *data)
> +void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data)
>  {
>  	struct l2cap_chan *chan = mgr->a2mp_chan;
>  	struct a2mp_cmd *cmd;
> @@ -189,24 +189,24 @@ static int a2mp_getinfo_req(struct amp_mgr *mgr, struct sk_buff *skb,
>  
>  	BT_DBG("id %d", req->id);
>  
> -	rsp.id = req->id;
> -	rsp.status = A2MP_STATUS_INVALID_CTRL_ID;
> -
>  	hdev = hci_dev_get(req->id);
> -	if (hdev && hdev->amp_type != HCI_BREDR) {
> -		rsp.status = 0;
> -		rsp.total_bw = cpu_to_le32(hdev->amp_total_bw);
> -		rsp.max_bw = cpu_to_le32(hdev->amp_max_bw);
> -		rsp.min_latency = cpu_to_le32(hdev->amp_min_latency);
> -		rsp.pal_cap = cpu_to_le16(hdev->amp_pal_cap);
> -		rsp.assoc_size = cpu_to_le16(hdev->amp_assoc_size);
> -	}
> +	if (!hdev)
> +		goto send_err;
>  
> -	if (hdev)
> +	if (hdev->dev_type != HCI_BREDR) {
> +		amp_read_loc_info(hdev, mgr);
> +		goto done;
> +	} else {
>  		hci_dev_put(hdev);
> +	}
> +
> +send_err:
> +	rsp.id = req->id;
> +	rsp.status = A2MP_STATUS_INVALID_CTRL_ID;
>  
>  	a2mp_send(mgr, A2MP_GETINFO_RSP, hdr->ident, sizeof(rsp), &rsp);
>  
> +done:
>  	skb_pull(skb, sizeof(*req));
>  	return 0;
>  }
> diff --git a/net/bluetooth/amp.c b/net/bluetooth/amp.c
> new file mode 100644
> index 0000000..4aea7be
> --- /dev/null
> +++ b/net/bluetooth/amp.c
> @@ -0,0 +1,63 @@
> +/*
> +   Copyright (c) 2011,2012 Intel Corp.
> +
> +   This program is free software; you can redistribute it and/or modify
> +   it under the terms of the GNU General Public License version 2 and
> +   only version 2 as published by the Free Software Foundation.
> +
> +   This program is distributed in the hope that it will be useful,
> +   but WITHOUT ANY WARRANTY; without even the implied warranty of
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +   GNU General Public License for more details.
> +*/
> +
> +#include <linux/workqueue.h>

Where are you using workqueue? why is this include here?

> +#include <net/bluetooth/bluetooth.h>
> +#include <net/bluetooth/hci.h>
> +#include <net/bluetooth/hci_core.h>
> +#include <net/bluetooth/a2mp.h>
> +#include <net/bluetooth/amp.h>
> +
> +static void amp_read_loc_info_complete(struct hci_dev *hdev,
> +				       struct hci_cb_cmd *cmd)
> +{
> +	struct amp_mgr *mgr = cmd->opt;
> +	struct a2mp_info_rsp rsp;
> +
> +	BT_DBG("%s cmd %p mgr %p", hdev->name, cmd, cmd->opt);
> +
> +	rsp.id = hdev->id;
> +	rsp.status = A2MP_STATUS_INVALID_CTRL_ID;
> +
> +	if (hdev->amp_type != HCI_BREDR) {
> +		rsp.status = 0;
> +		rsp.total_bw = cpu_to_le32(hdev->amp_total_bw);
> +		rsp.max_bw = cpu_to_le32(hdev->amp_max_bw);
> +		rsp.min_latency = cpu_to_le32(hdev->amp_min_latency);
> +		rsp.pal_cap = cpu_to_le16(hdev->amp_pal_cap);
> +		rsp.assoc_size = cpu_to_le16(hdev->amp_assoc_size);
> +	}
> +
> +	a2mp_send(mgr, A2MP_GETINFO_RSP, mgr->ident, sizeof(rsp), &rsp);
> +}
> +
> +static void cb_destructor(struct hci_dev *hdev, struct hci_cb_cmd *cmd)
> +{
> +	struct amp_mgr *mgr = cmd->opt;
> +
> +	BT_DBG("Destructor cmd %p mgr %p", cmd, mgr);
> +
> +	hci_dev_put(hdev);
> +	amp_mgr_put(mgr);
> +	kfree(cmd);
> +}
> +
> +void amp_read_loc_info(struct hci_dev *hdev, struct amp_mgr *mgr)
> +{
> +	BT_DBG("%s mgr %p", hdev->name, mgr);
> +
> +	amp_mgr_get(mgr);
> +
> +	hci_cmd_cb(hdev, HCI_OP_READ_LOCAL_AMP_INFO, 0, NULL,
> +		   amp_read_loc_info_complete, mgr, cb_destructor, GFP_KERNEL);
> +}
> diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
> index 06996ff..7222421 100644
> --- a/net/bluetooth/hci_event.c
> +++ b/net/bluetooth/hci_event.c
> @@ -29,6 +29,7 @@
>  
>  #include <net/bluetooth/bluetooth.h>
>  #include <net/bluetooth/hci_core.h>
> +#include <net/bluetooth/a2mp.h>
>  
>  /* Handle HCI Event packets */
>  
> @@ -845,7 +846,7 @@ static void hci_cc_read_local_amp_info(struct hci_dev *hdev,
>  	BT_DBG("%s status 0x%2.2x", hdev->name, rp->status);
>  
>  	if (rp->status)
> -		return;
> +		goto process_cb;
>  
>  	hdev->amp_status = rp->amp_status;
>  	hdev->amp_total_bw = __le32_to_cpu(rp->total_bw);
> @@ -859,6 +860,9 @@ static void hci_cc_read_local_amp_info(struct hci_dev *hdev,
>  	hdev->amp_max_flush_to = __le32_to_cpu(rp->max_flush_to);
>  
>  	hci_req_complete(hdev, HCI_OP_READ_LOCAL_AMP_INFO, rp->status);
> +
> +process_cb:
> +	hci_process_cb(hdev, HCI_OP_READ_LOCAL_AMP_INFO, rp->status);

So do we really need an workqueue for the callback here?

	Gustavo

  reply	other threads:[~2012-07-24 20:46 UTC|newest]

Thread overview: 267+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29 14:46 [RFCv0 00/19] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 01/19] Bluetooth: Define AMP controller statuses Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 02/19] Bluetooth: Do not shadow hdr variable Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 03/19] Bluetooth: Fix processing A2MP chan in security_cfm Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 04/19] Bluetooth: General HCI callback implementation Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 05/19] Bluetooth: Process HCI callbacks in a workqueue Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 06/19] Bluetooth: Add callback clear to ops->teardown Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 07/19] Bluetooth: AMP: Use HCI callback for Read AMP Info Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 08/19] Bluetooth: AMP: Use HCI callback to Read Loc AMP Assoc Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 09/19] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 10/19] Bluetooth: AMP: Physical link struct definitions Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 11/19] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 12/19] Bluetooth: AMP: Use phylink in create/disc phylink req Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 13/19] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 14/19] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 15/19] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 16/19] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-07-12 14:30   ` Andrei Emeltchenko
2012-07-12 23:55     ` Mat Martineau
2012-07-13  7:11       ` Andrei Emeltchenko
2012-07-16 20:46         ` Mat Martineau
2012-06-29 14:46 ` [RFCv0 17/19] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 18/19] Bluetooth: AMP: Create phy link after A2MP Assoc rsp Andrei Emeltchenko
2012-06-29 14:46 ` [RFCv0 19/19] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-07-13 13:39 ` [RFCv1 00/20] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 01/20] Bluetooth: Define AMP controller statuses Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 02/20] Bluetooth: Do not shadow hdr variable Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 03/20] Bluetooth: Fix processing A2MP chan in security_cfm Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 04/20] Bluetooth: General HCI callback implementation Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 05/20] Bluetooth: Process HCI callbacks in a workqueue Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 06/20] Bluetooth: Add callback clear to ops->teardown Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 07/20] Bluetooth: AMP: Use HCI callback for Read AMP Info Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 08/20] Bluetooth: AMP: Use HCI callback to Read Loc AMP Assoc Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 09/20] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 10/20] Bluetooth: AMP: Physical link struct definitions Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 11/20] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 12/20] Bluetooth: AMP: Use phylink in create/disc phylink req Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 13/20] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 14/20] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 15/20] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 16/20] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 17/20] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 18/20] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 19/20] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-07-13 13:39   ` [RFCv1 20/20] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-07-24 13:21 ` [RFCv2 00/20] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 01/20] Bluetooth: General HCI callback implementation Andrei Emeltchenko
2012-07-24 19:44     ` Gustavo Padovan
2012-07-24 13:21   ` [RFCv2 02/20] Bluetooth: Process HCI callbacks in a workqueue Andrei Emeltchenko
2012-07-24 13:31     ` Oliver Neukum
2012-07-24 13:46       ` Andrei Emeltchenko
2012-07-24 14:15         ` Oliver Neukum
2012-07-24 14:25           ` Andrei Emeltchenko
2012-07-24 20:36     ` Gustavo Padovan
2012-08-13 13:51       ` Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 03/20] Bluetooth: Add callback clear to ops->teardown Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 04/20] Bluetooth: AMP: Use HCI callback for Read AMP Info Andrei Emeltchenko
2012-07-24 20:46     ` Gustavo Padovan [this message]
2012-07-25  9:16       ` Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 05/20] Bluetooth: AMP: Use HCI callback to Read Loc AMP Assoc Andrei Emeltchenko
2012-07-24 20:55     ` Gustavo Padovan
2012-07-25  8:49       ` Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 06/20] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 07/20] Bluetooth: AMP: Physical link struct definitions Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 08/20] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-07-24 21:13     ` Gustavo Padovan
2012-07-25 11:26       ` Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 09/20] Bluetooth: AMP: Use phylink in create/disc phylink req Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 10/20] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 11/20] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 12/20] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-07-24 21:10     ` Gustavo Padovan
2012-08-10 12:50       ` Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 13/20] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-07-24 21:16     ` Gustavo Padovan
2012-07-24 13:21   ` [RFCv2 14/20] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-07-24 21:29     ` Gustavo Padovan
2012-07-25  9:12       ` Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 15/20] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 16/20] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 17/20] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-07-24 13:21   ` [RFCv2 18/20] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-07-24 13:22   ` [RFCv2 19/20] Bluetooth: AMP: Process physical link complete event Andrei Emeltchenko
2012-07-24 13:22   ` [RFCv2 20/20] Bluetooth: AMP: Send Create Chan Req Andrei Emeltchenko
2012-08-13 13:50 ` [RFCv3 00/20] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 01/20] Bluetooth: General HCI callback implementation Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 02/20] Bluetooth: Add callback clear to ops->teardown Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 03/20] Bluetooth: AMP: Use HCI callback for Read AMP Info Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 04/20] Bluetooth: AMP: Use HCI callback to Read Loc AMP Assoc Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 05/20] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 06/20] Bluetooth: AMP: Physical link struct definitions Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 07/20] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 08/20] Bluetooth: AMP: Use phylink in create/disc phylink req Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 09/20] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 10/20] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 11/20] Bluetooth: A2MP: Create A2MP workqueue Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 12/20] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 13/20] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 14/20] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 15/20] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 16/20] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 17/20] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 18/20] Bluetooth: A2MP: Create amp_mgr global list Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 19/20] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-08-13 13:50   ` [RFCv3 20/20] Bluetooth: AMP: Process physical link complete event Andrei Emeltchenko
2012-08-17 14:32 ` [PATCHv1 00/26] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-08-17 14:32   ` [PATCHv1 01/26] Bluetooth: debug: Print refcnt for hci_dev Andrei Emeltchenko
2012-08-17 14:32   ` [PATCHv1 02/26] Bluetooth: trivial: Remove empty line Andrei Emeltchenko
2012-08-17 14:32   ` [PATCHv1 03/26] Bluetooth: Add HCI logical link cmds definitions Andrei Emeltchenko
2012-08-17 14:32   ` [PATCHv1 04/26] Bluetooth: General HCI callback implementation Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 05/26] Bluetooth: Add callback clear to ops->teardown Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 06/26] Bluetooth: AMP: Use HCI callback for Read AMP Info Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 07/26] Bluetooth: AMP: Use HCI callback to Read Loc AMP Assoc Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 08/26] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 09/26] Bluetooth: AMP: Physical link struct definitions Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 10/26] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 11/26] Bluetooth: AMP: Use phylink in create/disc phylink req Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 12/26] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 13/26] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 14/26] Bluetooth: A2MP: Create A2MP workqueue Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 15/26] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 16/26] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 17/26] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 18/26] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 19/26] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 20/26] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 21/26] Bluetooth: A2MP: Create amp_mgr global list Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 22/26] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 23/26] Bluetooth: AMP: Process physical link complete event Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 24/26] Bluetooth: AMP: Send Create Chan Req Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 25/26] Bluetooth: Set Exended Flowspec flag for HS chan Andrei Emeltchenko
2012-08-17 14:33   ` [PATCHv1 26/26] Bluetooth: Add logical link create function Andrei Emeltchenko
2012-08-24 13:59 ` [PATCHv2 00/22] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 01/22] Bluetooth: debug: Print refcnt for hci_dev Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 02/22] Bluetooth: trivial: Remove empty line Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 03/22] Bluetooth: Add HCI logical link cmds definitions Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 04/22] Bluetooth: A2MP: Create amp_mgr global list Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 05/22] Bluetooth: AMP: Use HCI cmd to Read AMP Info Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 06/22] Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 07/22] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 08/22] Bluetooth: AMP: Physical link struct definitions Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 09/22] Bluetooth: Add phylink lookup helper function Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 10/22] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 11/22] Bluetooth: AMP: Use phylink in create/disc phylink req Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 12/22] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 13/22] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 14/22] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 15/22] Bluetooth: Close A2MP chan when deleting corr L2CAP chan Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 16/22] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 17/22] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 18/22] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 19/22] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 20/22] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 21/22] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-08-24 14:00   ` [PATCHv2 22/22] Bluetooth: AMP: Process physical link complete event Andrei Emeltchenko
2012-09-06 12:19 ` [PATCHv3 00/19] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 01/19] Bluetooth: Add HCI logical link cmds definitions Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 02/19] Bluetooth: A2MP: Create amp_mgr global list Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 03/19] Bluetooth: AMP: Use HCI cmd to Read AMP Info Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 04/19] Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 05/19] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 06/19] Bluetooth: AMP: Physical link struct and heplers Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 07/19] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 08/19] Bluetooth: AMP: Handle create / disc phylink req Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 09/19] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 10/19] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 11/19] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 12/19] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 13/19] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 14/19] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 15/19] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 16/19] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 17/19] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 18/19] Bluetooth: AMP: Send Create Chan Req Andrei Emeltchenko
2012-09-06 12:19   ` [PATCHv3 19/19] Bluetooth: AMP: Process physical link complete event Andrei Emeltchenko
2012-09-11 18:23   ` [PATCHv3 00/19] Bluetooth: Create AMP physical link Mat Martineau
2012-09-12  8:06     ` [PATCHv4 00/17] " Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 01/17] Bluetooth: Add HCI logical link cmds definitions Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 02/17] Bluetooth: A2MP: Create amp_mgr global list Andrei Emeltchenko
2012-09-13 15:02         ` Mat Martineau
2012-09-14  6:40           ` Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 03/17] Bluetooth: AMP: Use HCI cmd to Read AMP Info Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 04/17] Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc Andrei Emeltchenko
2012-09-13 15:28         ` Mat Martineau
2012-09-14  6:58           ` Andrei Emeltchenko
2012-09-14 15:42             ` Mat Martineau
2012-09-12  8:06       ` [PATCHv4 05/17] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 06/17] Bluetooth: AMP: Physical link struct and heplers Andrei Emeltchenko
2012-09-13 15:40         ` Mat Martineau
2012-09-14  7:50           ` Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 07/17] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-09-13 15:50         ` Mat Martineau
2012-09-14  9:56           ` Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 08/17] Bluetooth: AMP: Handle create / disc phylink req Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 09/17] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 10/17] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 11/17] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-09-13 16:26         ` Mat Martineau
2012-09-14  9:57           ` Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 12/17] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 13/17] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 14/17] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 15/17] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 16/17] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-09-13 16:39         ` Mat Martineau
2012-09-14 10:29           ` Andrei Emeltchenko
2012-09-12  8:06       ` [PATCHv4 17/17] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-09-17 13:24       ` [PATCHv5 00/17] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 01/17] Bluetooth: Add HCI logical link cmds definitions Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 02/17] Bluetooth: A2MP: Create amp_mgr global list Andrei Emeltchenko
2012-09-18  7:43           ` Marcel Holtmann
2012-09-18  8:45             ` Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 03/17] Bluetooth: AMP: Use HCI cmd to Read AMP Info Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 04/17] Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 05/17] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 06/17] Bluetooth: AMP: Physical link struct and heplers Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 07/17] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 08/17] Bluetooth: AMP: Handle create / disc phylink req Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 09/17] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 10/17] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 11/17] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 12/17] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 13/17] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 14/17] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 15/17] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 16/17] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-09-17 13:24         ` [PATCHv5 17/17] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-09-18 14:28       ` [PATCHv6 00/17] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 01/17] Bluetooth: Add HCI logical link cmds definitions Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 02/17] Bluetooth: A2MP: Create amp_mgr global list Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 03/17] Bluetooth: AMP: Use HCI cmd to Read AMP Info Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 04/17] Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 05/17] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 06/17] Bluetooth: AMP: Physical link struct and heplers Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 07/17] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 08/17] Bluetooth: AMP: Handle create / disc phylink req Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 09/17] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 10/17] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 11/17] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 12/17] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 13/17] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 14/17] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 15/17] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 16/17] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-09-18 14:28         ` [PATCHv6 17/17] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-09-20 11:01         ` [PATCHv6 00/17] Bluetooth: Create AMP physical link Andrei Emeltchenko
2012-09-27 14:26       ` [PATCHv7 00/19] " Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 01/19] Bluetooth: Add HCI logical link cmds definitions Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 02/19] Bluetooth: A2MP: Create amp_mgr global list Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 03/19] Bluetooth: AMP: Use HCI cmd to Read AMP Info Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 04/19] Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 05/19] Bluetooth: A2MP: Process Discover Response Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 06/19] Bluetooth: AMP: Physical link struct and heplers Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 07/19] Bluetooth: AMP: Remote AMP ctrl definitions Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 08/19] Bluetooth: AMP: Handle create / disc phylink req Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 09/19] Bluetooth: A2MP: Process A2MP Getinfo Rsp Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 10/19] Bluetooth: A2MP: Process A2MP Get AMP Assoc Rsp Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 11/19] Bluetooth: Choose connection based on capabilities Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 12/19] Bluetooth: Add function to derive AMP key using hmac Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 13/19] Bluetooth: AMP: Add AMP key calculation Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 14/19] Bluetooth: AMP: Create Physical Link Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 15/19] Bluetooth: AMP: Write remote AMP Assoc Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 16/19] Bluetooth: A2MP: Add fallback to normal l2cap init sequence Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 17/19] Bluetooth: AMP: Process Chan Selected event Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 18/19] Bluetooth: AMP: Accept Physical Link Andrei Emeltchenko
2012-09-27 14:26         ` [PATCHv7 19/19] Bluetooth: AMP: Handle Accept phylink command status evt Andrei Emeltchenko
2012-09-27 20:44         ` [PATCHv7 00/19] Bluetooth: Create AMP physical link Gustavo 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=20120724204605.GC20029@joana \
    --to=gustavo@padovan.org \
    --cc=Andrei.Emeltchenko.news@gmail.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).