<feed xmlns='http://www.w3.org/2005/Atom'>
<title>blackbird-op-linux/drivers/staging/wilc1000, branch master</title>
<subtitle>Blackbird™ Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/blackbird-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/blackbird-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/'/>
<updated>2020-01-23T18:16:12+00:00</updated>
<entry>
<title>staging: wilc1000: avoid mutex unlock without lock in wilc_wlan_handle_txq()</title>
<updated>2020-01-23T18:16:12+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2020-01-23T12:50:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=bd4217cb9d54171a109fe63d0ac801cc7a18edb9'/>
<id>urn:sha1:bd4217cb9d54171a109fe63d0ac801cc7a18edb9</id>
<content type='text'>
In wilc_wlan_handle_txq(), mutex unlock was called without acquiring
it. Also error code for full VMM condition was incorrect as discussed in
[1]. Now used a proper code to indicate VMM is full, for which transfer
to VMM is required again. 'wilc_wlan_handle_txq()' should be called
again if the VMM space was full earlier or otherwise based on
'txq_event' signal.

1. https://lore.kernel.org/driverdev-devel/20191113183322.a54mh2w6dulklgsd@kili.mountain/

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20200123182129.4053-2-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: return zero on success and non-zero on function failure</title>
<updated>2020-01-23T18:16:12+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2020-01-23T12:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=7a80aa23d0f0f52478339840577137f556bf9121'/>
<id>urn:sha1:7a80aa23d0f0f52478339840577137f556bf9121</id>
<content type='text'>
Some of the HIF layer API's return zero for failure and non-zero for
success condition. Now, modified the functions to return zero for success
and non-zero for failure as its recommended approach suggested in [1].

1. https://lore.kernel.org/driverdev-devel/20191113183322.a54mh2w6dulklgsd@kili.mountain/

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20200123182129.4053-1-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: remove unused code prior to throughput enhancement in SPI</title>
<updated>2020-01-22T08:53:45+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2020-01-17T10:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=b17028d289d37e828a66a6cfd614cd4723334ace'/>
<id>urn:sha1:b17028d289d37e828a66a6cfd614cd4723334ace</id>
<content type='text'>
The firmware now uses throughput enhancement code by default for SPI so
remove the previous implementation as its not used anymore. Removed the
use of 'has_thrpt_enh' element as its always true.

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20200117160157.8706-5-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: added 'wilc_' prefix for 'struct assoc_resp' name</title>
<updated>2020-01-22T08:53:45+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2020-01-17T10:31:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=1d58fec42fdf6098d8e34c679d3377bb87866add'/>
<id>urn:sha1:1d58fec42fdf6098d8e34c679d3377bb87866add</id>
<content type='text'>
Use 'wilc_' prefix for 'assoc_resp' struct to have proper naming
convention.

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20200117160157.8706-4-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: move firmware API struct's to separate header file</title>
<updated>2020-01-22T08:53:45+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2020-01-17T10:31:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=c5295d1a41fe2f1bd0877f74817a3b63b989b10e'/>
<id>urn:sha1:c5295d1a41fe2f1bd0877f74817a3b63b989b10e</id>
<content type='text'>
It's recommended to keep the 'struct' used for passing data to firmware
in separate header file. So added 'fw.h' header file to keep struct's
used to pass data to firmware.

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20200117160157.8706-3-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: remove use of infinite loop conditions</title>
<updated>2020-01-22T08:53:45+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2020-01-17T10:31:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=9d442d2b9add140ddc2c5de6a0ac93050dfaef16'/>
<id>urn:sha1:9d442d2b9add140ddc2c5de6a0ac93050dfaef16</id>
<content type='text'>
Avoid the use of 'while (1)' infinite loop conditions. It's not
recommended to have infinite loop in kernel code because a small bug can
cause never ending loops so use terminator condition as suggested in
full driver review [1].

[1]. https://lore.kernel.org/linux-wireless/20191023100313.52B3F606CF@smtp.codeaurora.org/

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20200117160157.8706-2-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: remove redundant assignment to variable result</title>
<updated>2020-01-15T12:11:41+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2020-01-14T17:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=01fbbd42d1f48b505714434c406f6ebbd6c9a60e'/>
<id>urn:sha1:01fbbd42d1f48b505714434c406f6ebbd6c9a60e</id>
<content type='text'>
The variable result is being initialized with a value that
is never read and is being re-assigned later on. The assignment
is redundant and hence can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Link: https://lore.kernel.org/r/20200114172720.376286-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: use GENMASK to extract wid type</title>
<updated>2019-12-10T09:28:31+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2019-11-22T20:52:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=baf3f2f9d0bf747023c1d1fb197dd4e621ca3fce'/>
<id>urn:sha1:baf3f2f9d0bf747023c1d1fb197dd4e621ca3fce</id>
<content type='text'>
Refactor code by make use of 'GENMASK' to extract the WID type from
buffer received from firmware.

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20191122205153.30723-4-adham.abozaeid@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: use kernel provided struct cast to extract mac header</title>
<updated>2019-12-10T09:28:31+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2019-11-22T20:52:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=a02a9897cd6dd8b8b45162c8edd02ae924382b4b'/>
<id>urn:sha1:a02a9897cd6dd8b8b45162c8edd02ae924382b4b</id>
<content type='text'>
To parse the mac header make use of *struct ieee80211_hdr* instead of
extracting individual fields separately using pointer operation.

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20191122205153.30723-3-adham.abozaeid@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: wilc1000: remove unused compile time featurization</title>
<updated>2019-12-10T09:28:30+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2019-11-22T20:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=856be41e446a6918fc665399061f4ec75b580501'/>
<id>urn:sha1:856be41e446a6918fc665399061f4ec75b580501</id>
<content type='text'>
Removed the unused compile type featurization. It's not recommended to
have compile type feature. Currently removing these defines as they are
not used. If any of these parameters are needed later should be added
using run time feature.

Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Link: https://lore.kernel.org/r/20191122205153.30723-2-adham.abozaeid@microchip.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
