<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/net/wireless/ath, branch v4.8</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>ath9k: bring back direction setting in ath9k_{start_stop}</title>
<updated>2016-09-07T13:21:04+00:00</updated>
<author>
<name>Giedrius Statkevičius</name>
<email>giedrius.statkevicius@gmail.com</email>
</author>
<published>2016-09-01T17:47:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e34f2ff40e0339f6a379e1ecf49e8f2759056453'/>
<id>e34f2ff40e0339f6a379e1ecf49e8f2759056453</id>
<content type='text'>
A regression was introduced in commit id 79d4db1214a ("ath9k: cleanup
led_pin initial") that broken the WLAN status led on my laptop with
AR9287 after suspending and resuming.

Steps to reproduce:
* Suspend (laptop)
* Resume (laptop)
* Observe that the WLAN led no longer turns ON/OFF depending on the
  status and is always red

Even though for my case it only needs to be set to OUT in ath9k_start
but for consistency bring back the IN direction setting as well.

Fixes: 79d4db1214a0 ("ath9k: cleanup led_pin initial")
Cc: Miaoqing Pan &lt;miaoqing@codeaurora.org&gt;
Cc: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
Cc: &lt;stable@vger.kernel.org&gt; # 4.7+
Link: https://bugzilla.kernel.org/show_bug.cgi?id=151711
Signed-off-by: Giedrius Statkevičius &lt;giedrius.statkevicius@gmail.com&gt;
[kvalo@qca.qualcomm.com: improve commit log]
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A regression was introduced in commit id 79d4db1214a ("ath9k: cleanup
led_pin initial") that broken the WLAN status led on my laptop with
AR9287 after suspending and resuming.

Steps to reproduce:
* Suspend (laptop)
* Resume (laptop)
* Observe that the WLAN led no longer turns ON/OFF depending on the
  status and is always red

Even though for my case it only needs to be set to OUT in ath9k_start
but for consistency bring back the IN direction setting as well.

Fixes: 79d4db1214a0 ("ath9k: cleanup led_pin initial")
Cc: Miaoqing Pan &lt;miaoqing@codeaurora.org&gt;
Cc: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
Cc: &lt;stable@vger.kernel.org&gt; # 4.7+
Link: https://bugzilla.kernel.org/show_bug.cgi?id=151711
Signed-off-by: Giedrius Statkevičius &lt;giedrius.statkevicius@gmail.com&gt;
[kvalo@qca.qualcomm.com: improve commit log]
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: fix AR5416 access GPIO warning</title>
<updated>2016-09-02T16:32:04+00:00</updated>
<author>
<name>Miaoqing Pan</name>
<email>miaoqing@codeaurora.org</email>
</author>
<published>2016-08-04T07:48:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=db7b542e4a789156a4fb61278f2074795fe2eb9c'/>
<id>db7b542e4a789156a4fb61278f2074795fe2eb9c</id>
<content type='text'>
The warning was seen on AR5416 chip, which invoke ath9k_hw_gio_get()
before the GPIO initialized correctly.

    WARNING: CPU: 1 PID: 1159 at ~/drivers/net/wireless/ath/ath9k/hw.c:2776 ath9k_hw_gpio_get+0x148/0x1a0 [ath9k_hw]
    ...
    CPU: 1 PID: 1159 Comm: systemd-udevd Not tainted 4.7.0-rc7-aptosid-amd64 #1 aptosid 4.7~rc7-1~git92.slh.3
    Hardware name:                  /DH67CL, BIOS BLH6710H.86A.0160.2012.1204.1156 12/04/2012
      0000000000000286 00000000f912d633 ffffffff81290fd3 0000000000000000
      0000000000000000 ffffffff81063fd4 ffff88040c6dc018 0000000000000000
      0000000000000002 0000000000000000 0000000000000100 ffff88040c6dc018
    Call Trace:
      [&lt;ffffffff81290fd3&gt;] ? dump_stack+0x5c/0x79
      [&lt;ffffffff81063fd4&gt;] ? __warn+0xb4/0xd0
      [&lt;ffffffffa0668fb8&gt;] ? ath9k_hw_gpio_get+0x148/0x1a0 [ath9k_hw]

Signed-off-by: Miaoqing Pan &lt;miaoqing@codeaurora.org&gt;
Reported-by: Stefan Lippers-Hollmann &lt;s.l-h@gmx.de&gt;
Tested-by: Stefan Lippers-Hollmann &lt;s.l-h@gmx.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The warning was seen on AR5416 chip, which invoke ath9k_hw_gio_get()
before the GPIO initialized correctly.

    WARNING: CPU: 1 PID: 1159 at ~/drivers/net/wireless/ath/ath9k/hw.c:2776 ath9k_hw_gpio_get+0x148/0x1a0 [ath9k_hw]
    ...
    CPU: 1 PID: 1159 Comm: systemd-udevd Not tainted 4.7.0-rc7-aptosid-amd64 #1 aptosid 4.7~rc7-1~git92.slh.3
    Hardware name:                  /DH67CL, BIOS BLH6710H.86A.0160.2012.1204.1156 12/04/2012
      0000000000000286 00000000f912d633 ffffffff81290fd3 0000000000000000
      0000000000000000 ffffffff81063fd4 ffff88040c6dc018 0000000000000000
      0000000000000002 0000000000000000 0000000000000100 ffff88040c6dc018
    Call Trace:
      [&lt;ffffffff81290fd3&gt;] ? dump_stack+0x5c/0x79
      [&lt;ffffffff81063fd4&gt;] ? __warn+0xb4/0xd0
      [&lt;ffffffffa0668fb8&gt;] ? ath9k_hw_gpio_get+0x148/0x1a0 [ath9k_hw]

Signed-off-by: Miaoqing Pan &lt;miaoqing@codeaurora.org&gt;
Reported-by: Stefan Lippers-Hollmann &lt;s.l-h@gmx.de&gt;
Tested-by: Stefan Lippers-Hollmann &lt;s.l-h@gmx.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath10k: Remove driver log suggesting QCA9887 support is experimental</title>
<updated>2016-08-31T07:14:20+00:00</updated>
<author>
<name>Mohammed Shafi Shajakhan</name>
<email>mohammed@qti.qualcomm.com</email>
</author>
<published>2016-08-19T10:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4e80ffab0e722911842b59299dbf8033709673e5'/>
<id>4e80ffab0e722911842b59299dbf8033709673e5</id>
<content type='text'>
Support for QCA9887 is no longer experimental and if there are any issues
we need to address them

Signed-off-by: Mohammed Shafi Shajakhan &lt;mohammed@qti.qualcomm.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support for QCA9887 is no longer experimental and if there are any issues
we need to address them

Signed-off-by: Mohammed Shafi Shajakhan &lt;mohammed@qti.qualcomm.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath10k: fix get rx_status from htt context</title>
<updated>2016-08-31T07:09:17+00:00</updated>
<author>
<name>Ashok Raj Nagarajan</name>
<email>arnagara@qti.qualcomm.com</email>
</author>
<published>2016-08-19T10:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=237e15dfd5d651868726111c3a9d828bec700490'/>
<id>237e15dfd5d651868726111c3a9d828bec700490</id>
<content type='text'>
On handling amsdu on rx path, get the rx_status from htt context. Without this
fix, we are seeing warnings when running DBDC traffic like this.

WARNING: CPU: 0 PID: 0 at net/mac80211/rx.c:4105 ieee80211_rx_napi+0x88/0x7d8 [mac80211]()

[ 1715.878248] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 3.18.21 #1
[ 1715.878273] [&lt;c001d3f4&gt;] (unwind_backtrace) from [&lt;c001a4b0&gt;] (show_stack+0x10/0x14)
[ 1715.878293] [&lt;c001a4b0&gt;] (show_stack) from [&lt;c01bee64&gt;] (dump_stack+0x70/0xbc)
[ 1715.878315] [&lt;c01bee64&gt;] (dump_stack) from [&lt;c002a61c&gt;] (warn_slowpath_common+0x64/0x88)
[ 1715.878339] [&lt;c002a61c&gt;] (warn_slowpath_common) from [&lt;c002a6d0&gt;] (warn_slowpath_null+0x18/0x20)
[ 1715.878395] [&lt;c002a6d0&gt;] (warn_slowpath_null) from [&lt;bf4caa98&gt;] (ieee80211_rx_napi+0x88/0x7d8 [mac80211])
[ 1715.878474] [&lt;bf4caa98&gt;] (ieee80211_rx_napi [mac80211]) from [&lt;bf568658&gt;] (ath10k_htt_t2h_msg_handler+0xb48/0xbfc [ath10k_core])
[ 1715.878535] [&lt;bf568658&gt;] (ath10k_htt_t2h_msg_handler [ath10k_core]) from [&lt;bf568708&gt;] (ath10k_htt_t2h_msg_handler+0xbf8/0xbfc [ath10k_core])
[ 1715.878597] [&lt;bf568708&gt;] (ath10k_htt_t2h_msg_handler [ath10k_core]) from [&lt;bf569160&gt;] (ath10k_htt_txrx_compl_task+0xa54/0x1170 [ath10k_core])
[ 1715.878639] [&lt;bf569160&gt;] (ath10k_htt_txrx_compl_task [ath10k_core]) from [&lt;c002db14&gt;] (tasklet_action+0xb4/0x130)
[ 1715.878659] [&lt;c002db14&gt;] (tasklet_action) from [&lt;c002d110&gt;] (__do_softirq+0xe0/0x210)
[ 1715.878678] [&lt;c002d110&gt;] (__do_softirq) from [&lt;c002d4b4&gt;] (irq_exit+0x84/0xe0)
[ 1715.878700] [&lt;c002d4b4&gt;] (irq_exit) from [&lt;c005a544&gt;] (__handle_domain_irq+0x98/0xd0)
[ 1715.878722] [&lt;c005a544&gt;] (__handle_domain_irq) from [&lt;c00085f4&gt;] (gic_handle_irq+0x38/0x5c)
[ 1715.878741] [&lt;c00085f4&gt;] (gic_handle_irq) from [&lt;c0009680&gt;] (__irq_svc+0x40/0x74)
[ 1715.878753] Exception stack(0xc05f9f50 to 0xc05f9f98)
[ 1715.878767] 9f40: ffffffed 00000000 00399e1e c000a220
[ 1715.878786] 9f60: 00000000 c05f6780 c05f8000 00000000 c05f5db8 ffffffed c05f8000 c04d1980
[ 1715.878802] 9f80: 00000000 c05f9f98 c0018110 c0018114 60000013 ffffffff
[ 1715.878822] [&lt;c0009680&gt;] (__irq_svc) from [&lt;c0018114&gt;] (arch_cpu_idle+0x2c/0x50)
[ 1715.878844] [&lt;c0018114&gt;] (arch_cpu_idle) from [&lt;c00530d4&gt;] (cpu_startup_entry+0x108/0x234)
[ 1715.878866] [&lt;c00530d4&gt;] (cpu_startup_entry) from [&lt;c05c7be0&gt;] (start_kernel+0x33c/0x3b8)
[ 1715.878879] ---[ end trace 6d5e1cc0fef8ed6a ]---
[ 1715.878899] ------------[ cut here ]------------

Fixes: 18235664e7f9 ("ath10k: cleanup amsdu processing for rx indication")
Signed-off-by: Ashok Raj Nagarajan &lt;arnagara@qti.qualcomm.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On handling amsdu on rx path, get the rx_status from htt context. Without this
fix, we are seeing warnings when running DBDC traffic like this.

WARNING: CPU: 0 PID: 0 at net/mac80211/rx.c:4105 ieee80211_rx_napi+0x88/0x7d8 [mac80211]()

[ 1715.878248] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 3.18.21 #1
[ 1715.878273] [&lt;c001d3f4&gt;] (unwind_backtrace) from [&lt;c001a4b0&gt;] (show_stack+0x10/0x14)
[ 1715.878293] [&lt;c001a4b0&gt;] (show_stack) from [&lt;c01bee64&gt;] (dump_stack+0x70/0xbc)
[ 1715.878315] [&lt;c01bee64&gt;] (dump_stack) from [&lt;c002a61c&gt;] (warn_slowpath_common+0x64/0x88)
[ 1715.878339] [&lt;c002a61c&gt;] (warn_slowpath_common) from [&lt;c002a6d0&gt;] (warn_slowpath_null+0x18/0x20)
[ 1715.878395] [&lt;c002a6d0&gt;] (warn_slowpath_null) from [&lt;bf4caa98&gt;] (ieee80211_rx_napi+0x88/0x7d8 [mac80211])
[ 1715.878474] [&lt;bf4caa98&gt;] (ieee80211_rx_napi [mac80211]) from [&lt;bf568658&gt;] (ath10k_htt_t2h_msg_handler+0xb48/0xbfc [ath10k_core])
[ 1715.878535] [&lt;bf568658&gt;] (ath10k_htt_t2h_msg_handler [ath10k_core]) from [&lt;bf568708&gt;] (ath10k_htt_t2h_msg_handler+0xbf8/0xbfc [ath10k_core])
[ 1715.878597] [&lt;bf568708&gt;] (ath10k_htt_t2h_msg_handler [ath10k_core]) from [&lt;bf569160&gt;] (ath10k_htt_txrx_compl_task+0xa54/0x1170 [ath10k_core])
[ 1715.878639] [&lt;bf569160&gt;] (ath10k_htt_txrx_compl_task [ath10k_core]) from [&lt;c002db14&gt;] (tasklet_action+0xb4/0x130)
[ 1715.878659] [&lt;c002db14&gt;] (tasklet_action) from [&lt;c002d110&gt;] (__do_softirq+0xe0/0x210)
[ 1715.878678] [&lt;c002d110&gt;] (__do_softirq) from [&lt;c002d4b4&gt;] (irq_exit+0x84/0xe0)
[ 1715.878700] [&lt;c002d4b4&gt;] (irq_exit) from [&lt;c005a544&gt;] (__handle_domain_irq+0x98/0xd0)
[ 1715.878722] [&lt;c005a544&gt;] (__handle_domain_irq) from [&lt;c00085f4&gt;] (gic_handle_irq+0x38/0x5c)
[ 1715.878741] [&lt;c00085f4&gt;] (gic_handle_irq) from [&lt;c0009680&gt;] (__irq_svc+0x40/0x74)
[ 1715.878753] Exception stack(0xc05f9f50 to 0xc05f9f98)
[ 1715.878767] 9f40: ffffffed 00000000 00399e1e c000a220
[ 1715.878786] 9f60: 00000000 c05f6780 c05f8000 00000000 c05f5db8 ffffffed c05f8000 c04d1980
[ 1715.878802] 9f80: 00000000 c05f9f98 c0018110 c0018114 60000013 ffffffff
[ 1715.878822] [&lt;c0009680&gt;] (__irq_svc) from [&lt;c0018114&gt;] (arch_cpu_idle+0x2c/0x50)
[ 1715.878844] [&lt;c0018114&gt;] (arch_cpu_idle) from [&lt;c00530d4&gt;] (cpu_startup_entry+0x108/0x234)
[ 1715.878866] [&lt;c00530d4&gt;] (cpu_startup_entry) from [&lt;c05c7be0&gt;] (start_kernel+0x33c/0x3b8)
[ 1715.878879] ---[ end trace 6d5e1cc0fef8ed6a ]---
[ 1715.878899] ------------[ cut here ]------------

Fixes: 18235664e7f9 ("ath10k: cleanup amsdu processing for rx indication")
Signed-off-by: Ashok Raj Nagarajan &lt;arnagara@qti.qualcomm.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: fix using sta-&gt;drv_priv before initializing it</title>
<updated>2016-08-22T16:07:56+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-08-19T10:37:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=7711aaf08ad3fc4d0e937eec1de0a63620444ce7'/>
<id>7711aaf08ad3fc4d0e937eec1de0a63620444ce7</id>
<content type='text'>
A station pointer can be passed to the driver on tx, before it has been
marked as associated. Since ath9k_sta_state was initializing the entry
too late, it resulted in some spurious crashes.

Fixes: df3c6eb34da5 ("ath9k: Use sta_state() callback")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A station pointer can be passed to the driver on tx, before it has been
marked as associated. Since ath9k_sta_state was initializing the entry
too late, it resulted in some spurious crashes.

Fixes: df3c6eb34da5 ("ath9k: Use sta_state() callback")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: fix client mode beacon configuration</title>
<updated>2016-08-22T16:05:01+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-08-19T10:37:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=05860bed491b114a9f2d7a4f6e09fb02c0b69056'/>
<id>05860bed491b114a9f2d7a4f6e09fb02c0b69056</id>
<content type='text'>
For pure station mode, iter_data.primary_beacon_vif was used and passed
to ath_beacon_config, but not set to the station vif.
This was causing the following warning:

[  100.310919] ------------[ cut here ]------------
[  100.315683] WARNING: CPU: 0 PID: 7 at compat-wireless-2016-06-20/drivers/net/wireless/ath/ath9k/beacon.c:642 ath9k_calculate_summary_state+0x250/0x60c [ath9k]()
[  100.402028] CPU: 0 PID: 7 Comm: kworker/u2:1 Tainted: G        W       4.4.15 #5
[  100.409676] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[  100.415351] Stack : 8736e98c 870b4b20 87a25b54 800a6800 8782a080 80400d63 8039b96c 00000007
[  100.415351]    803c5edc 87875914 80400000 800a47cc 87a25b54 800a6800 803a0fd8 80400000
[  100.415351]    00000003 87875914 80400000 80094ae0 87a25b54 8787594c 00000000 801ef308
[  100.415351]    803ffe70 801ef300 87193d58 87b3a400 87b3ad00 70687930 00000000 00000000
[  100.415351]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  100.415351]    ...
[  100.451703] Call Trace:
[  100.454235] [&lt;800a6800&gt;] vprintk_default+0x24/0x30
[  100.459110] [&lt;800a47cc&gt;] printk+0x2c/0x38
[  100.463190] [&lt;800a6800&gt;] vprintk_default+0x24/0x30
[  100.468072] [&lt;80094ae0&gt;] print_worker_info+0x148/0x174
[  100.473378] [&lt;801ef308&gt;] serial8250_console_putchar+0x0/0x44
[  100.479122] [&lt;801ef300&gt;] wait_for_xmitr+0xc4/0xcc
[  100.484014] [&lt;87193d58&gt;] ieee80211_ibss_leave+0xb90/0x1900 [mac80211]
[  100.490590] [&lt;80081604&gt;] warn_slowpath_common+0xa0/0xd0
[  100.495922] [&lt;801a359c&gt;] dump_stack+0x14/0x28
[  100.500350] [&lt;80071a00&gt;] show_stack+0x50/0x84
[  100.504784] [&lt;80081604&gt;] warn_slowpath_common+0xa0/0xd0
[  100.510106] [&lt;87024c60&gt;] ath9k_calculate_summary_state+0x250/0x60c [ath9k]
[  100.517105] [&lt;800816b8&gt;] warn_slowpath_null+0x18/0x24
[  100.522256] [&lt;87024c60&gt;] ath9k_calculate_summary_state+0x250/0x60c [ath9k]
[  100.529273] [&lt;87025418&gt;] ath9k_set_txpower+0x148/0x498 [ath9k]
[  100.535302] [&lt;871d2c64&gt;] cleanup_module+0xa74/0xd4c [mac80211]
[  100.541237] [&lt;801ef308&gt;] serial8250_console_putchar+0x0/0x44
[  100.547042] [&lt;800a5d18&gt;] wake_up_klogd+0x54/0x68
[  100.551730] [&lt;800a6650&gt;] vprintk_emit+0x404/0x43c
[  100.556623] [&lt;871b9db8&gt;] ieee80211_sta_rx_notify+0x258/0x32c [mac80211]
[  100.563475] [&lt;871ba6a4&gt;] ieee80211_sta_rx_queued_mgmt+0x63c/0x734 [mac80211]
[  100.570693] [&lt;871aa49c&gt;] ieee80211_tx_prepare_skb+0x210/0x230 [mac80211]
[  100.577609] [&lt;800af5d4&gt;] mod_timer+0x15c/0x190
[  100.582220] [&lt;871ba8b8&gt;] ieee80211_sta_work+0xfc/0xe1c [mac80211]
[  100.588539] [&lt;871940b4&gt;] ieee80211_ibss_leave+0xeec/0x1900 [mac80211]
[  100.595122] [&lt;8009ec84&gt;] dequeue_task_fair+0x44/0x130
[  100.600281] [&lt;80092a34&gt;] process_one_work+0x1f8/0x334
[  100.605454] [&lt;80093830&gt;] worker_thread+0x2b4/0x408
[  100.610317] [&lt;8009357c&gt;] worker_thread+0x0/0x408
[  100.615019] [&lt;8009357c&gt;] worker_thread+0x0/0x408
[  100.619705] [&lt;80097b68&gt;] kthread+0xdc/0xe8
[  100.623886] [&lt;80097a8c&gt;] kthread+0x0/0xe8
[  100.627961] [&lt;80060878&gt;] ret_from_kernel_thread+0x14/0x1c
[  100.633448]
[  100.634956] ---[ end trace aafbe57e9ae6862f ]---

Fixes: cfda2d8e2314 ("ath9k: Fix beacon configuration for addition/removal of interfaces")
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For pure station mode, iter_data.primary_beacon_vif was used and passed
to ath_beacon_config, but not set to the station vif.
This was causing the following warning:

[  100.310919] ------------[ cut here ]------------
[  100.315683] WARNING: CPU: 0 PID: 7 at compat-wireless-2016-06-20/drivers/net/wireless/ath/ath9k/beacon.c:642 ath9k_calculate_summary_state+0x250/0x60c [ath9k]()
[  100.402028] CPU: 0 PID: 7 Comm: kworker/u2:1 Tainted: G        W       4.4.15 #5
[  100.409676] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[  100.415351] Stack : 8736e98c 870b4b20 87a25b54 800a6800 8782a080 80400d63 8039b96c 00000007
[  100.415351]    803c5edc 87875914 80400000 800a47cc 87a25b54 800a6800 803a0fd8 80400000
[  100.415351]    00000003 87875914 80400000 80094ae0 87a25b54 8787594c 00000000 801ef308
[  100.415351]    803ffe70 801ef300 87193d58 87b3a400 87b3ad00 70687930 00000000 00000000
[  100.415351]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  100.415351]    ...
[  100.451703] Call Trace:
[  100.454235] [&lt;800a6800&gt;] vprintk_default+0x24/0x30
[  100.459110] [&lt;800a47cc&gt;] printk+0x2c/0x38
[  100.463190] [&lt;800a6800&gt;] vprintk_default+0x24/0x30
[  100.468072] [&lt;80094ae0&gt;] print_worker_info+0x148/0x174
[  100.473378] [&lt;801ef308&gt;] serial8250_console_putchar+0x0/0x44
[  100.479122] [&lt;801ef300&gt;] wait_for_xmitr+0xc4/0xcc
[  100.484014] [&lt;87193d58&gt;] ieee80211_ibss_leave+0xb90/0x1900 [mac80211]
[  100.490590] [&lt;80081604&gt;] warn_slowpath_common+0xa0/0xd0
[  100.495922] [&lt;801a359c&gt;] dump_stack+0x14/0x28
[  100.500350] [&lt;80071a00&gt;] show_stack+0x50/0x84
[  100.504784] [&lt;80081604&gt;] warn_slowpath_common+0xa0/0xd0
[  100.510106] [&lt;87024c60&gt;] ath9k_calculate_summary_state+0x250/0x60c [ath9k]
[  100.517105] [&lt;800816b8&gt;] warn_slowpath_null+0x18/0x24
[  100.522256] [&lt;87024c60&gt;] ath9k_calculate_summary_state+0x250/0x60c [ath9k]
[  100.529273] [&lt;87025418&gt;] ath9k_set_txpower+0x148/0x498 [ath9k]
[  100.535302] [&lt;871d2c64&gt;] cleanup_module+0xa74/0xd4c [mac80211]
[  100.541237] [&lt;801ef308&gt;] serial8250_console_putchar+0x0/0x44
[  100.547042] [&lt;800a5d18&gt;] wake_up_klogd+0x54/0x68
[  100.551730] [&lt;800a6650&gt;] vprintk_emit+0x404/0x43c
[  100.556623] [&lt;871b9db8&gt;] ieee80211_sta_rx_notify+0x258/0x32c [mac80211]
[  100.563475] [&lt;871ba6a4&gt;] ieee80211_sta_rx_queued_mgmt+0x63c/0x734 [mac80211]
[  100.570693] [&lt;871aa49c&gt;] ieee80211_tx_prepare_skb+0x210/0x230 [mac80211]
[  100.577609] [&lt;800af5d4&gt;] mod_timer+0x15c/0x190
[  100.582220] [&lt;871ba8b8&gt;] ieee80211_sta_work+0xfc/0xe1c [mac80211]
[  100.588539] [&lt;871940b4&gt;] ieee80211_ibss_leave+0xeec/0x1900 [mac80211]
[  100.595122] [&lt;8009ec84&gt;] dequeue_task_fair+0x44/0x130
[  100.600281] [&lt;80092a34&gt;] process_one_work+0x1f8/0x334
[  100.605454] [&lt;80093830&gt;] worker_thread+0x2b4/0x408
[  100.610317] [&lt;8009357c&gt;] worker_thread+0x0/0x408
[  100.615019] [&lt;8009357c&gt;] worker_thread+0x0/0x408
[  100.619705] [&lt;80097b68&gt;] kthread+0xdc/0xe8
[  100.623886] [&lt;80097a8c&gt;] kthread+0x0/0xe8
[  100.627961] [&lt;80060878&gt;] ret_from_kernel_thread+0x14/0x1c
[  100.633448]
[  100.634956] ---[ end trace aafbe57e9ae6862f ]---

