xref: /freebsd/sys/netgraph/bluetooth/l2cap/TODO (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1$Id: TODO,v 1.1 2002/11/24 19:47:06 max Exp $
2
3FIXME/TODO list
4
50) Ping itself. Should L2CAP layer loopback data?
6
71) Locking/SMP
8
9	External code now uses ng_send_fn to inject data into Netgraph, so
10	it should be fine as long as Netgraph is SMP safe. Just need to
11	verify it.
12
132) Understand and implement L2CAP QoS
14
15	Will fix later. I only have CSR based hardware and it does not
16	support QoS.
17
183) Better functions to manage CIDs and command ident's.
19
20	Resource manager is not good because it uses MTX_DEF mutexes,
21	(i.e. could block/sleep)
22
234) Implement group channels (multicast)
24
25	Will fix later
26
275) Add bytes/packets counters and commands to get/reset them
28
29	Will fix later. What to count?
30
316) Better way to get information about channels
32
33	L2CAP can support about 65000 channels. Need define some good way
34	to get data from kernel to user space. For example if we need to pass
35	1K of information for every channel, then worst case is that we need
36	to pass 65Mbytes of data from kernel to user space. Not good.
37
387) Deal properly with "shutdown"s and hook "disconnect"s
39
40	For now we destroy all channels when upstream hook is disconnected.
41	Is there a better way to handle this?
42
43