<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/net/wireless, branch v3.9.5</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>mac80211_hwsim: remove P2P_DEVICE support</title>
<updated>2013-06-07T19:53:37+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2013-05-23T20:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b113898f2cfe280aaf3fc0743eb798778dedaee0'/>
<id>b113898f2cfe280aaf3fc0743eb798778dedaee0</id>
<content type='text'>
Unfortunately, advertising P2P_DEVICE support was a little
premature, a number of issues came up in testing and have
been fixed for 3.10. Rather than try to backport all the
different fixes, disable P2P_DEVICE support in the drivers
using it.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately, advertising P2P_DEVICE support was a little
premature, a number of issues came up in testing and have
been fixed for 3.10. Rather than try to backport all the
different fixes, disable P2P_DEVICE support in the drivers
using it.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: mvm: remove P2P_DEVICE support</title>
<updated>2013-06-07T19:53:36+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2013-05-23T20:24:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2e8a935b639356f8397d39b118ac914d99b55871'/>
<id>2e8a935b639356f8397d39b118ac914d99b55871</id>
<content type='text'>
Unfortunately, advertising P2P_DEVICE support was a little
premature, a number of issues came up in testing and have
been fixed for 3.10. Rather than try to backport all the
different fixes, disable P2P_DEVICE support in the drivers
using it. For iwlmvm that implies disabling P2P completely
as it can't support P2P operation w/o P2P Device.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately, advertising P2P_DEVICE support was a little
premature, a number of issues came up in testing and have
been fixed for 3.10. Rather than try to backport all the
different fixes, disable P2P_DEVICE support in the drivers
using it. For iwlmvm that implies disabling P2P completely
as it can't support P2P operation w/o P2P Device.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: use correct OTP register offsets for AR9550</title>
<updated>2013-06-07T19:53:35+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2013-05-28T12:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=536b876c8e905a4ba08a6680eb358e2535d3c44c'/>
<id>536b876c8e905a4ba08a6680eb358e2535d3c44c</id>
<content type='text'>
commit add295a4afbdf5852d004c754c552d692b0fcac8 upstream.

