<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/net/wireless, branch v3.15.2</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v3.15.2</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v3.15.2'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2014-05-22T17:53:27+00:00</updated>
<entry>
<title>Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes</title>
<updated>2014-05-22T17:53:27+00:00</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2014-05-22T17:53:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2c316e699fa40f2fc161ebb770b6e2845db4f3b0'/>
<id>urn:sha1:2c316e699fa40f2fc161ebb770b6e2845db4f3b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>iwlwifi: mvm: disable beacon filtering</title>
<updated>2014-05-21T09:45:34+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2014-05-18T16:05:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7bacc782270ff7db3b9f29fa5d24ad2ee1e8e81d'/>
<id>urn:sha1:7bacc782270ff7db3b9f29fa5d24ad2ee1e8e81d</id>
<content type='text'>
This feature has been causing trouble - disable it for now.

Cc: &lt;stable@vger.kernel.org&gt; [3.13+]
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
</content>
</entry>
<entry>
<title>ath9k_htc: Stop ANI before doing hw_reset</title>
<updated>2014-05-14T19:42:46+00:00</updated>
<author>
<name>Rajkumar Manoharan</name>
<email>rmanohar@qti.qualcomm.com</email>
</author>
<published>2014-05-14T09:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=faf1dc64e345ac4de5c4429df6ed492255ae2248'/>
<id>urn:sha1:faf1dc64e345ac4de5c4429df6ed492255ae2248</id>
<content type='text'>
During remain on channel request, ANI worker thread is not stopped
before doing hw reset. This is causing kernel crash in
hw_per_calibration. This change ensures that ANI is stopped before
doing chip reset and it will be rescheduled later when the chip is
configured back to home channel and having valid bss.

Reported-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Tested-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Signed-off-by: Rajkumar Manoharan &lt;rmanohar@qti.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes</title>
<updated>2014-05-13T18:52:34+00:00</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2014-05-13T18:52:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=209f6c37540a6cc1c74333a7ede0da729488a8cd'/>
<id>urn:sha1:209f6c37540a6cc1c74333a7ede0da729488a8cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>iwlwifi: mvm: prevent sched scan while not idle</title>
<updated>2014-05-13T12:05:32+00:00</updated>
<author>
<name>David Spinadel</name>
<email>david.spinadel@intel.com</email>
</author>
<published>2014-05-13T11:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b538b8ce76f69f7fa225bc0817bbb361b877ea23'/>
<id>urn:sha1:b538b8ce76f69f7fa225bc0817bbb361b877ea23</id>
<content type='text'>
Prevent sched scan while not idle (including during association or in AP
mode) instead of while associated only.

This fixes my previous commit which was incomplete:

commit bd5e4744a6ca64299b57a2682c720d00a475a734
Author: David Spinadel &lt;david.spinadel@intel.com&gt;
Date:   Thu Apr 24 13:15:29 2014 +0300

    iwlwifi: mvm: do no sched scan while associated

    Currently the FW doesn't support sched scan while associated,
    Prevent it.

Signed-off-by: David Spinadel &lt;david.spinadel@intel.com&gt;
Reviewed-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
</content>
</entry>
<entry>
<title>iwlwifi: mvm: fix off-by-one in scan channels configuration</title>
<updated>2014-05-13T11:04:55+00:00</updated>
<author>
<name>Eliad Peller</name>
<email>eliad@wizery.com</email>
</author>
<published>2014-05-11T16:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=64793110ad4d82e18d88a33307749c6562a6dd04'/>
<id>urn:sha1:64793110ad4d82e18d88a33307749c6562a6dd04</id>
<content type='text'>
tail should be equal to the last valid index, so
decrease it by one.

This error causes in "a gap" in some cases (as well as
some possible out-of-bound write), finally resulting in
ucode assertion.

Signed-off-by: Eliad Peller &lt;eliadx.peller@intel.com&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
</content>
</entry>
<entry>
<title>brcmfmac: Fix iovar 'bw_cap' set command failure</title>
<updated>2014-05-12T18:15:10+00:00</updated>
<author>
<name>Daniel Kim</name>
<email>dekim@broadcom.com</email>
</author>
<published>2014-05-09T10:37:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=03e5da151b8e390f2e28c4edf8fbbb6ca6d7a7ed'/>
<id>urn:sha1:03e5da151b8e390f2e28c4edf8fbbb6ca6d7a7ed</id>
<content type='text'>
Fix iovar 'bw_cap' set command failure introduced by

  commit ff3b0fba6f25555ef59c55d138a467d0f81d82d7
  Author: Arend van Spriel &lt;arend@broadcom.com&gt;
  Date:   Sat Mar 15 12:00:57 2014 +0100

      brcmfmac: fallback to mimo_bw_cap for older firmwares

