linux/net/bluetooth
Mat Martineau e328140fda Bluetooth: Use event-driven approach for handling ERTM receive buffer
This change moves most L2CAP ERTM receive buffer handling out of the
L2CAP core and in to the socket code.  It's up to the higher layer
(the socket code, in this case) to tell the core when its buffer is
full or has space available.  The recv op should always accept
incoming ERTM data or else the connection will go down.

Within the socket layer, an skb that does not fit in the socket
receive buffer will be temporarily stored.  When the socket is read
from, that skb will be placed in the receive buffer if possible.  Once
adequate buffer space becomes available, the L2CAP core is informed
and the ERTM local busy state is cleared.

Receive buffer management for non-ERTM modes is unchanged.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-07-07 15:28:56 -03:00
..
bnep Bluetooth: Use kthread API in bnep 2011-04-05 12:40:47 -03:00
cmtp Bluetooth: Kill set but unused variable 'cmd' in cmtp_recv_capimsg() 2011-06-09 16:32:21 -03:00
hidp Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2011-05-23 09:10:03 -07:00
rfcomm Merge master.kernel.org:/pub/scm/linux/kernel/git/padovan/bluetooth-2.6 2011-06-09 16:33:54 -03:00
af_bluetooth.c Bluetooth: remove unnecessary call to hci_sock_cleanup 2011-02-25 22:36:58 -03:00
hci_conn.c Merge master.kernel.org:/pub/scm/linux/kernel/git/padovan/bluetooth-2.6 2011-06-21 14:52:56 -03:00
hci_core.c Bluetooth: Fix potential deadlock in hci_core 2011-07-07 14:28:12 -03:00
hci_event.c Bluetooth: Add enable_le module parameter 2011-07-06 19:10:37 -03:00
hci_sock.c Bluetooth: Move blacklisting functions to hci_core 2011-06-16 15:19:41 -03:00
hci_sysfs.c Bluetooth: Add variable SSP auto-accept delay support 2011-04-28 16:02:30 -03:00
Kconfig Bluetooth: uses crypto interfaces, select CRYPTO 2011-06-27 15:12:42 -03:00
l2cap_core.c Bluetooth: Use event-driven approach for handling ERTM receive buffer 2011-07-07 15:28:56 -03:00
l2cap_sock.c Bluetooth: Use event-driven approach for handling ERTM receive buffer 2011-07-07 15:28:56 -03:00
lib.c Bluetooth: Add bt_printk 2011-06-30 19:17:12 -03:00
Makefile Bluetooth: Implement the first SMP commands 2011-06-13 15:11:55 -03:00
mgmt.c Bluetooth: Fix potential deadlock in mgmt 2011-07-07 14:28:29 -03:00
sco.c Bluetooth: Rename function bt_err to bt_to_errno 2011-06-30 18:44:08 -03:00
smp.c Bluetooth: Remove enable_smp parameter 2011-07-06 19:10:45 -03:00