diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-14 20:13:46 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-14 20:13:46 +0200 |
commit | a8746417e864da1ed36dd2432a399fbeb843c2a0 (patch) | |
tree | e0e392e8b76d53748f357e888483bced2de24e2b /include/net/bluetooth/hci_core.h | |
parent | 9dc0a3afc08d6c20c284994dcd84531787d00ec2 (diff) | |
download | kernel_samsung_tuna-a8746417e864da1ed36dd2432a399fbeb843c2a0.zip kernel_samsung_tuna-a8746417e864da1ed36dd2432a399fbeb843c2a0.tar.gz kernel_samsung_tuna-a8746417e864da1ed36dd2432a399fbeb843c2a0.tar.bz2 |
[Bluetooth] Track connection packet type changes
The connection packet type can be changed after the connection has been
established and thus needs to be properly tracked to ensure that the
host stack has always correct and valid information about it.
On incoming connections the Bluetooth core switches the supported packet
types to the configured list for this controller. However the usefulness
of this feature has been questioned a lot. The general consent is that
every Bluetooth host stack should enable as many packet types as the
hardware actually supports and leave the decision to the link manager
software running on the Bluetooth chip.
When running on Bluetooth 2.0 or later hardware, don't change the packet
type for incoming connections anymore. This hardware likely supports
Enhanced Data Rate and thus leave it completely up to the link manager
to pick the best packet type.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index c8255ad..6424d63 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -162,6 +162,7 @@ struct hci_conn { __u8 dev_class[3]; __u8 features[8]; __u16 interval; + __u16 pkt_type; __u16 link_policy; __u32 link_mode; __u8 power_save; |