Re: [PATCH] NFC: Driver for Inside Secure MicroRead NFC chip
From: Samuel Ortiz
Date: Thu Mar 31 2011 - 11:09:49 EST
Hi Waldemar,
On Thu, Mar 31, 2011 at 05:42:21PM +0300, 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's the Bluetooth approach, and it works just fine as well.
However, the netlink option for sending commands and receiving answers to/from
a subsystem sounds more appropriate, at least to me.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/