<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/net/nfc, branch v4.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.3</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-08-20T20:00:11Z</updated>
<entry>
<title>nfc: netlink: Add capability to reply to vendor_cmd with data</title>
<updated>2015-08-20T20:00:11Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-08-19T19:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=29e76924cf087bc6a9114a9244828fd13ae959bb'/>
<id>urn:sha1:29e76924cf087bc6a9114a9244828fd13ae959bb</id>
<content type='text'>
A proprietary vendor command may send back useful data to the user
application.

For example, the field level applied on the NFC router antenna.

Still based on net/wireless/nl80211.c implementation,
add nfc_vendor_cmd_alloc_reply_skb and nfc_vendor_cmd_reply in
order to send back over netlink data generated by a proprietary
command.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: nci: export nci_core_reset and nci_core_init</title>
<updated>2015-08-20T19:23:11Z</updated>
<author>
<name>Robert Baldyga</name>
<email>r.baldyga@samsung.com</email>
</author>
<published>2015-08-20T15:26:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=025a0cb8380b7100d39fb426db9192b6c59595dc'/>
<id>urn:sha1:025a0cb8380b7100d39fb426db9192b6c59595dc</id>
<content type='text'>
Some drivers needs to have ability to reinit NCI core, for example
after updating firmware in setup() of post_setup() callback. This
patch makes nci_core_reset() and nci_core_init() functions public,
to make it possible.

Signed-off-by: Robert Baldyga &lt;r.baldyga@samsung.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: nci: Add post_setup handler</title>
<updated>2015-08-20T19:22:34Z</updated>
<author>
<name>Robert Baldyga</name>
<email>r.baldyga@samsung.com</email>
</author>
<published>2015-08-20T15:26:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fdf79bd48876812acf0de58ed7a8bc1b3a3c67d6'/>
<id>urn:sha1:fdf79bd48876812acf0de58ed7a8bc1b3a3c67d6</id>
<content type='text'>
Some drivers require non-standard configuration after NCI_CORE_INIT
request, because they need to know ndev-&gt;manufact_specific_info or
ndev-&gt;manufact_id. This patch adds post_setup handler allowing to do
such custom configuration.

Signed-off-by: Robert Baldyga &lt;r.baldyga@samsung.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: nci: add generic uart support</title>
<updated>2015-06-11T21:37:37Z</updated>
<author>
<name>Vincent Cuissard</name>
<email>cuissard@marvell.com</email>
</author>
<published>2015-06-11T09:25:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9961127d4bce6325e9a0b0fb105e0c85a6c62cb7'/>
<id>urn:sha1:9961127d4bce6325e9a0b0fb105e0c85a6c62cb7</id>
<content type='text'>
Some NFC controller supports UART as host interface.
As with SPI, a lot of code can be shared between vendor
drivers. This patch add the generic support of UART and
provides some extension API for vendor specific needs.

This code is strongly inspired by the Bluetooth HCI ldisc
implementation. NCI UART vendor drivers will have to register
themselves to this layer via nci_uart_register.

Underlying tty will have to be configured from user land
thanks to an ioctl.

Signed-off-by: Vincent Cuissard &lt;cuissard@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: Introduce vendor commands structures</title>
<updated>2015-06-08T23:20:19Z</updated>
<author>
<name>Samuel Ortiz</name>
<email>sameo@linux.intel.com</email>
</author>
<published>2014-10-13T23:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8115dd5905318afcde713726064ec052b7d488cf'/>
<id>urn:sha1:8115dd5905318afcde713726064ec052b7d488cf</id>
<content type='text'>
Together with inline routines to associate a vendor commands
array with an NFC device.

Vendor commands allow vendors to implement their very specific
operations from driver code instead of adding new stack ops
for non NFC generic commands.
Vendors need to select their own unique IDs and use that as a
namespace for defining sub commands.

Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: nci: Add nci_prop_cmd allowing to send proprietary nci cmd</title>
<updated>2015-06-08T22:34:21Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=759afb8d288ffbe9a1cdb20af037b5c072dc38b2'/>
<id>urn:sha1:759afb8d288ffbe9a1cdb20af037b5c072dc38b2</id>
<content type='text'>
Handle allowing to send proprietary nci commands anywhere in the nci
state machine.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: nci: Add nci init ops for early device initialization</title>
<updated>2015-06-08T22:34:21Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c39daeee50eb0b95d3b91bda21b77955a459ee5f'/>
<id>urn:sha1:c39daeee50eb0b95d3b91bda21b77955a459ee5f</id>
<content type='text'>
Some device may need to execute some proprietary commands
in order to "wake-up"; Before the nci state initialization.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: nci: Handle proprietary response and notifications</title>
<updated>2015-06-08T22:34:20Z</updated>
<author>
<name>Samuel Ortiz</name>
<email>sameo@linux.intel.com</email>
</author>
<published>2015-06-06T11:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b6355e972aaab0173ce11a1650e7dba67f820918'/>
<id>urn:sha1:b6355e972aaab0173ce11a1650e7dba67f820918</id>
<content type='text'>
Allow for drivers to explicitly define handlers for each
proprietary notifications and responses they expect to support.

Reviewed-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>nfc: nci: Add comment to explain NCI_HCI_MAX_PIPES</title>
<updated>2015-04-05T22:19:05Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-03-31T06:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1f74f323e2c30b7fd53f6ad16c1990f2c80bbfc0'/>
<id>urn:sha1:1f74f323e2c30b7fd53f6ad16c1990f2c80bbfc0</id>
<content type='text'>
According to specification etsi 102 622 chapter 4.4 pipes
identifier is 7 bits long giving a 127 possible pipes value.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>nfc: Reduce nfc_evt_transaction params length to 0</title>
<updated>2015-04-05T22:18:29Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-03-31T06:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0fc4a1291aeef338593e44e5396559df27f0bfdf'/>
<id>urn:sha1:0fc4a1291aeef338593e44e5396559df27f0bfdf</id>
<content type='text'>
According to etsi 102 622 chapter 11.2.2.4 EVT_TRANSACTION,
the nfc_evt_transaction parameters can be 0 up to 255 byte long.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