Fixes: cfda2d8e2314 ("ath9k: Fix beacon configuration for addition/removal of interfaces")
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tree-wide: replace config_enabled() with IS_ENABLED()</title>
<updated>2016-08-04T12:50:07+00:00</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-08-03T20:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=97f2645f358b411ba2afb22e5966753f0ad92916'/>
<id>97f2645f358b411ba2afb22e5966753f0ad92916</id>
<content type='text'>
The use of config_enabled() against config options is ambiguous.  In
practical terms, config_enabled() is equivalent to IS_BUILTIN(), but the
author might have used it for the meaning of IS_ENABLED().  Using
IS_ENABLED(), IS_BUILTIN(), IS_MODULE() etc.  makes the intention
clearer.

This commit replaces config_enabled() with IS_ENABLED() where possible.
This commit is only touching bool config options.

I noticed two cases where config_enabled() is used against a tristate
option:

 - config_enabled(CONFIG_HWMON)
  [ drivers/net/wireless/ath/ath10k/thermal.c ]

 - config_enabled(CONFIG_BACKLIGHT_CLASS_DEVICE)
  [ drivers/gpu/drm/gma500/opregion.c ]

I did not touch them because they should be converted to IS_BUILTIN()
in order to keep the logic, but I was not sure it was the authors'
intention.

