<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net/wireless, branch v4.7</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.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-06-23T19:22:31Z</updated>
<entry>
<title>Merge tag 'wireless-drivers-for-davem-2016-06-21' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers</title>
<updated>2016-06-23T19:22:31Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2016-06-23T19:22:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=00e8cb00bc72f5279fde9d014b47f36dc4805dd8'/>
<id>urn:sha1:00e8cb00bc72f5279fde9d014b47f36dc4805dd8</id>
<content type='text'>
Kalle Valo says:

====================
wireless-drivers fixes for 4.7

iwlwifi

* fix the scan timeout for long scans
* fix an RCU splat caused when updating the TKIP key
* fix a potential NULL-derefence introduced recently
* fix a IGTK key bug that has existed since the MVM driver was introduced
* fix some fw capabilities checks that got accidentally inverted

rtl8xxxu

* fix typo on variable name

ath10k

* fix deadlock when peer cannot be created
* fix crash related to printing features
* fix deadlock while processing rx_in_ord_ind

ath9k

* fix GPIO mask regression for AR9462 and AR9565
====================

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge ath-current from ath.git</title>
<updated>2016-06-16T14:55:19Z</updated>
<author>
<name>Kalle Valo</name>
<email>kvalo@codeaurora.org</email>
</author>
<published>2016-06-16T14:55:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=034fdd4a17ff089c2428ece18efa65c5396810d2'/>
<id>urn:sha1:034fdd4a17ff089c2428ece18efa65c5396810d2</id>
<content type='text'>
ath.git fixes for 4.7. Major changes:

ath9k

* fix GPIO mask regression with AR9462 and AR9565

ath10k

* fix deadlock while processing rx_in_ord_ind
* fix crash related to printing firmware features in debug mode
* fix deadlock when peer cannot be created
</content>
</entry>
<entry>
<title>rtl8xxxu: fix typo on variable name, compare against correct variable</title>
<updated>2016-06-16T14:49:18Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2016-06-09T18:38:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c70410cb91de70707a507ee7beef7021a5a89f0d'/>
<id>urn:sha1:c70410cb91de70707a507ee7beef7021a5a89f0d</id>
<content type='text'>
path_b_ok is being assigned but immediately after path_a_ok is being
compared to the value 0x03.  This appears to be a typo on the
variable name, compare path_b_ok instead.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Jes Sorensen &lt;Jes.Sorensen@redhat.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>ath9k: fix GPIO mask for AR9462 and AR9565</title>
<updated>2016-06-14T13:21:31Z</updated>
<author>
<name>Miaoqing Pan</name>
<email>miaoqing@codeaurora.org</email>
</author>
<published>2016-06-07T12:47:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e024111f6946f45cf1559a8c6fd48d2d0f696d07'/>
<id>urn:sha1:e024111f6946f45cf1559a8c6fd48d2d0f696d07</id>
<content type='text'>
The incorrect GPIO mask cause kernel warning, when AR9462 access GPIO11.
Also fix the mask for AR9565.

WARNING: CPU: 1 PID: 199 at ../drivers/net/wireless/ath/ath9k/hw.c:2778 ath9k_hw_gpio_get+0x1a9/0x1b0 [ath9k_hw]
CPU: 1 PID: 199 Comm: kworker/u16:9 Not tainted 4.7.0-rc1-next-20160530+ #5
Hardware name: Acer TravelMate P243/BA40_HC, BIOS V1.01 04/20/2012
Workqueue: events_power_efficient rfkill_poll
 0000000000000000 ffff88002cf73d28 ffffffff813b8ddc 0000000000000000
 0000000000000000 ffff88002cf73d68 ffffffff8107a331 00000ada00000086
 ffff880148d9c018 000000000000000b ffff880147e68720 0000000000000200
Call Trace:
 [&lt;ffffffff813b8ddc&gt;] dump_stack+0x63/0x87
 [&lt;ffffffff8107a331&gt;] __warn+0xd1/0xf0
 [&lt;ffffffff8107a41d&gt;] warn_slowpath_null+0x1d/0x20
 [&lt;ffffffffc0775b19&gt;] ath9k_hw_gpio_get+0x1a9/0x1b0 [ath9k_hw]
 [&lt;ffffffffc047f3e4&gt;] ath9k_rfkill_poll_state+0x34/0x60 [ath9k]
 [&lt;ffffffffc06dbb53&gt;] ieee80211_rfkill_poll+0x33/0x40 [mac80211]
 [&lt;ffffffffc03ad65a&gt;] cfg80211_rfkill_poll+0x2a/0xc0 [cfg80211]
 [&lt;ffffffff817c5514&gt;] rfkill_poll+0x24/0x50
 [&lt;ffffffff81093183&gt;] process_one_work+0x153/0x3f0
 [&lt;ffffffff8109393b&gt;] worker_thread+0x12b/0x4b0
 [&lt;ffffffff81093810&gt;] ? rescuer_thread+0x340/0x340
 [&lt;ffffffff81099129&gt;] kthread+0xc9/0xe0
 [&lt;ffffffff817d8f1f&gt;] ret_from_fork+0x1f/0x40
 [&lt;ffffffff81099060&gt;] ? kthread_park+0x60/0x60

