1250199Sgrehan$Id: TODO,v 1.1 2002/11/24 19:47:06 max Exp $ 2298446Ssephe$FreeBSD$ 3250199Sgrehan 4250199SgrehanFIXME/TODO list 5250199Sgrehan 6250199Sgrehan0) Ping itself. Should L2CAP layer loopback data? 7250199Sgrehan 8250199Sgrehan1) Locking/SMP 9250199Sgrehan 10250199Sgrehan External code now uses ng_send_fn to inject data into Netgraph, so 11250199Sgrehan it should be fine as long as Netgraph is SMP safe. Just need to 12250199Sgrehan verify it. 13250199Sgrehan 14250199Sgrehan2) Understand and implement L2CAP QoS 15250199Sgrehan 16250199Sgrehan Will fix later. I only have CSR based hardware and it does not 17250199Sgrehan support QoS. 18250199Sgrehan 19250199Sgrehan3) Better functions to manage CIDs and command ident's. 20250199Sgrehan 21250199Sgrehan Resource manager is not good because it uses MTX_DEF mutexes, 22250199Sgrehan (i.e. could block/sleep) 23250199Sgrehan 24250199Sgrehan4) Implement group channels (multicast) 25250199Sgrehan 26250199Sgrehan Will fix later 27250199Sgrehan 28250199Sgrehan5) Add bytes/packets counters and commands to get/reset them 29256276Sdim 30256276Sdim Will fix later. What to count? 31256276Sdim 32250199Sgrehan6) Better way to get information about channels 33296028Ssephe 34250199Sgrehan L2CAP can support about 65000 channels. Need define some good way 35250199Sgrehan to get data from kernel to user space. For example if we need to pass 36250199Sgrehan 1K of information for every channel, then worst case is that we need 37250199Sgrehan to pass 65Mbytes of data from kernel to user space. Not good. 38250199Sgrehan 39296181Ssephe7) Deal properly with "shutdown"s and hook "disconnect"s 40301588Ssephe 41301588Ssephe For now we destroy all channels when upstream hook is disconnected. 42250199Sgrehan Is there a better way to handle this? 43301588Ssephe 44250199Sgrehan