2011-08-24 14:04:49

by Peter Hurley

[permalink] [raw]
Subject: [RFC 0/4] Bluetooth: Expose HCI connections through debugfs

This series adds a new debugfs file, "connections", to the "hciX" debugfs
directory and exposes the state and statistics of current hci connections.

The per-connection statistics will currently reflect 0 counts while the
tx scheduler is in flux. Also, I expect to add error counts to conditions
that should be flagged as errors, such as clamping the ACL and LE buffer
counts to their respective max values.

Lastly, track NULL ACL packets in these new per-connection statistics
rather than logging them.

Peter Hurley (4):
Bluetooth: Add LE link type for debugfs output
Bluetooth: Expose hci connections through debugfs
Bluetooth: Track per-connection stats
Bluetooth: l2cap: fix NULL ACL packet handling

include/net/bluetooth/hci_core.h | 12 +++++++
net/bluetooth/hci_sysfs.c | 65 ++++++++++++++++++++++++++++++++++++++
net/bluetooth/l2cap_core.c | 8 +++++
3 files changed, 85 insertions(+), 0 deletions(-)

--
1.7.4.1