From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Ortiz Subject: Re: [PATCH] NFC: Driver for Inside Secure MicroRead NFC chip Date: Thu, 31 Mar 2011 17:09:40 +0200 Message-ID: <20110331150939.GC2704@sortiz-mobl> References: <1300444824-13713-1-git-send-email-waldemar.rymarkiewicz@tieto.com> <20110325142648.GC3879@sortiz-mobl> <99B09243E1A5DA4898CDD8B7001114481085E2375D@EXMB04.eu.tieto.com> <201103291305.02293.arnd@arndb.de> <20110331141650.GB2704@sortiz-mobl> <99B09243E1A5DA4898CDD8B7001114481085F0FE5A@EXMB04.eu.tieto.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <99B09243E1A5DA4898CDD8B7001114481085F0FE5A-TzrFtyi11j7rLp5S7fUuNkEOCMrvLtNR@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Waldemar.Rymarkiewicz-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org Cc: arnd-r2nGTMty4D4@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, hthebaud-Umy9UjvE/gtWk0Htik3J/w@public.gmane.org, matti.j.aaltonen-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org, alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org, Sebastian.Chlad-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org List-Id: linux-i2c@vger.kernel.org Hi Waldemar, On Thu, Mar 31, 2011 at 05:42:21PM +0300, Waldemar.Rymarkiewicz-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org 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/