From: Peter Hurley <peter@hurleysoftware.com>
To: linux-bluetooth <linux-bluetooth@vger.kernel.org>
Subject: [PATCH v2 0/1] Bluetooth: Add NULL ACL packet stat
Date: Sat, 2 Jul 2011 13:44:46 -0400 [thread overview]
Message-ID: <1309628686.22449.11.camel@THOR> (raw)
Remote devices use the FLOW indicator in the ACL baseband
packet header to indicate to transmitting devices that the RX
buffer is full. In heavily asymmetric traffic, this can generate
NULL ACL packets (0-length, ACL continuation fragments).
Rather than emit log errors, track this as a device statistic instead.
The corresponding user-space patch to hciconfig outputs the accumulated
NULL packets with the other device statistics.
In reviewing the ioctl (HCIGETDEVINFO) used between km <-> um, I noticed
there is no versioning or size information to prevent km from
overwriting the um stack (eg., using an earlier version of user-space
tools).
Is it generally accepted to force new Bluez with new kernel (and vice
versa)? In a related query, will the mgmtops interface subsume/replace
this ioctl usage as well?
Peter Hurley (1):
Bluetooth: l2cap: fix NULL ACL packet handling
include/net/bluetooth/hci.h | 1 +
net/bluetooth/l2cap_core.c | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
--
1.7.4.1
reply other threads:[~2011-07-02 17:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1309628686.22449.11.camel@THOR \
--to=peter@hurleysoftware.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).