Accessing the OTP memory on AR9950 causes a data bus
like this:

  Data bus error, epc == 801f7774, ra == 801f7774
  Oops[#1]:
  CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.0-rc3 #592
  task: 87c28000 ti: 87c22000 task.ti: 87c22000
  $ 0   : 00000000 00000061 deadc0de 00000000
  $ 4   : b8115f18 00015f18 00000007 00000004
  $ 8   : 00000001 7c7c3c7c 7c7c7c7c 7c7c7c7c
  $12   : 7c7c3c7c 80320a68 00000000 7c7c7c3c
  $16   : 87cd8010 00015f18 00000007 00000000
  $20   : 00000064 00000004 87c23c7c 8035210c
  $24   : 00000000 801f3674
  $28   : 87c22000 87c23b48 00000001 801f7774
  Hi    : 00000000
  Lo    : 00000064
  epc   : 801f7774 ath9k_hw_wait+0x58/0xb0
      Not tainted
  ra    : 801f7774 ath9k_hw_wait+0x58/0xb0
  Status: 1000cc03 KERNEL EXL IE
  Cause : 4080801c
  PrId  : 00019750 (MIPS 74Kc)
  Modules linked in:
  Process swapper (pid: 1, threadinfo=87c22000, task=87c28000, ts=00000000)
  Stack : 0000000f 00000061 00002710 8006240c 00000001 87cd8010 87c23bb0 87cd8010
          00000000 00000004 00000003 80210c7c 000000b3 67fa8000 0000032a 000006fe
          000003e8 00000002 00000028 87c23bf0 000003ff 80210d24 803e5630 80210e28
          00000000 00000007 87cd8010 00007044 00000004 00000061 000003ff 000001ff
          87c26000 87cd8010 00000220 87cd8bb8 80210000 8020fcf4 87c22000 87c23c08
          ...
  Call Trace:
  [&lt;801f7774&gt;] ath9k_hw_wait+0x58/0xb0
  [&lt;80210c7c&gt;] ar9300_otp_read_word+0x80/0xd4
  [&lt;80210d24&gt;] ar9300_read_otp+0x54/0xb0
  [&lt;8020fcf4&gt;] ar9300_check_eeprom_header+0x1c/0x40
  [&lt;80210fe4&gt;] ath9k_hw_ar9300_fill_eeprom+0x118/0x39c
  [&lt;80206650&gt;] ath9k_hw_eeprom_init+0x74/0xb4
  [&lt;801f96d0&gt;] ath9k_hw_init+0x7ec/0x96c
  [&lt;801e65ec&gt;] ath9k_init_device+0x340/0x758
  [&lt;801f35d0&gt;] ath_ahb_probe+0x21c/0x2c0
  [&lt;801c041c&gt;] driver_probe_device+0xc0/0x1e4
  [&lt;801c05ac&gt;] __driver_attach+0x6c/0xa4
  [&lt;801bea08&gt;] bus_for_each_dev+0x64/0xa8
  [&lt;801bfa40&gt;] bus_add_driver+0xcc/0x24c
  [&lt;801c0954&gt;] driver_register+0xbc/0x17c
  [&lt;803f8fc0&gt;] ath9k_init+0x5c/0x88
  [&lt;800608fc&gt;] do_one_initcall+0xec/0x1a0
  [&lt;803e6a68&gt;] kernel_init_freeable+0x13c/0x200
  [&lt;80309cdc&gt;] kernel_init+0x1c/0xe4
  [&lt;80062450&gt;] ret_from_kernel_thread+0x10/0x18

On the AR9550, the OTP registers are located at
the same address as on the AR9340. Use the correct
values to avoid the error.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit add295a4afbdf5852d004c754c552d692b0fcac8 upstream.

Accessing the OTP memory on AR9950 causes a data bus
like this:

  Data bus error, epc == 801f7774, ra == 801f7774
  Oops[#1]:
  CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.0-rc3 #592
  task: 87c28000 ti: 87c22000 task.ti: 87c22000
  $ 0   : 00000000 00000061 deadc0de 00000000
  $ 4   : b8115f18 00015f18 00000007 00000004
  $ 8   : 00000001 7c7c3c7c 7c7c7c7c 7c7c7c7c
  $12   : 7c7c3c7c 80320a68 00000000 7c7c7c3c
  $16   : 87cd8010 00015f18 00000007 00000000
  $20   : 00000064 00000004 87c23c7c 8035210c
  $24   : 00000000 801f3674
  $28   : 87c22000 87c23b48 00000001 801f7774
  Hi    : 00000000
  Lo    : 00000064
  epc   : 801f7774 ath9k_hw_wait+0x58/0xb0
      Not tainted
  ra    : 801f7774 ath9k_hw_wait+0x58/0xb0
  Status: 1000cc03 KERNEL EXL IE
  Cause : 4080801c
  PrId  : 00019750 (MIPS 74Kc)
  Modules linked in:
  Process swapper (pid: 1, threadinfo=87c22000, task=87c28000, ts=00000000)
  Stack : 0000000f 00000061 00002710 8006240c 00000001 87cd8010 87c23bb0 87cd8010
          00000000 00000004 00000003 80210c7c 000000b3 67fa8000 0000032a 000006fe
          000003e8 00000002 00000028 87c23bf0 000003ff 80210d24 803e5630 80210e28
          00000000 00000007 87cd8010 00007044 00000004 00000061 000003ff 000001ff
          87c26000 87cd8010 00000220 87cd8bb8 80210000 8020fcf4 87c22000 87c23c08
          ...
  Call Trace:
  [&lt;801f7774&gt;] ath9k_hw_wait+0x58/0xb0
  [&lt;80210c7c&gt;] ar9300_otp_read_word+0x80/0xd4
  [&lt;80210d24&gt;] ar9300_read_otp+0x54/0xb0
  [&lt;8020fcf4&gt;] ar9300_check_eeprom_header+0x1c/0x40
  [&lt;80210fe4&gt;] ath9k_hw_ar9300_fill_eeprom+0x118/0x39c
  [&lt;80206650&gt;] ath9k_hw_eeprom_init+0x74/0xb4
  [&lt;801f96d0&gt;] ath9k_hw_init+0x7ec/0x96c
  [&lt;801e65ec&gt;] ath9k_init_device+0x340/0x758
  [&lt;801f35d0&gt;] ath_ahb_probe+0x21c/0x2c0
  [&lt;801c041c&gt;] driver_probe_device+0xc0/0x1e4
  [&lt;801c05ac&gt;] __driver_attach+0x6c/0xa4
  [&lt;801bea08&gt;] bus_for_each_dev+0x64/0xa8
  [&lt;801bfa40&gt;] bus_add_driver+0xcc/0x24c
  [&lt;801c0954&gt;] driver_register+0xbc/0x17c
  [&lt;803f8fc0&gt;] ath9k_init+0x5c/0x88
  [&lt;800608fc&gt;] do_one_initcall+0xec/0x1a0
  [&lt;803e6a68&gt;] kernel_init_freeable+0x13c/0x200
  [&lt;80309cdc&gt;] kernel_init+0x1c/0xe4
  [&lt;80062450&gt;] ret_from_kernel_thread+0x10/0x18

On the AR9550, the OTP registers are located at
the same address as on the AR9340. Use the correct
values to avoid the error.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: mvm: tell firmware to let multicast frames in</title>
<updated>2013-06-07T19:53:34+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2013-05-02T12:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b2ba5adbf6766a8b49425763ec0c2c182a088f92'/>
<id>b2ba5adbf6766a8b49425763ec0c2c182a088f92</id>
<content type='text'>
commit 51b6b9e029e81c857f9d8d17060f499cd25febdb upstream.

Without this command, the firmware will filter out all the
multicast frames. Let them all in as for now. Later we will
want to optimize this to save power.

Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Lingzhu Xiang &lt;lxiang@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 51b6b9e029e81c857f9d8d17060f499cd25febdb upstream.

Without this command, the firmware will filter out all the
multicast frames. Let them all in as for now. Later we will
want to optimize this to save power.

Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Lingzhu Xiang &lt;lxiang@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: dvm: fix zero LQ CMD sending avoidance</title>
<updated>2013-06-07T19:53:34+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2013-05-22T07:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=ea5a1a47a540f7a6b97d7bd2619371968566acf0'/>
<id>ea5a1a47a540f7a6b97d7bd2619371968566acf0</id>
<content type='text'>
commit a87783699b23395c46bbeeb5d28f6db24897bf26 upstream.

In 63b77bf489881747c5118476918cc8c29378ee63

	iwlwifi: dvm: don't send zeroed LQ cmd

I tried to avoid to send zeroed LQ cmd, but I made a (very)
stupid mistake in the memcmp.
Since this patch has been ported to stable, the fix should
go to stable too.

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

Reported-by: Hinnerk van Bruinehsen &lt;h.v.bruinehsen@fu-berlin.de&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit a87783699b23395c46bbeeb5d28f6db24897bf26 upstream.

In 63b77bf489881747c5118476918cc8c29378ee63

	iwlwifi: dvm: don't send zeroed LQ cmd

I tried to avoid to send zeroed LQ cmd, but I made a (very)
stupid mistake in the memcmp.
Since this patch has been ported to stable, the fix should
go to stable too.

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

Reported-by: Hinnerk van Bruinehsen &lt;h.v.bruinehsen@fu-berlin.de&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: mvm: fix aggregation drain flow</title>
<updated>2013-06-07T19:53:23+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2013-05-07T11:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=aba0642011e925937785d36abc83288dbf891f44'/>
<id>aba0642011e925937785d36abc83288dbf891f44</id>
<content type='text'>
commit e3d4bc8cc0230e8dc8033484666f03f87392a8c4 upstream.

Move the counter for non-AMPDU frames to mvm. It is needed
for the drain flow which happens once the ieee80211_sta has
been freed, so keeping it in iwl_mvm_sta which is embed into
ieee80211_sta is not a good idea.

Also, since its purpose it to remove the STA in the fw only
after all the frames for this station have exited the shared
Tx queues, we need to decrement it in the reclaim flow. This
flow can happen after ieee80211_sta has been removed, which
means that we have no iwl_mvm_sta there. So we can't know
what is the vif type. Hence, we know audit these frames for
all the vif types.
In order to avoid spawning sta_drained_wk all the time, we
now check that we are in a flow in which draining might
happen - only when mvmsta is NULL. This is better than
previous code that would spawn sta_drained_wk all the time
in AP mode.

Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Reviewed-by: Ilan Peer &lt;ilan.peer@intel.com&gt;
Reviewed-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Lingzhu Xiang &lt;lxiang@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit e3d4bc8cc0230e8dc8033484666f03f87392a8c4 upstream.

Move the counter for non-AMPDU frames to mvm. It is needed
for the drain flow which happens once the ieee80211_sta has
been freed, so keeping it in iwl_mvm_sta which is embed into
ieee80211_sta is not a good idea.

Also, since its purpose it to remove the STA in the fw only
after all the frames for this station have exited the shared
Tx queues, we need to decrement it in the reclaim flow. This
flow can happen after ieee80211_sta has been removed, which
means that we have no iwl_mvm_sta there. So we can't know
what is the vif type. Hence, we know audit these frames for
all the vif types.
In order to avoid spawning sta_drained_wk all the time, we
now check that we are in a flow in which draining might
happen - only when mvmsta is NULL. This is better than
previous code that would spawn sta_drained_wk all the time
in AP mode.

Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Reviewed-by: Ilan Peer &lt;ilan.peer@intel.com&gt;
Reviewed-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Lingzhu Xiang &lt;lxiang@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k_hw: Enable manual peak calibration for AR9485</title>
<updated>2013-06-07T19:52:39+00:00</updated>
<author>
<name>Sujith Manoharan</name>
<email>c_manoha@qca.qualcomm.com</email>
</author>
<published>2013-05-16T17:17:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e8b4bb434f1aa66c0ecdc5776782577573ec9edd'/>
<id>e8b4bb434f1aa66c0ecdc5776782577573ec9edd</id>
<content type='text'>
commit e99c60b58b595eaa1c279922ae29d5397c787294 upstream.

Manual peak calibration is currently enabled only for
AR9462 and AR9565. This is also required for AR9485.
The initvals are also modified to disable HW peak calibration.

Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit e99c60b58b595eaa1c279922ae29d5397c787294 upstream.

Manual peak calibration is currently enabled only for
AR9462 and AR9565. This is also required for AR9485.
The initvals are also modified to disable HW peak calibration.

Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: Fix crash on module unload</title>
<updated>2013-06-07T19:52:39+00:00</updated>
<author>
<name>Sujith Manoharan</name>
<email>c_manoha@qca.qualcomm.com</email>
</author>
<published>2013-05-10T13:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d39b7e1de3176d5ab3898a335023c3f9e7c516eb'/>
<id>d39b7e1de3176d5ab3898a335023c3f9e7c516eb</id>
<content type='text'>
commit af690092ce91a2a6d807cdfcc0b0b9b71ae54d3e upstream.

Make sure that any open relayfs files are closed before
unregistering with mac80211, otherwise this crash is seen:

[ 1331.097846] BUG: unable to handle kernel paging request at 6b6b6b8b
[ 1331.098170] IP: [&lt;c063d0d6&gt;] debugfs_remove+0x26/0x80
[ 1331.098170] *pdpt = 000000002f9aa001 *pde = 0000000000000000
[ 1331.098170] Oops: 0000 [#1] PREEMPT SMP
[ 1331.098170] Modules linked in: iptable_raw xt_CT nf_conntrack_ipv4 nf_defrag]
[ 1331.098170] Pid: 4794, comm: rmmod Tainted: G        WC   3.9.1+ #5 To Be Fi.
[ 1331.098170] EIP: 0060:[&lt;c063d0d6&gt;] EFLAGS: 00010202 CPU: 0
[ 1331.098170] EIP is at debugfs_remove+0x26/0x80
[ 1331.098170] EAX: f2f3acd0 EBX: f2f3acd0 ECX: 00000006 EDX: f8622348
[ 1331.098170] ESI: 6b6b6b6b EDI: 00000001 EBP: ee251e14 ESP: ee251e0c
[ 1331.098170]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 1331.098170] CR0: 8005003b CR2: 6b6b6b8b CR3: 2e7b7000 CR4: 000007e0
[ 1331.098170] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 1331.098170] DR6: ffff0ff0 DR7: 00000400
[ 1331.098170] Process rmmod (pid: 4794, ti=ee250000 task=efaa2560 task.ti=ee25)
[ 1331.098170] Stack:
[ 1331.098170]  f241e170 0000000a ee251e1c f861394d ee251e28 c04e3088 f241e170 4
[ 1331.098170]  c04e30fe f45482b0 ee251e54 c04e3187 f25e86b0 ee251e54 f8618748 0
[ 1331.098170]  0000000a 00000001 ee251e68 f860065b f2509e20 f25085a0 f5b6e8a4 8
[ 1331.098170] Call Trace:
[ 1331.098170]  [&lt;f861394d&gt;] remove_buf_file_handler+0xd/0x20 [ath9k]
[ 1331.098170]  [&lt;c04e3088&gt;] relay_remove_buf+0x18/0x30
[ 1331.098170]  [&lt;c04e30fe&gt;] relay_close_buf+0x2e/0x40
[ 1331.098170]  [&lt;c04e3187&gt;] relay_close+0x77/0xf0
[ 1331.098170]  [&lt;f8618748&gt;] ? dpd_exit+0x38/0x40 [ath9k]
[ 1331.098170]  [&lt;f860065b&gt;] ath9k_deinit_softc+0x8b/0xa0 [ath9k]
[ 1331.098170]  [&lt;f86006b8&gt;] ath9k_deinit_device+0x48/0x60 [ath9k]
[ 1331.098170]  [&lt;f86107f1&gt;] ath_pci_remove+0x31/0x50 [ath9k]
[ 1331.098170]  [&lt;c06dbff8&gt;] pci_device_remove+0x38/0xc0
[ 1331.098170]  [&lt;c079daa4&gt;] __device_release_driver+0x64/0xc0
[ 1331.098170]  [&lt;c079db97&gt;] driver_detach+0x97/0xa0
[ 1331.098170]  [&lt;c079cacc&gt;] bus_remove_driver+0x6c/0xe0
[ 1331.098170]  [&lt;c079c197&gt;] ? bus_put+0x17/0x20
[ 1331.098170]  [&lt;c079cae3&gt;] ? bus_remove_driver+0x83/0xe0
[ 1331.098170]  [&lt;c079e709&gt;] driver_unregister+0x49/0x80
[ 1331.098170]  [&lt;c06dc138&gt;] pci_unregister_driver+0x18/0x80
[ 1331.098170]  [&lt;f8610602&gt;] ath_pci_exit+0x12/0x20 [ath9k]
[ 1331.098170]  [&lt;f8619ce0&gt;] ath9k_exit+0x17/0x337 [ath9k]
[ 1331.098170]  [&lt;c09e537d&gt;] ? mutex_unlock+0xd/0x10
[ 1331.098170]  [&lt;c04bd36c&gt;] sys_delete_module+0x17c/0x250
[ 1331.098170]  [&lt;c0540dc4&gt;] ? do_munmap+0x244/0x2d0
[ 1331.098170]  [&lt;c0540e96&gt;] ? vm_munmap+0x46/0x60
[ 1331.098170]  [&lt;c09e8dc4&gt;] ? restore_all+0xf/0xf
[ 1331.098170]  [&lt;c09ebf50&gt;] ? __do_page_fault+0x4c0/0x4c0
[ 1331.098170]  [&lt;c04b18e4&gt;] ? trace_hardirqs_on_caller+0xf4/0x180
[ 1331.098170]  [&lt;c09ef28d&gt;] sysenter_do_call+0x12/0x38
[ 1331.098170] Code: 90 8d 74 26 00 55 89 e5 83 ec 08 89 1c 24 89 74 24 04 3e 82
[ 1331.098170] EIP: [&lt;c063d0d6&gt;] debugfs_remove+0x26/0x80 SS:ESP 0068:ee251e0c
[ 1331.098170] CR2: 000000006b6b6b8b
[ 1331.727971] ---[ end trace b5bb9f2066cef7f9 ]---

Acked-by: Simon Wunderlich &lt;siwu@hrz.tu-chemnitz.de&gt;
Tested-by: Ben Greear &lt;greearb@candelatech.com&gt;
Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit af690092ce91a2a6d807cdfcc0b0b9b71ae54d3e upstream.

Make sure that any open relayfs files are closed before
unregistering with mac80211, otherwise this crash is seen:

[ 1331.097846] BUG: unable to handle kernel paging request at 6b6b6b8b
[ 1331.098170] IP: [&lt;c063d0d6&gt;] debugfs_remove+0x26/0x80
[ 1331.098170] *pdpt = 000000002f9aa001 *pde = 0000000000000000
[ 1331.098170] Oops: 0000 [#1] PREEMPT SMP
[ 1331.098170] Modules linked in: iptable_raw xt_CT nf_conntrack_ipv4 nf_defrag]
[ 1331.098170] Pid: 4794, comm: rmmod Tainted: G        WC   3.9.1+ #5 To Be Fi.
[ 1331.098170] EIP: 0060:[&lt;c063d0d6&gt;] EFLAGS: 00010202 CPU: 0
[ 1331.098170] EIP is at debugfs_remove+0x26/0x80
[ 1331.098170] EAX: f2f3acd0 EBX: f2f3acd0 ECX: 00000006 EDX: f8622348
[ 1331.098170] ESI: 6b6b6b6b EDI: 00000001 EBP: ee251e14 ESP: ee251e0c
[ 1331.098170]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 1331.098170] CR0: 8005003b CR2: 6b6b6b8b CR3: 2e7b7000 CR4: 000007e0
[ 1331.098170] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 1331.098170] DR6: ffff0ff0 DR7: 00000400
[ 1331.098170] Process rmmod (pid: 4794, ti=ee250000 task=efaa2560 task.ti=ee25)
[ 1331.098170] Stack:
[ 1331.098170]  f241e170 0000000a ee251e1c f861394d ee251e28 c04e3088 f241e170 4
[ 1331.098170]  c04e30fe f45482b0 ee251e54 c04e3187 f25e86b0 ee251e54 f8618748 0
[ 1331.098170]  0000000a 00000001 ee251e68 f860065b f2509e20 f25085a0 f5b6e8a4 8
[ 1331.098170] Call Trace:
[ 1331.098170]  [&lt;f861394d&gt;] remove_buf_file_handler+0xd/0x20 [ath9k]
[ 1331.098170]  [&lt;c04e3088&gt;] relay_remove_buf+0x18/0x30
[ 1331.098170]  [&lt;c04e30fe&gt;] relay_close_buf+0x2e/0x40
[ 1331.098170]  [&lt;c04e3187&gt;] relay_close+0x77/0xf0
[ 1331.098170]  [&lt;f8618748&gt;] ? dpd_exit+0x38/0x40 [ath9k]
[ 1331.098170]  [&lt;f860065b&gt;] ath9k_deinit_softc+0x8b/0xa0 [ath9k]
[ 1331.098170]  [&lt;f86006b8&gt;] ath9k_deinit_device+0x48/0x60 [ath9k]
[ 1331.098170]  [&lt;f86107f1&gt;] ath_pci_remove+0x31/0x50 [ath9k]
[ 1331.098170]  [&lt;c06dbff8&gt;] pci_device_remove+0x38/0xc0
[ 1331.098170]  [&lt;c079daa4&gt;] __device_release_driver+0x64/0xc0
[ 1331.098170]  [&lt;c079db97&gt;] driver_detach+0x97/0xa0
[ 1331.098170]  [&lt;c079cacc&gt;] bus_remove_driver+0x6c/0xe0
[ 1331.098170]  [&lt;c079c197&gt;] ? bus_put+0x17/0x20
[ 1331.098170]  [&lt;c079cae3&gt;] ? bus_remove_driver+0x83/0xe0
[ 1331.098170]  [&lt;c079e709&gt;] driver_unregister+0x49/0x80
[ 1331.098170]  [&lt;c06dc138&gt;] pci_unregister_driver+0x18/0x80
[ 1331.098170]  [&lt;f8610602&gt;] ath_pci_exit+0x12/0x20 [ath9k]
[ 1331.098170]  [&lt;f8619ce0&gt;] ath9k_exit+0x17/0x337 [ath9k]
[ 1331.098170]  [&lt;c09e537d&gt;] ? mutex_unlock+0xd/0x10
[ 1331.098170]  [&lt;c04bd36c&gt;] sys_delete_module+0x17c/0x250
[ 1331.098170]  [&lt;c0540dc4&gt;] ? do_munmap+0x244/0x2d0
[ 1331.098170]  [&lt;c0540e96&gt;] ? vm_munmap+0x46/0x60
[ 1331.098170]  [&lt;c09e8dc4&gt;] ? restore_all+0xf/0xf
[ 1331.098170]  [&lt;c09ebf50&gt;] ? __do_page_fault+0x4c0/0x4c0
[ 1331.098170]  [&lt;c04b18e4&gt;] ? trace_hardirqs_on_caller+0xf4/0x180
[ 1331.098170]  [&lt;c09ef28d&gt;] sysenter_do_call+0x12/0x38
[ 1331.098170] Code: 90 8d 74 26 00 55 89 e5 83 ec 08 89 1c 24 89 74 24 04 3e 82
[ 1331.098170] EIP: [&lt;c063d0d6&gt;] debugfs_remove+0x26/0x80 SS:ESP 0068:ee251e0c
[ 1331.098170] CR2: 000000006b6b6b8b
[ 1331.727971] ---[ end trace b5bb9f2066cef7f9 ]---

Acked-by: Simon Wunderlich &lt;siwu@hrz.tu-chemnitz.de&gt;
Tested-by: Ben Greear &lt;greearb@candelatech.com&gt;
Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: mvm: Prevent setting assoc flag in MAC_CONTEXT_CMD</title>
<updated>2013-06-07T19:52:24+00:00</updated>
<author>
<name>Alexander Bondar</name>
<email>alexander.bondar@intel.com</email>
</author>
<published>2013-05-02T13:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4b85315758a57b005008484f0eb72d3b092315b4'/>
<id>4b85315758a57b005008484f0eb72d3b092315b4</id>
<content type='text'>
commit ba283927268d45184c17c37ff78d427e59026229 upstream.

In the normal flow first MAC_CONTEXT_CMD for particular interface is
never sent while associated. The exception is fw restart flow when
resuming from suspend when WoWLAN is enabled. In this case successive
"add" and "modify" MAC_CONTEXT_CMD commands may be sent with assoc flag
set what cause FW mal functioning. To prevent this never set assoc flag
in MAC_CONTEXT_CMD with action "add".

Signed-off-by: Alexander Bondar &lt;alexander.bondar@intel.com&gt;
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit ba283927268d45184c17c37ff78d427e59026229 upstream.

In the normal flow first MAC_CONTEXT_CMD for particular interface is
never sent while associated. The exception is fw restart flow when
resuming from suspend when WoWLAN is enabled. In this case successive
"add" and "modify" MAC_CONTEXT_CMD commands may be sent with assoc flag
set what cause FW mal functioning. To prevent this never set assoc flag
in MAC_CONTEXT_CMD with action "add".

