<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/tools/testing/selftests/nci, branch v6.12.80</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2022-11-21T10:49:58+00:00</updated>
<entry>
<title>NFC: nci: Extend virtual NCI deinit test</title>
<updated>2022-11-21T10:49:58+00:00</updated>
<author>
<name>Dmitry Vyukov</name>
<email>dvyukov@google.com</email>
</author>
<published>2022-11-17T16:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d9e8da558580513318a36f4ecb1b6e28e41b4de0'/>
<id>urn:sha1:d9e8da558580513318a36f4ecb1b6e28e41b4de0</id>
<content type='text'>
Extend the test to check the scenario when NCI core tries to send data
to already closed device to ensure that nothing bad happens.

Signed-off-by: Dmitry Vyukov &lt;dvyukov@google.com&gt;
Cc: Bongsu Jeon &lt;bongsu.jeon@samsung.com&gt;
Cc: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Cc: Jakub Kicinski &lt;kuba@kernel.org&gt;
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: nci: replace unsigned int with int</title>
<updated>2021-09-16T12:55:51+00:00</updated>
<author>
<name>Xiang wangx</name>
<email>wangxiang@cdjrlc.com</email>
</author>
<published>2021-09-16T12:24:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=98dc68f8b0c2248bdc3688c90d2499247b9432e4'/>
<id>urn:sha1:98dc68f8b0c2248bdc3688c90d2499247b9432e4</id>
<content type='text'>
Should not use comparison of unsigned expressions &lt; 0.

Signed-off-by: Xiang wangx &lt;wangxiang@cdjrlc.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: nci: Add the NCI testcase reading T4T Tag</title>
<updated>2021-08-18T09:17:57+00:00</updated>
<author>
<name>Bongsu Jeon</name>
<email>bongsu.jeon@samsung.com</email>
</author>
<published>2021-08-17T13:28:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=61612511e55c886c96c0586abe3ac428402777df'/>
<id>urn:sha1:61612511e55c886c96c0586abe3ac428402777df</id>
<content type='text'>
Add the NCI testcase reading T4T Tag that has NFC TEST in plain text.
the virtual device application acts as T4T Tag in this testcase.

Signed-off-by: Bongsu Jeon &lt;bongsu.jeon@samsung.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: nci: Extract the start/stop discovery function</title>
<updated>2021-08-18T09:17:57+00:00</updated>
<author>
<name>Bongsu Jeon</name>
<email>bongsu.jeon@samsung.com</email>
</author>
<published>2021-08-17T13:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=72696bd8a09d6dc46196b23cf42562ee7e169ebc'/>
<id>urn:sha1:72696bd8a09d6dc46196b23cf42562ee7e169ebc</id>
<content type='text'>
To reuse the start/stop discovery code in other testcase, extract the code.

Signed-off-by: Bongsu Jeon &lt;bongsu.jeon@samsung.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: nci: Add the flags parameter for the send_cmd_mt_nla</title>
<updated>2021-08-18T09:17:57+00:00</updated>
<author>
<name>Bongsu Jeon</name>
<email>bongsu.jeon@samsung.com</email>
</author>
<published>2021-08-17T13:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6ebbc9680a33e5e073b04d8a1f486bd9e1809515'/>
<id>urn:sha1:6ebbc9680a33e5e073b04d8a1f486bd9e1809515</id>
<content type='text'>
To reuse the send_cmd_mt_nla for NLM_F_REQUEST and NLM_F_DUMP flag,
add the flags parameter to the function.

Signed-off-by: Bongsu Jeon &lt;bongsu.jeon@samsung.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: nci: Fix the wrong condition</title>
<updated>2021-08-18T09:17:57+00:00</updated>
<author>
<name>Bongsu Jeon</name>
<email>bongsu.jeon@samsung.com</email>
</author>
<published>2021-08-17T13:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1d5b8d01db98abb8c176838fad73287366874582'/>
<id>urn:sha1:1d5b8d01db98abb8c176838fad73287366874582</id>
<content type='text'>
memcpy should be executed only in case nla_len's value is greater than 0.

Signed-off-by: Bongsu Jeon &lt;bongsu.jeon@samsung.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: nci: Fix the code for next nlattr offset</title>
<updated>2021-08-18T09:17:57+00:00</updated>
<author>
<name>Bongsu Jeon</name>
<email>bongsu.jeon@samsung.com</email>
</author>
<published>2021-08-17T13:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=78a7b2a8a0fa31f63ac16ac13601db6ed8259dfc'/>
<id>urn:sha1:78a7b2a8a0fa31f63ac16ac13601db6ed8259dfc</id>
<content type='text'>
nlattr could have a padding for 4 bytes alignment. So next nla's offset
should be calculated with a padding.

Signed-off-by: Bongsu Jeon &lt;bongsu.jeon@samsung.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: nci: Fix the typo</title>
<updated>2021-08-18T09:17:57+00:00</updated>
<author>
<name>Bongsu Jeon</name>
<email>bongsu.jeon@samsung.com</email>
</author>
<published>2021-08-17T13:28:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=366f6edf5dea88451720b0b1f3ea477ee6b3aa80'/>
<id>urn:sha1:366f6edf5dea88451720b0b1f3ea477ee6b3aa80</id>
<content type='text'>
Fix typo: rep_len -&gt; resp_len

Signed-off-by: Bongsu Jeon &lt;bongsu.jeon@samsung.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: nci: Remove the polling code to read a NCI frame</title>
<updated>2021-08-18T09:17:57+00:00</updated>
<author>
<name>Bongsu Jeon</name>
<email>bongsu.jeon@samsung.com</email>
</author>
<published>2021-08-17T13:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4ef956c643942ad93a420a7106413f3a86a1c84c'/>
<id>urn:sha1:4ef956c643942ad93a420a7106413f3a86a1c84c</id>
<content type='text'>
Because the virtual NCI device uses Wait Queue, the virtual device
application doesn't need to poll the NCI frame.

Signed-off-by: Bongsu Jeon &lt;bongsu.jeon@samsung.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: Add .gitignore for nci test suite</title>
<updated>2021-05-20T19:51:24+00:00</updated>
<author>
<name>David Matlack</name>
<email>dmatlack@google.com</email>
</author>
<published>2021-05-19T21:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8570e75a55430844a8e85e3458e5701556334ffd'/>
<id>urn:sha1:8570e75a55430844a8e85e3458e5701556334ffd</id>
<content type='text'>
Building the nci test suite produces a binary, nci_dev, that git then
tries to track. Add a .gitignore file to tell git to ignore this binary.

Signed-off-by: David Matlack &lt;dmatlack@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