Fixes: a01ab81b09c5 ("ath9k: define correct GPIO numbers and bits mask")
Reported-by: Sudip Mukherjee &lt;sudip.mukherjee@codethink.co.uk&gt;
Tested-by: Sudip Mukherjee &lt;sudip.mukherjee@codethink.co.uk&gt;
Signed-off-by: Miaoqing Pan &lt;miaoqing@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath10k: fix deadlock while processing rx_in_ord_ind</title>
<updated>2016-06-14T12:06:17Z</updated>
<author>
<name>Rajkumar Manoharan</name>
<email>rmanohar@qti.qualcomm.com</email>
</author>
<published>2016-06-09T06:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e50525bef593c3dd0564df676c567d77f7c20322'/>
<id>urn:sha1:e50525bef593c3dd0564df676c567d77f7c20322</id>
<content type='text'>
commit 5c86d97bcc1d ("ath10k: combine txrx and replenish task")
introduced deadlock while processing rx in order indication message
for qca6174 based devices. While merging replenish and txrx tasklets,
replenish task should be called out of htt rx ring locking since it
is also try to acquire the same lock.

Unfortunately this issue is not exposed by other solutions (qca988x,
qca99x0 &amp; qca4019), as rx_in_ord_ind message is specific to qca6174
based devices. This patch fixes

=============================================
[ INFO: possible recursive locking detected ]
4.7.0-rc2-wt-ath+ #1353 Tainted: G            E
---------------------------------------------
swapper/3/0 is trying to acquire lock:
 (&amp;(&amp;htt-&gt;rx_ring.lock)-&gt;rlock){+.-...}, at: [&lt;f8d7ef19&gt;]
ath10k_htt_rx_msdu_buff_replenish+0x29/0x90 [ath10k_core]

but task is already holding lock:
 (&amp;(&amp;htt-&gt;rx_ring.lock)-&gt;rlock){+.-...}, at: [&lt;f8d82cab&gt;]
ath10k_htt_txrx_compl_task+0x21b/0x250 [ath10k_core]

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(&amp;(&amp;htt-&gt;rx_ring.lock)-&gt;rlock);
  lock(&amp;(&amp;htt-&gt;rx_ring.lock)-&gt;rlock);

 *** DEADLOCK ***

 May be due to missing lock nesting notation

1 lock held by swapper/3/0:
 #0:  (&amp;(&amp;htt-&gt;rx_ring.lock)-&gt;rlock){+.-...}, at: [&lt;f8d82cab&gt;]
ath10k_htt_txrx_compl_task+0x21b/0x250 [ath10k_core]

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=119151
Fixes: 5c86d97bcc1d ("ath10k: combine txrx and replenish task")
Reported-by: Mike Lothian &lt;mike@fireburn.co.uk&gt;
Signed-off-by: Rajkumar Manoharan &lt;rmanohar@qti.qualcomm.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>iwlwifi: mvm: fix a few firmware capability checks</title>
<updated>2016-06-10T11:20:08Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2016-06-07T12:46:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=280a3efa82fccc9532c968a77e5162cb9f0af497'/>
<id>urn:sha1:280a3efa82fccc9532c968a77e5162cb9f0af497</id>
<content type='text'>
My cleanup in "iwlwifi: prepare for higher API/CAPA bits" accidentally
inverted a few tests - fix them.

Fixes: 859d914c8f5c ("iwlwifi: prepare for higher API/CAPA bits")
Reported-by: Sara Sharon &lt;sara.sharon@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Luca Coelho &lt;luciano.coelho@intel.com&gt;
</content>
</entry>
<entry>
<title>iwlwifi: mvm: set the encryption type of an IGTK key</title>
<updated>2016-06-10T10:48:12Z</updated>
<author>
<name>Ayala Beker</name>
<email>ayala.beker@intel.com</email>
</author>
<published>2016-05-31T21:28:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=aa950524d501afa28869b7f56e539fd9e744dd9f'/>
<id>urn:sha1:aa950524d501afa28869b7f56e539fd9e744dd9f</id>
<content type='text'>
The FW expect the driver to set the encryption algorithm type when
installing the IGTK key in the HW.
Currently when installing CMAC IGTK key we don't set the algorithm type
and as a result the FW fails to calculate the MIC of multicast management
frames.
Fix it.

