<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/net/wireless/ath, branch linux-3.9.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>ath9k_htc: Handle IDLE state transition properly</title>
<updated>2013-07-03T17:55:21+00:00</updated>
<author>
<name>Sujith Manoharan</name>
<email>c_manoha@qca.qualcomm.com</email>
</author>
<published>2013-06-20T08:27:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0ea096bc04b0b69437a03c8461d4f09ad1c2a77e'/>
<id>0ea096bc04b0b69437a03c8461d4f09ad1c2a77e</id>
<content type='text'>
commit 075163bbb0f51174359947e1bce84f5edb23f21e upstream.

Make sure that a chip reset is done when IDLE is turned
off - this fixes authentication timeouts.

Reported-by: Ignacy Gawedzki &lt;i@lri.fr&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 075163bbb0f51174359947e1bce84f5edb23f21e upstream.

Make sure that a chip reset is done when IDLE is turned
off - this fixes authentication timeouts.

Reported-by: Ignacy Gawedzki &lt;i@lri.fr&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>carl9170: fix frame drop and WARN due to minstrel_ht change</title>
<updated>2013-06-27T17:38:44+00:00</updated>
<author>
<name>Christian Lamparter</name>
<email>chunkeey@googlemail.com</email>
</author>
<published>2013-02-22T00:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=04778bad36603c0ced7f1540671de81e9b41ef0c'/>
<id>04778bad36603c0ced7f1540671de81e9b41ef0c</id>
<content type='text'>
commit 5f34608fa2acbfef5a06d0072a978c9943c28a2d upstream.

With "mac80211/minstrel_ht: add support for using CCK rates"
minstrel_ht selects legacy CCK rates as viable rates for
outgoing frames which might be sent as part of an A-MPDU
[IEEE80211_TX_CTL_AMPDU is set].

This behavior triggered the following WARN_ON in the driver:
&gt; WARNING: at carl9170/tx.c:995 carl9170_op_tx+0x1dd/0x6fd
The driver assumed that the rate control algorithm made a
mistake and dropped the frame.

This patch removes the noisy warning altogether and allows
said A-MPDU frames with CCK sample and/or fallback rates to
be transmitted seamlessly.

Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Cc: Stanislaw Gruszka &lt;sgruszka@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 5f34608fa2acbfef5a06d0072a978c9943c28a2d upstream.

With "mac80211/minstrel_ht: add support for using CCK rates"
minstrel_ht selects legacy CCK rates as viable rates for
outgoing frames which might be sent as part of an A-MPDU
[IEEE80211_TX_CTL_AMPDU is set].

This behavior triggered the following WARN_ON in the driver:
&gt; WARNING: at carl9170/tx.c:995 carl9170_op_tx+0x1dd/0x6fd
The driver assumed that the rate control algorithm made a
mistake and dropped the frame.

This patch removes the noisy warning altogether and allows
said A-MPDU frames with CCK sample and/or fallback rates to
be transmitted seamlessly.

Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Cc: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: Use minstrel rate control by default</title>
<updated>2013-06-20T19:01:29+00:00</updated>
<author>
<name>Sujith Manoharan</name>
<email>c_manoha@qca.qualcomm.com</email>
</author>
<published>2013-06-06T04:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e5ccf170714c26fbc135a8926d576d31595bb1f6'/>
<id>e5ccf170714c26fbc135a8926d576d31595bb1f6</id>
<content type='text'>
commit 5efac94999ff218e0101f67a059e44abb4b0b523 upstream.

The ath9k rate control algorithm has various architectural
issues that make it a poor fit in scenarios like congested
environments etc.

An example: https://bugzilla.redhat.com/show_bug.cgi?id=927191

Change the default to minstrel which is more robust in such cases.
The ath9k RC code is left in the driver for now, maybe it can
be removed altogether later on.

Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Cc: Jouni Malinen &lt;jouni@qca.qualcomm.com&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.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 5efac94999ff218e0101f67a059e44abb4b0b523 upstream.

The ath9k rate control algorithm has various architectural
issues that make it a poor fit in scenarios like congested
environments etc.

An example: https://bugzilla.redhat.com/show_bug.cgi?id=927191