This resulted in disabling 20MHz operation in the firmware.

Reviewed-by: Arend Van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: Daniel Kim &lt;dekim@broadcom.com&gt;
Signed-off-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>iwlwifi: mvm: fix setting channel in monitor mode</title>
<updated>2014-05-11T10:10:08+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2014-05-08T06:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1c4abec0baf25ffb92a28cc99d4231feeaa4d3f3'/>
<id>urn:sha1:1c4abec0baf25ffb92a28cc99d4231feeaa4d3f3</id>
<content type='text'>
There was a deadlock in monitor mode when we were setting the
channel if the channel was not 1.

======================================================
[ INFO: possible circular locking dependency detected ]
3.14.3 #4 Not tainted
-------------------------------------------------------
iw/3323 is trying to acquire lock:
 (&amp;local-&gt;chanctx_mtx){+.+.+.}, at: [&lt;ffffffffa062e2f2&gt;] ieee80211_vif_release_channel+0x42/0xb0 [mac80211]

but task is already holding lock:
 (&amp;local-&gt;iflist_mtx){+.+...}, at: [&lt;ffffffffa0609e0a&gt;] ieee80211_set_monitor_channel+0x5a/0x1b0 [mac80211]

which lock already depends on the new lock.

the existing dependency chain (in reverse order) is:

-&gt; #2 (&amp;local-&gt;iflist_mtx){+.+...}:
       [&lt;ffffffff810d95bb&gt;] __lock_acquire+0xb3b/0x13b0
       [&lt;ffffffff810d9ee0&gt;] lock_acquire+0xb0/0x1f0
       [&lt;ffffffff817eb9c8&gt;] mutex_lock_nested+0x78/0x4f0
       [&lt;ffffffffa06225cf&gt;] ieee80211_iterate_active_interfaces+0x2f/0x60 [mac80211]
       [&lt;ffffffffa0518189&gt;] iwl_mvm_recalc_multicast+0x49/0xa0 [iwlmvm]
       [&lt;ffffffffa051822e&gt;] iwl_mvm_configure_filter+0x4e/0x70 [iwlmvm]
       [&lt;ffffffffa05e6d43&gt;] ieee80211_configure_filter+0x153/0x5f0 [mac80211]
       [&lt;ffffffffa05e71f5&gt;] ieee80211_reconfig_filter+0x15/0x20 [mac80211]
       [snip]

-&gt; #1 (&amp;mvm-&gt;mutex){+.+.+.}:
       [&lt;ffffffff810d95bb&gt;] __lock_acquire+0xb3b/0x13b0
       [&lt;ffffffff810d9ee0&gt;] lock_acquire+0xb0/0x1f0
       [&lt;ffffffff817eb9c8&gt;] mutex_lock_nested+0x78/0x4f0
       [&lt;ffffffffa0517246&gt;] iwl_mvm_add_chanctx+0x56/0xe0 [iwlmvm]
       [&lt;ffffffffa062ca1e&gt;] ieee80211_new_chanctx+0x13e/0x410 [mac80211]
       [&lt;ffffffffa062d953&gt;] ieee80211_vif_use_channel+0x1c3/0x5a0 [mac80211]
       [&lt;ffffffffa06035ab&gt;] ieee80211_add_virtual_monitor+0x1ab/0x6b0 [mac80211]
       [&lt;ffffffffa06052ea&gt;] ieee80211_do_open+0xe6a/0x15a0 [mac80211]
       [&lt;ffffffffa0605a79&gt;] ieee80211_open+0x59/0x60 [mac80211]
       [snip]

-&gt; #0 (&amp;local-&gt;chanctx_mtx){+.+.+.}:
       [&lt;ffffffff810d6cb7&gt;] check_prevs_add+0x977/0x980
       [&lt;ffffffff810d95bb&gt;] __lock_acquire+0xb3b/0x13b0
       [&lt;ffffffff810d9ee0&gt;] lock_acquire+0xb0/0x1f0
       [&lt;ffffffff817eb9c8&gt;] mutex_lock_nested+0x78/0x4f0
       [&lt;ffffffffa062e2f2&gt;] ieee80211_vif_release_channel+0x42/0xb0 [mac80211]
       [&lt;ffffffffa0609ec3&gt;] ieee80211_set_monitor_channel+0x113/0x1b0 [mac80211]
       [&lt;ffffffffa058fb37&gt;] cfg80211_set_monitor_channel+0x77/0x2b0 [cfg80211]
       [&lt;ffffffffa056e0b2&gt;] __nl80211_set_channel+0x122/0x140 [cfg80211]
       [&lt;ffffffffa0581374&gt;] nl80211_set_wiphy+0x284/0xaf0 [cfg80211]
       [snip]