Signed-off-by: Ayala Beker &lt;ayala.beker@intel.com&gt;
Signed-off-by: Luca Coelho &lt;luciano.coelho@intel.com&gt;
</content>
</entry>
<entry>
<title>iwlwifi: mvm: fix potential NULL-dereference in iwl_mvm_reorder()</title>
<updated>2016-06-10T10:34:34Z</updated>
<author>
<name>Luca Coelho</name>
<email>luciano.coelho@intel.com</email>
</author>
<published>2016-05-16T11:34:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1f9788f335d7c3145bcb59bd570c5b9ef7203ef4'/>
<id>urn:sha1:1f9788f335d7c3145bcb59bd570c5b9ef7203ef4</id>
<content type='text'>
We try to access sta before we check for IS_ERR_OR_NULL(), so we may
end up accessing a NULL pointer.  To prevent that, move the conversion
from sta to mvm_sta below the check.

Fixes: b915c10174fb ("iwlwifi: mvm: add reorder buffer per queue")
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Luca Coelho &lt;luciano.coelho@intel.com&gt;
</content>
</entry>
<entry>
<title>iwlwifi: mvm: fix RCU splat in TKIP's update_key</title>
<updated>2016-06-10T10:32:25Z</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2016-05-15T07:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7d6a1ab6a2db180122dee8db6c201f2dcf677813'/>
<id>urn:sha1:7d6a1ab6a2db180122dee8db6c201f2dcf677813</id>
<content type='text'>
The commit below mistakenly changed an rcu_dereference_check
to a rcu_dereference_protected which introduced the
following RCU warning:

[ INFO: suspicious RCU usage. ]
 4.6.0-rc7-next-20160513-dbg-00004-g8de8b92-dirty #655 Not tainted
 -------------------------------
 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:1069 suspicious rcu_dereference_protected() usage!
 Call Trace:
  [&lt;ffffffff8106b836&gt;] lockdep_rcu_suspicious+0xf7/0x100
  [&lt;ffffffffa03b2321&gt;] iwl_mvm_get_key_sta.part.0+0x5d/0x80 [iwlmvm]
  [&lt;ffffffffa03b4acb&gt;] iwl_mvm_update_tkip_key+0xd3/0x162 [iwlmvm]
  [&lt;ffffffffa03a2b60&gt;] iwl_mvm_mac_update_tkip_key+0x17/0x19 [iwlmvm]
  [&lt;ffffffffa0329646&gt;] ieee80211_tkip_decrypt_data+0x22c/0x24b [mac80211]
  [&lt;ffffffffa0318bb1&gt;] ieee80211_crypto_tkip_decrypt+0xc5/0x110 [mac80211]
  [&lt;ffffffffa033102e&gt;] ieee80211_rx_handlers+0x9bb/0x1fe1 [mac80211]

Fixes: 13303c0fb148 ("iwlwifi: mvm: use helpers to get iwl_mvm_sta")
Reported-by: Sergey Senozhatsky &lt;sergey.senozhatsky@gmail.com&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Luca Coelho &lt;luciano.coelho@intel.com&gt;
</content>
</entry>
<entry>
<title>iwlwifi: mvm: increase scan timeout to 20 seconds</title>
<updated>2016-06-10T09:50:53Z</updated>
<author>
<name>Luca Coelho</name>
<email>luciano.coelho@intel.com</email>
</author>
<published>2016-05-02T12:27:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=06a84db74c3572cde79eb1b04f301399eafb8226'/>
<id>urn:sha1:06a84db74c3572cde79eb1b04f301399eafb8226</id>
<content type='text'>
The 16 seconds timeout we were using turned out to be too short.
Recalculations by system show that the total time in both bands should
be &lt; 18.5 seconds, even in the slowest cases (e.g. DCM P2P with
DTIM=2).  Rounding it up to 20 seconds for a bit more safety.

Fixes: 728e825f81b1 ("iwlwifi: mvm: add a scan timeout for regular scans")
Signed-off-by: Luca Coelho &lt;luciano.coelho@intel.com&gt;
</content>
</entry>
</feed>
