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