Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 0/8] Second round of patches for the l2cap "rewrite"
@ 2011-04-15 18:17 Gustavo F. Padovan
  2011-04-15 18:17 ` [PATCH 1/8] Bluetooth: Refactor L2CAP channel allocation Gustavo F. Padovan
  0 siblings, 1 reply; 9+ messages in thread
From: Gustavo F. Padovan @ 2011-04-15 18:17 UTC (permalink / raw)
  To: linux-bluetooth

These patches finishes almost all the data separatation bettween an L2CAP
socket and an L2CAP channel. Some missing pieces are:
	- New locking system to the l2cap_channel (together with the a new
	  	backlog recv queue implementation).
	- Keep the state of the connection on strcut l2cap_chan ( and notify
	  	the socket about changes on the state)
	- New ways to retrieve data from bt_sk.
	- New list to search for the psm and scid we can accept a connection
		or receive data (connectionless case)

Then we need to draw an API to access L2CAP channels from l2cap_sock.c and
RFCOMM, and a notify system for L2CAP core tell its users about new data, state
changes, etc.

Please comment.

Regards,

Gustavo F. Padovan (8):
  Bluetooth: Refactor L2CAP channel allocation
  Bluetooth: Move conf_state to struct l2cap_chan
  Bluetooth: Rename l2cap_do_connect() to l2cap_chan_connect()
  Bluetooth: Move some more elements to struct l2cap_chan
  Bluetooth: Move more vars to struct l2cap_chan
  Bluetooth: Move more channel info to struct l2cap_chan
  Bluetooth: Move more vars to struct l2cap_chan
  Bluetooth: Move conn to struct l2cap_chan

 include/net/bluetooth/l2cap.h |   67 +++---
 net/bluetooth/l2cap_core.c    |  578 ++++++++++++++++++++---------------------
 net/bluetooth/l2cap_sock.c    |  236 ++++++++++--------
 net/bluetooth/rfcomm/core.c   |   21 +-
 net/bluetooth/rfcomm/sock.c   |    5 +-
 5 files changed, 465 insertions(+), 442 deletions(-)

-- 
1.7.5.rc1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-04-15 18:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-15 18:17 [PATCH 0/8] Second round of patches for the l2cap "rewrite" Gustavo F. Padovan
2011-04-15 18:17 ` [PATCH 1/8] Bluetooth: Refactor L2CAP channel allocation Gustavo F. Padovan
2011-04-15 18:17   ` [PATCH 2/8] Bluetooth: Move conf_state to struct l2cap_chan Gustavo F. Padovan
2011-04-15 18:17     ` [PATCH 3/8] Bluetooth: Rename l2cap_do_connect() to l2cap_chan_connect() Gustavo F. Padovan
2011-04-15 18:17       ` [PATCH 4/8] Bluetooth: Move some more elements to struct l2cap_chan Gustavo F. Padovan
2011-04-15 18:17         ` [PATCH 5/8] Bluetooth: Move more vars " Gustavo F. Padovan
2011-04-15 18:17           ` [PATCH 6/8] Bluetooth: Move more channel info " Gustavo F. Padovan
2011-04-15 18:17             ` [PATCH 7/8] Bluetooth: Move more vars " Gustavo F. Padovan
2011-04-15 18:17               ` [PATCH 8/8] Bluetooth: Move conn " Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox