On Thursday 31 March 2011, Waldemar.Rymarkiewicz@xxxxxxxxx wrote: > >My idea of an initial NFC subsystem architecture was actually > >the following > >one: > >- A core NFC layer against which NFC drivers would register. > >- A netlink socket for handling the HCI commands. That would > >put a big part of the NFC HCI layer in kernel land and could > >potentially simplify the existing NFC stacks. > > Shouldn't be better to add a new AF_NFC sock family and then > register new LLCP and HCI protocols? That depends on what the HCI protocol really looks like, e.g. is it's related to the LLCP data at all or not. Another option might be to control the HCI over setsockopts, but the netlink socket sounds more flexible for this. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html