Return-Path: MIME-Version: 1.0 In-Reply-To: <1338302161.15105.125.camel@aeonflux> References: <1338286766-5368-1-git-send-email-frederic.dalleau@linux.intel.com> <1338286766-5368-2-git-send-email-frederic.dalleau@linux.intel.com> <1338302161.15105.125.camel@aeonflux> Date: Wed, 30 May 2012 13:22:37 +0300 Message-ID: Subject: Re: [RFC] network: Reply to extensions at connection setup From: "Dalleau, Frederic" To: Marcel Holtmann Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric_Dalleau?= , linux-bluetooth@vger.kernel.org Content-Type: multipart/alternative; boundary=e89a8f642c748d741e04c13e54a9 List-ID: --e89a8f642c748d741e04c13e54a9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Marcel, On Tue, May 29, 2012 at 5:36 PM, Marcel Holtmann wrote= : > > TP/BNEP/CTRL/BV-19-C is about extension in the BNEP_SETUP_CONN_REQ > > control message. BNEP_SETUP_CONN_REQ is handled by bluetoothd before > > giving control to kernel. Current bluez do not reply at all if an > > extension is added to BNEP_SETUP_CONN_REQ. This patch fixes it by > > sending COMMAND_NOT_UNDERSTOOD reply. > > is this really a good idea to just decline all extensions here? > > What happens to the filter setup done via these commands. Don't we need > to process them inside the kernel to actually setup the filters. > I have chosen to decline the extension because they are marked as not supported in all qualification listings that I have seen. Processing extensions in the kernel is of course better, but both kernel and userspace needs changing, which is usually a much longer process. If preferred, I can do so. Regards, Fr=E9d=E9ric --e89a8f642c748d741e04c13e54a9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Marcel,

On Tue, May 29, 2012 at 5:36 P= M, Marcel Holtmann <marcel@holtmann.org> wrote:
> TP/BNEP/CTRL/BV-19-C is about extension in the BNEP_SETUP_CONN_REQ
=
> control message. BNEP_SETUP_CONN_REQ is handled by bluetoothd before > giving control to kernel. =A0Current bluez do not reply at all if an > extension is added to BNEP_SETUP_CONN_REQ. This patch fixes it by
> sending COMMAND_NOT_UNDERSTOOD reply.
=A0
is this really a good idea to just decline all extensions here?=

What happens to the filter setup done via these commands. Don't we need=
to process them inside the kernel to actually setup the filters.
=A0=
I have chosen to decline the extension because they are marked as not
supported in all qualification listings that I have=20 seen.

Processing extensions in the kernel is of course better, but b= oth kernel and
userspace needs changing, which is usually a much longer= process. If preferred,
I can do so.

Regards,
Fr=E9d=E9ric

--e89a8f642c748d741e04c13e54a9--