diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-05-17 13:09:05 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-12-05 07:05:34 -0800 |
commit | 0cd75f7ed740a8c605fe55ac71a9b5162c612422 (patch) | |
tree | b155f3faacfeeaf1f244405b26e5b2f1105b53a2 /include/net | |
parent | 3831971355d901ccfb76533a422b4395072849a3 (diff) | |
download | blackbird-op-linux-0cd75f7ed740a8c605fe55ac71a9b5162c612422.tar.gz blackbird-op-linux-0cd75f7ed740a8c605fe55ac71a9b5162c612422.zip |
Bluetooth: Track LE L2CAP credits in l2cap_chan
This patch adds tracking of L2CAP connection oriented channel local and
remote credits to struct l2cap_chan and ensures that connect requests
and responses contain the right values.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 063d786b0991..d7cd1ddfe576 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -514,6 +514,9 @@ struct l2cap_chan { __u16 monitor_timeout; __u16 mps; + __u16 tx_credits; + __u16 rx_credits; + __u8 tx_state; __u8 rx_state; |