]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/netgraph/bluetooth/l2cap/TODO
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / netgraph / bluetooth / l2cap / TODO
1 $Id: TODO,v 1.1 2002/11/24 19:47:06 max Exp $
2 $FreeBSD$
3
4 FIXME/TODO list
5
6 0) Ping itself. Should L2CAP layer loopback data?
7
8 1) 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
14 2) Understand and implement L2CAP QoS
15
16         Will fix later. I only have CSR based hardware and it does not
17         support QoS.
18
19 3) 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
24 4) Implement group channels (multicast)
25
26         Will fix later
27
28 5) Add bytes/packets counters and commands to get/reset them
29
30         Will fix later. What to count?
31
32 6) 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
39 7) 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