Link: http://lkml.kernel.org/r/1465215656-20569-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Acked-by: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Stas Sergeev &lt;stsp@list.ru&gt;
Cc: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;
Cc: Joshua Kinard &lt;kumba@gentoo.org&gt;
Cc: Jiri Slaby &lt;jslaby@suse.com&gt;
Cc: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Cc: Borislav Petkov &lt;bp@suse.de&gt;
Cc: Markos Chandras &lt;markos.chandras@imgtec.com&gt;
Cc: "Dmitry V. Levin" &lt;ldv@altlinux.org&gt;
Cc: yu-cheng yu &lt;yu-cheng.yu@intel.com&gt;
Cc: James Hogan &lt;james.hogan@imgtec.com&gt;
Cc: Brian Gerst &lt;brgerst@gmail.com&gt;
Cc: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Will Drewry &lt;wad@chromium.org&gt;
Cc: Nikolay Martynov &lt;mar.kolya@gmail.com&gt;
Cc: Huacai Chen &lt;chenhc@lemote.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Cc: Leonid Yegoshin &lt;Leonid.Yegoshin@imgtec.com&gt;
Cc: Rafal Milecki &lt;zajec5@gmail.com&gt;
Cc: James Cowgill &lt;James.Cowgill@imgtec.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Alex Smith &lt;alex.smith@imgtec.com&gt;
Cc: Adam Buchbinder &lt;adam.buchbinder@gmail.com&gt;
Cc: Qais Yousef &lt;qais.yousef@imgtec.com&gt;
Cc: Jiang Liu &lt;jiang.liu@linux.intel.com&gt;
Cc: Mikko Rapeli &lt;mikko.rapeli@iki.fi&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Denys Vlasenko &lt;dvlasenk@redhat.com&gt;
Cc: Brian Norris &lt;computersforpeace@gmail.com&gt;
Cc: Hidehiro Kawai &lt;hidehiro.kawai.ez@hitachi.com&gt;
Cc: "Luis R. Rodriguez" &lt;mcgrof@do-not-panic.com&gt;
Cc: Andy Lutomirski &lt;luto@amacapital.net&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;
Cc: "Kirill A. Shutemov" &lt;kirill.shutemov@linux.intel.com&gt;
Cc: Roland McGrath &lt;roland@hack.frob.com&gt;
Cc: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
Cc: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Cc: Tony Wu &lt;tung7970@gmail.com&gt;
Cc: Huaitong Han &lt;huaitong.han@intel.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;
Cc: Juergen Gross &lt;jgross@suse.com&gt;
Cc: Jason Cooper &lt;jason@lakedaemon.net&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: Andrea Gelmini &lt;andrea.gelmini@gelma.net&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Cc: Rabin Vincent &lt;rabin@rab.in&gt;
Cc: "Maciej W. Rozycki" &lt;macro@imgtec.com&gt;
Cc: David Daney &lt;david.daney@cavium.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The use of config_enabled() against config options is ambiguous.  In
practical terms, config_enabled() is equivalent to IS_BUILTIN(), but the
author might have used it for the meaning of IS_ENABLED().  Using
IS_ENABLED(), IS_BUILTIN(), IS_MODULE() etc.  makes the intention
clearer.