other info that might help us debug this:

Chain exists of:
  &amp;local-&gt;chanctx_mtx --&gt; &amp;mvm-&gt;mutex --&gt; &amp;local-&gt;iflist_mtx

 Possible unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(&amp;local-&gt;iflist_mtx);
                               lock(&amp;mvm-&gt;mutex);
                               lock(&amp;local-&gt;iflist_mtx);
  lock(&amp;local-&gt;chanctx_mtx);

 *** DEADLOCK ***

This deadlock actually occurs:
INFO: task iw:3323 blocked for more than 120 seconds.
      Not tainted 3.14.3 #4
"echo 0 &gt; /proc/sys/kernel/hung_task_timeout_secs" disables this message.
iw              D ffff8800c8afcd80  4192  3323   3322 0x00000000
 ffff880078fdb7e0 0000000000000046 ffff8800c8afcd80 ffff880078fdbfd8
 00000000001d5540 00000000001d5540 ffff8801141b0000 ffff8800c8afcd80
 ffff880078ff9e38 ffff880078ff9e38 ffff880078ff9e40 0000000000000246
Call Trace:
 [&lt;ffffffff817ea841&gt;] schedule_preempt_disabled+0x31/0x80
 [&lt;ffffffff817ebaed&gt;] mutex_lock_nested+0x19d/0x4f0
 [&lt;ffffffffa06225cf&gt;] ? ieee80211_iterate_active_interfaces+0x2f/0x60 [mac80211]
 [&lt;ffffffffa06225cf&gt;] ? ieee80211_iterate_active_interfaces+0x2f/0x60 [mac80211]
 [&lt;ffffffffa052a680&gt;] ? iwl_mvm_power_mac_update_mode+0xc0/0xc0 [iwlmvm]
 [&lt;ffffffffa06225cf&gt;] ieee80211_iterate_active_interfaces+0x2f/0x60 [mac80211]
 [&lt;ffffffffa0529357&gt;] _iwl_mvm_power_update_binding+0x27/0x80 [iwlmvm]
 [&lt;ffffffffa0516eb1&gt;] iwl_mvm_unassign_vif_chanctx+0x81/0xc0 [iwlmvm]
 [&lt;ffffffffa062d3ff&gt;] __ieee80211_vif_release_channel+0xdf/0x470 [mac80211]
 [&lt;ffffffffa062e2fa&gt;] ieee80211_vif_release_channel+0x4a/0xb0 [mac80211]
 [&lt;ffffffffa0609ec3&gt;] ieee80211_set_monitor_channel+0x113/0x1b0 [mac80211]
 [&lt;ffffffffa058fb37&gt;] cfg80211_set_monitor_channel+0x77/0x2b0 [cfg80211]
 [&lt;ffffffffa056e0b2&gt;] __nl80211_set_channel+0x122/0x140 [cfg80211]
 [&lt;ffffffffa0581374&gt;] nl80211_set_wiphy+0x284/0xaf0 [cfg80211]

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=75541

Cc: &lt;stable@vger.kernel.org&gt; [3.13+]
Reviewed-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes</title>
<updated>2014-05-08T15:28:35+00:00</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2014-05-08T15:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d2e5cb4e22080578f5d7e66824f85cf0e11d65e4'/>
<id>urn:sha1:d2e5cb4e22080578f5d7e66824f85cf0e11d65e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>iwlwifi: pcie: disable interrupts upon PCIe alloc</title>
<updated>2014-05-07T19:54:32+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2014-04-13T13:03:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=83f7a85f1134c6e914453f5747435415a23d516b'/>
<id>urn:sha1:83f7a85f1134c6e914453f5747435415a23d516b</id>
<content type='text'>
In case RFKILL is in KILL position, the NIC will issue an
interrupt straight away. This interrupt won't be sent
because it is masked in the hardware.
But if our interrupt service routine is called for another
reason (SHARED_IRQ), then we'll look at the interrupt cause
and service it. This can cause bad things if we are not
ready yet.
Explicitly clean the interrupt cause register to make sure
we won't service anything before we are ready to.

Cc: &lt;stable@vger.kernel.org&gt; [3.14]
Reported-and-tested-by: Alexander Monakov &lt;amonakov@gmail.com&gt;
Reviewed-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
</content>
</entry>
</feed>