Signed-off-by: Alexander Bondar &lt;alexander.bondar@intel.com&gt;
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: mvm: Always use SCAN_TYPE_FORCED</title>
<updated>2013-06-07T19:52:24+00:00</updated>
<author>
<name>Ilan Peer</name>
<email>ilan.peer@intel.com</email>
</author>
<published>2013-04-28T05:18:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=321964d0b629c6c7ed43bb4eee990bab1561d9b7'/>
<id>321964d0b629c6c7ed43bb4eee990bab1561d9b7</id>
<content type='text'>
commit f70ed7b330ce769828d402f920fb13da6c13ea63 upstream.

The FW AUX framework does not handle well cases where time events
fail to be scheduled (and as a result issues assert 0x3330). Until
a proper fix is in place, WA this by always setting the scan type to
SCAN_TYPE_FORCED.

Signed-off-by: Ilan Peer &lt;ilan.peer@intel.com&gt;
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit f70ed7b330ce769828d402f920fb13da6c13ea63 upstream.

The FW AUX framework does not handle well cases where time events
fail to be scheduled (and as a result issues assert 0x3330). Until
a proper fix is in place, WA this by always setting the scan type to
SCAN_TYPE_FORCED.

Signed-off-by: Ilan Peer &lt;ilan.peer@intel.com&gt;
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
</feed>