This commit replaces config_enabled() with IS_ENABLED() where possible.
This commit is only touching bool config options.

I noticed two cases where config_enabled() is used against a tristate
option:

 - config_enabled(CONFIG_HWMON)
  [ drivers/net/wireless/ath/ath10k/thermal.c ]

 - config_enabled(CONFIG_BACKLIGHT_CLASS_DEVICE)
  [ drivers/gpu/drm/gma500/opregion.c ]

I did not touch them because they should be converted to IS_BUILTIN()
in order to keep the logic, but I was not sure it was the authors'
intention.

Link: http://lkml.kernel.org/r/1465215656-20569-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Acked-by: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Stas Sergeev &lt;stsp@list.ru&gt;
Cc: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;
Cc: Joshua Kinard &lt;kumba@gentoo.org&gt;
Cc: Jiri Slaby &lt;jslaby@suse.com&gt;
Cc: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Cc: Borislav Petkov &lt;bp@suse.de&gt;
Cc: Markos Chandras &lt;markos.chandras@imgtec.com&gt;
Cc: "Dmitry V. Levin" &lt;ldv@altlinux.org&gt;
Cc: yu-cheng yu &lt;yu-cheng.yu@intel.com&gt;
Cc: James Hogan &lt;james.hogan@imgtec.com&gt;
Cc: Brian Gerst &lt;brgerst@gmail.com&gt;
Cc: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Will Drewry &lt;wad@chromium.org&gt;
Cc: Nikolay Martynov &lt;mar.kolya@gmail.com&gt;
Cc: Huacai Chen &lt;chenhc@lemote.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Cc: Leonid Yegoshin &lt;Leonid.Yegoshin@imgtec.com&gt;
Cc: Rafal Milecki &lt;zajec5@gmail.com&gt;
Cc: James Cowgill &lt;James.Cowgill@imgtec.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Alex Smith &lt;alex.smith@imgtec.com&gt;
Cc: Adam Buchbinder &lt;adam.buchbinder@gmail.com&gt;
Cc: Qais Yousef &lt;qais.yousef@imgtec.com&gt;
Cc: Jiang Liu &lt;jiang.liu@linux.intel.com&gt;
Cc: Mikko Rapeli &lt;mikko.rapeli@iki.fi&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Denys Vlasenko &lt;dvlasenk@redhat.com&gt;
Cc: Brian Norris &lt;computersforpeace@gmail.com&gt;
Cc: Hidehiro Kawai &lt;hidehiro.kawai.ez@hitachi.com&gt;
Cc: "Luis R. Rodriguez" &lt;mcgrof@do-not-panic.com&gt;
Cc: Andy Lutomirski &lt;luto@amacapital.net&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;
Cc: "Kirill A. Shutemov" &lt;kirill.shutemov@linux.intel.com&gt;
Cc: Roland McGrath &lt;roland@hack.frob.com&gt;
Cc: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
Cc: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Cc: Tony Wu &lt;tung7970@gmail.com&gt;
Cc: Huaitong Han &lt;huaitong.han@intel.com&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;
Cc: Juergen Gross &lt;jgross@suse.com&gt;
Cc: Jason Cooper &lt;jason@lakedaemon.net&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: Andrea Gelmini &lt;andrea.gelmini@gelma.net&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Cc: Rabin Vincent &lt;rabin@rab.in&gt;
Cc: "Maciej W. Rozycki" &lt;macro@imgtec.com&gt;
Cc: David Daney &lt;david.daney@cavium.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k_hw: implement temperature compensation support for AR9003+</title>
<updated>2016-07-19T17:59:17+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-07-11T10:02:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=171f6402e4aa5cd3b8407f82501f7ea21fa54ccc'/>
<id>171f6402e4aa5cd3b8407f82501f7ea21fa54ccc</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k_hw: get rid of some duplicate code in calibration init</title>
<updated>2016-07-19T17:59:13+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-07-11T10:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=feaacb1748927c831773a159feb9e5edc1002cb4'/>
<id>feaacb1748927c831773a159feb9e5edc1002cb4</id>
<content type='text'>
Remove a misleading debug message as well

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove a misleading debug message as well

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k_hw: simplify ar9003_hw_per_calibration</title>
<updated>2016-07-19T17:59:08+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-07-11T10:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8f778c72ac8f2664c065623fde0d01cbcf99205c'/>
<id>8f778c72ac8f2664c065623fde0d01cbcf99205c</id>
<content type='text'>
Reduce indentation, use a variable to save a few pointer dereferences

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce indentation, use a variable to save a few pointer dereferences

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