Change the default to minstrel which is more robust in such cases.
The ath9k RC code is left in the driver for now, maybe it can
be removed altogether later on.

Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Cc: Jouni Malinen &lt;jouni@qca.qualcomm.com&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.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>Revert "ath9k_hw: Update rx gain initval to improve rx sensitivity"</title>
<updated>2013-06-20T19:01:29+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2013-06-03T09:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=6aebd1e4af6dea065fb735201f0ab29c1103276c'/>
<id>6aebd1e4af6dea065fb735201f0ab29c1103276c</id>
<content type='text'>
commit 96005931785238e1a24febf65ffb5016273e8225 upstream.

This reverts commit 68d9e1fa24d9c7c2e527f49df8d18fb8cf0ec943

This change reduces rx sensitivity with no apparent extra benefit.
It looks like it was meant for testing in a specific scenario,
but it was never properly validated.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: rmanohar@qca.qualcomm.com
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 96005931785238e1a24febf65ffb5016273e8225 upstream.

This reverts commit 68d9e1fa24d9c7c2e527f49df8d18fb8cf0ec943

This change reduces rx sensitivity with no apparent extra benefit.
It looks like it was meant for testing in a specific scenario,
but it was never properly validated.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: rmanohar@qca.qualcomm.com
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: Disable PowerSave by default</title>
<updated>2013-06-20T19:01:28+00:00</updated>
<author>
<name>Sujith Manoharan</name>
<email>c_manoha@qca.qualcomm.com</email>
</author>
<published>2013-06-01T01:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=7777c471687ebcc7f2ffef072fd31291247ea2fc'/>
<id>7777c471687ebcc7f2ffef072fd31291247ea2fc</id>
<content type='text'>
commit 531671cb17af07281e6f28c1425f754346e65c41 upstream.

Almost all the DMA issues which have plagued ath9k (in station mode)
for years are related to PS. Disabling PS usually "fixes" the user's
connection stablility. Reports of DMA problems are still trickling in
and are sitting in the kernel bugzilla. Until the PS code in ath9k is
given a thorough review, disbale it by default. The slight increase
in chip power consumption is a small price to pay for improved link
stability.

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 531671cb17af07281e6f28c1425f754346e65c41 upstream.

Almost all the DMA issues which have plagued ath9k (in station mode)
for years are related to PS. Disabling PS usually "fixes" the user's
connection stablility. Reports of DMA problems are still trickling in
and are sitting in the kernel bugzilla. Until the PS code in ath9k is
given a thorough review, disbale it by default. The slight increase
in chip power consumption is a small price to pay for improved link
stability.

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: 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>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>ath9k: fix key allocation error handling for powersave keys</title>
<updated>2013-05-19T18:38:27+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2013-04-27T09:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=003e033dbc793c5c292f36e3256749ef8c9a1d42'/>
<id>003e033dbc793c5c292f36e3256749ef8c9a1d42</id>
<content type='text'>
commit 4ef69d0394cba8caa9f75d3f2e53429bfb8b3045 upstream.

If no keycache slots are available, ath_key_config can return -ENOSPC.
If the key index is not checked for errors, it can lead to logspam that
looks like this: "ath: wiphy0: keyreset: keycache entry 228 out of range"
This can cause follow-up errors if the invalid keycache index gets
used for tx.

Signed-off-by: Felix Fietkau &lt;nbd@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 4ef69d0394cba8caa9f75d3f2e53429bfb8b3045 upstream.

If no keycache slots are available, ath_key_config can return -ENOSPC.
If the key index is not checked for errors, it can lead to logspam that
looks like this: "ath: wiphy0: keyreset: keycache entry 228 out of range"
This can cause follow-up errors if the invalid keycache index gets
used for tx.

Signed-off-by: Felix Fietkau &lt;nbd@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>ath9k_hw: change AR9580 initvals to fix a stability issue</title>
<updated>2013-04-12T17:22:09+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2013-04-10T13:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f09a878511997c25a76bf111a32f6b8345a701a5'/>
<id>f09a878511997c25a76bf111a32f6b8345a701a5</id>
<content type='text'>
The hardware parsing of Control Wrapper Frames needs to be disabled, as
it has been causing spurious decryption error reports. The initvals for
other chips have been updated to disable it, but AR9580 was left out for
some reason.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The hardware parsing of Control Wrapper Frames needs to be disabled, as
it has been causing spurious decryption error reports. The initvals for
other chips have been updated to disable it, but AR9580 was left out for
some reason.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
