<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/include/net/nfc/hci.h, branch linux-4.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.15.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.15.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-06-08T23:20:19Z</updated>
<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://universe.0xinfinity.dev/distro/kernel/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: hci: Add comment to explain NFC_HCI_MAX_PIPES</title>
<updated>2015-04-05T22:18:20Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-03-31T06:02:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0b040964a01ccfd880207ddc498e55e6c990a5d5'/>
<id>urn:sha1:0b040964a01ccfd880207ddc498e55e6c990a5d5</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: hci: Add cmd_received handler</title>
<updated>2015-01-27T23:03:34Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-01-27T00:18:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8409e4283c1ca62ce107564de7ff93b4dd476d41'/>
<id>urn:sha1:8409e4283c1ca62ce107564de7ff93b4dd476d41</id>
<content type='text'>
When a command is received, it is sometime needed to let the CLF driver do
some additional operations. (ex: count remaining pipe notification...)

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: hci: Change nfc_hci_send_response gate parameter to pipe</title>
<updated>2015-01-27T22:55:20Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-01-27T00:18:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=af77522320aa0e5b4b52dce615ad067d92e15fbf'/>
<id>urn:sha1:af77522320aa0e5b4b52dce615ad067d92e15fbf</id>
<content type='text'>
As there can be several pipes connected to the same gate, we need
to know which pipe ID to use when sending an HCI response. A gate
ID is not enough.

Instead of changing the nfc_hci_send_response() API to something
not aligned with the rest of the HCI API, we call nfc_hci_hcp_message_tx
directly.

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: hci: Add pipes table to reference them with a tuple {gate, host}</title>
<updated>2015-01-27T22:39:32Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-01-27T00:18:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=118278f20aa89efe45fa1e2b1829f198d557f8fe'/>
<id>urn:sha1:118278f20aa89efe45fa1e2b1829f198d557f8fe</id>
<content type='text'>
In order to keep host source information on specific hci event (such as
evt_connectivity or evt_transaction) and because 2 pipes can be connected
to the same gate, it is necessary to add a table referencing every pipe
with a {gate, host} tuple.

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: hci: Change event_received handler gate parameter to pipe</title>
<updated>2015-01-27T22:39:23Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-01-27T00:18:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fda7a49cb991e9da15f5955d1ea292f8ec74f27a'/>
<id>urn:sha1:fda7a49cb991e9da15f5955d1ea292f8ec74f27a</id>
<content type='text'>
Several pipes may point to the same CLF gate, so getting the gate ID
as an input is not enough.
For example dual secure element may have 2 pipes (1 for uicc and
1 for eSE) pointing to the connectivity gate.

As resolving gate and host IDs can be done from a pipe, we now pass
the pipe ID to the event received handler.

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: hci: Add specific hci macro to not create a pipe</title>
<updated>2014-12-02T21:48:13Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2014-12-02T20:27:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b3a55b9c5d44d0ed38eb6e8593a47578801730de'/>
<id>urn:sha1:b3a55b9c5d44d0ed38eb6e8593a47578801730de</id>
<content type='text'>
Some pipe are only created by other host (different than the
Terminal Host).
The pipe values will for example be notified by
NFC_HCI_ADM_NOTIFY_PIPE_CREATED.

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: hci: Add se_io HCI operand</title>
<updated>2014-12-02T00:49:58Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2014-11-12T23:30:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9b8d32b7acdcd237d3e58154d59551c71556fec1'/>
<id>urn:sha1:9b8d32b7acdcd237d3e58154d59551c71556fec1</id>
<content type='text'>
se_io allows to send apdu over the CLF to the embedded Secure Element.

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: hci: Add stop_poll HCI operand.</title>
<updated>2014-07-22T23:04:31Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2014-05-20T20:21:57Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=95f7687b209954a8ec94b4974d14fdff005ebaac'/>
<id>urn:sha1:95f7687b209954a8ec94b4974d14fdff005ebaac</id>
<content type='text'>
stop_poll allows to stop CLF reader polling. Some other operations might be
necessary for some CLF to stop polling. For example in card mode.

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: hci: Add load_session HCI operand</title>
<updated>2014-04-21T22:37:26Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2014-03-25T05:51:49Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e240bc36125691b0e18e70407c2d18ca6117c2f5'/>
<id>urn:sha1:e240bc36125691b0e18e70407c2d18ca6117c2f5</id>
<content type='text'>
load_session allows a CLF to restore the gate &lt;-&gt; pipe table from some
proprietary location.
The main advantage to add this function is to reduce the memory wear by
running pipe creation (and storing) only once.

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>
