<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/drivers/net/wireless/ath/ath11k, branch master</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2020-01-26T10:51:00+00:00</updated>
<entry>
<title>ath11k: fix up some error paths</title>
<updated>2020-01-26T10:51:00+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2020-01-15T17:46:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=7195c8747e8757daaf48d862e1314f8bcfdb3207'/>
<id>urn:sha1:7195c8747e8757daaf48d862e1314f8bcfdb3207</id>
<content type='text'>
There are two error paths where "ret" wasn't set.  Also one error path
we set the error code to -EINVAL but we should just preserve the error
code from ath11k_hal_srng_get_entrysize().  That function only returns
-EINVAL so this doesn't change anything.

I removed the "ret = 0;" initializers so that hopefully GCC will be able
to detect these sorts of bugs in the future.

Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: make sure to also report the RX bandwidth inside radiotap</title>
<updated>2020-01-26T10:49:40+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@phrozen.org</email>
</author>
<published>2019-12-17T20:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=93634c61056e34522e824d56ff77ee2332ed7f8a'/>
<id>urn:sha1:93634c61056e34522e824d56ff77ee2332ed7f8a</id>
<content type='text'>
Add IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWN to the list of known
fields. Not doing so will result in wireshark not calculating the
bitrate correctly.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: avoid null pointer dereference when pointer band is null</title>
<updated>2020-01-26T10:48:09+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2020-01-11T09:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=3b4516838eaabacc56770f12407d5f791c88838a'/>
<id>urn:sha1:3b4516838eaabacc56770f12407d5f791c88838a</id>
<content type='text'>
In the unlikely event that cap-&gt;supported_bands has neither
WMI_HOST_WLAN_2G_CAP set or WMI_HOST_WLAN_5G_CAP set then pointer
band is null and a null dereference occurs when assigning
band-&gt;n_iftype_data.  Move the assignment to the if blocks to
avoid this.  Cleans up static analysis warnings.

Addresses-Coverity: ("Explicit null dereference")
Fixes: 9f056ed8ee01 ("ath11k: add HE support")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: Add missing pdev rx rate stats</title>
<updated>2020-01-26T10:47:08+00:00</updated>
<author>
<name>Bhagavathi Perumal S</name>
<email>bperumal@codeaurora.org</email>
</author>
<published>2020-01-09T11:48:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=875603b3de9fb5dc11acf80b6df45709adec68b2'/>
<id>urn:sha1:875603b3de9fb5dc11acf80b6df45709adec68b2</id>
<content type='text'>
This adds missing rx rate info stats like pilot evm,
per chain rssi, per user ul ppdu and mpdu counts and
ul ofdma rate info etc.

And add null checks for memory alloc failures.

Signed-off-by: Bhagavathi Perumal S &lt;bperumal@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: ensure ts.flags is initialized before bit-wise or'ing in values</title>
<updated>2020-01-26T10:45:08+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2019-12-21T00:40:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=eefca584140b42551e642277515ca26be0ca5ef3'/>
<id>urn:sha1:eefca584140b42551e642277515ca26be0ca5ef3</id>
<content type='text'>
Currently the structure ts is not inititalized and ts.flags contains
garbage values from the stack.  This is being passed into function
ath11k_dp_tx_status_parse that bit-wise or'ing in settings into the
ts.flags field.  To avoid flags (and other fields) from containing
garbage, initialize the structure to zero before use.

Addresses-Coverity: ("Uninitialized scalar variable)"
Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: set TxBf parameters after vdev start</title>
<updated>2020-01-26T10:39:31+00:00</updated>
<author>
<name>Bhagavathi Perumal S</name>
<email>bperumal@codeaurora.org</email>
</author>
<published>2019-12-17T16:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=5815719dd2714a369448159a562f6fdf75ffe87b'/>
<id>urn:sha1:5815719dd2714a369448159a562f6fdf75ffe87b</id>
<content type='text'>
The channel info parameters are required by the firmware to process TxBf
parameters. Currently TxBf is passed prior to the channel info. This patch
moves TxBf setup after the channel setup.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Bhagavathi Perumal S &lt;bperumal@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: enable HE tlvs in ppdu stats for pktlog lite</title>
<updated>2020-01-26T10:38:07+00:00</updated>
<author>
<name>Anilkumar Kolli</name>
<email>akolli@codeaurora.org</email>
</author>
<published>2019-12-17T16:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=1e93a78113b4eaf009b3c994595db44356544b05'/>
<id>urn:sha1:1e93a78113b4eaf009b3c994595db44356544b05</id>
<content type='text'>
This patch enables HE tlvs in ppdu stats for pktlog lite mode.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Anilkumar Kolli &lt;akolli@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: fix debugfs build failure</title>
<updated>2020-01-26T10:37:06+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2020-01-07T21:50:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=a45ceea5015d5be4bab4f6ce59cffcbeceba7e6c'/>
<id>urn:sha1:a45ceea5015d5be4bab4f6ce59cffcbeceba7e6c</id>
<content type='text'>
When CONFIG_ATH11K_DEBUGFS is disabled, but CONFIG_MAC80211_DEBUGFS
is turned on, the driver fails to build:

drivers/net/wireless/ath/ath11k/debugfs_sta.c: In function 'ath11k_dbg_sta_open_htt_peer_stats':
drivers/net/wireless/ath/ath11k/debugfs_sta.c:416:4: error: 'struct ath11k' has no member named 'debug'
  ar-&gt;debug.htt_stats.stats_req = stats_req;
    ^~

It appears that just using the former symbol is sufficient here,
adding a Kconfig dependency takes care of the corner cases.

Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: Use sizeof_field() instead of FIELD_SIZEOF()</title>
<updated>2019-12-19T16:18:30+00:00</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2019-12-19T00:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=ca0e477931c5a725bb887c764a49eb5d69ab7a67'/>
<id>urn:sha1:ca0e477931c5a725bb887c764a49eb5d69ab7a67</id>
<content type='text'>
The FIELD_SIZEOF() macro was redundant, and is being removed from the
kernel. Since commit c593642c8be0 ("treewide: Use sizeof_field() macro")
this is one of the last users of the old macro, so replace it.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath11k: explicitly cast wmi commands to their correct struct type</title>
<updated>2019-12-19T16:17:41+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@phrozen.org</email>
</author>
<published>2019-12-05T06:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=77ea8b455ca1d93221bad979a59271233ecb757e'/>
<id>urn:sha1:77ea8b455ca1d93221bad979a59271233ecb757e</id>
<content type='text'>
Three of the WMI command handlers were not casting to the right data type.
Lets make the code consistent with the other handlers.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
</feed>
