linux-sg2042/net/bluetooth
Szymon Janc 77f918bc7b Bluetooth: Don't send RNR immediately when entering local busy
There is no need to send RNR immediately when entring local busy.
Also upper layer might clear local busy condition before ack timer
expires saving few cycles for sending RNR.

This also prevents sending two RNRs in some cases where sending one
would be enough i.e received N I-frame can trigger local busy
(sending RNR acking up to N-1 I-frame) and later sending ack (RNR
acking up to N I-frame).

This was affecting TC_ERM_BV_07_C and TC_ERM_BV_22_C with some non
default channel parameters (tx window and receiving buffer sizes).

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2012-02-13 17:01:26 +02:00
..
bnep Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-01-03 15:16:34 -05:00
cmtp Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
hidp Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
rfcomm Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
Kconfig Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
Makefile Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
af_bluetooth.c Bluetooth: Remove *_bh from socket list lock. 2012-01-02 22:20:24 -02:00
hci_conn.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2011-12-23 17:13:56 -05:00
hci_core.c Bluetooth: Fix 'enable_hs' type 2012-02-13 17:01:25 +02:00
hci_event.c Bluetooth: Fix resetting HCI_MGMT flag 2012-02-13 17:01:25 +02:00
hci_sock.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
hci_sysfs.c Bluetooth: Correctly acquire module ref 2012-02-13 17:01:24 +02:00
l2cap_core.c Bluetooth: Don't send RNR immediately when entering local busy 2012-02-13 17:01:26 +02:00
l2cap_sock.c Bluetooth: Fix sk_sndtimeo initialization for L2CAP socket 2012-02-13 17:01:21 +02:00
lib.c Bluetooth: Add bt_printk 2011-06-30 19:17:12 -03:00
mgmt.c Bluetooth: Sort to-be-resolved devices by RSSI during discovery 2012-02-13 17:01:25 +02:00
sco.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
smp.c Bluetooth: Move mgmt related flags from hdev->flags to hdev->dev_flags 2012-02-13 17:01:25 +02:00