<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/wireless/ath, branch v2.6.39</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6</title>
<updated>2011-05-11T23:13:08+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-05-11T23:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=78d41b35a9570b7a9a45686789df5dfaeb2b7f4c'/>
<id>78d41b35a9570b7a9a45686789df5dfaeb2b7f4c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: Fix a warning due to a queued work during S3 state</title>
<updated>2011-05-10T19:46:58+00:00</updated>
<author>
<name>Mohammed Shafi Shajakhan</name>
<email>mshajakhan@atheros.com</email>
</author>
<published>2011-05-06T15:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=99aa55b66e3553e6f7212ec1104e0fac06cc558e'/>
<id>99aa55b66e3553e6f7212ec1104e0fac06cc558e</id>
<content type='text'>
during suspend/S3 state drv_flush is called from mac80211 irrespective of
interface count. In ath9k we queue a work in ath9k_flush which we expect
to be cancelled in the drv_stop call back. during suspend process mac80211
calls drv_stop only when the interface count(local-&gt;count) is non-zero.
unfortunately when the network manager is enabled, drv_flush is called
while drv_stop is not called as local-&gt;count reaches '0'.
	So fix this by simply checking for the device presence in the
drv_flush call back in the driver before queueing work or anything else.
this patch fixes the following WARNING

	Call Trace:
	[&lt;c014c6e2&gt;] warn_slowpath_common+0x72/0xa0
	[&lt;fc133f99&gt;] ? ieee80211_can_queue_work+0x39/0x50 [mac80211]
	[&lt;fc133f99&gt;] ? ieee80211_can_queue_work+0x39/0x50 [mac80211]
	[&lt;c014c75b&gt;] warn_slowpath_fmt+0x2b/0x30
	[&lt;fc133f99&gt;] ieee80211_can_queue_work+0x39/0x50 [mac80211]
	[&lt;fc134ed1&gt;] ieee80211_queue_delayed_work+0x21/0x50 [mac80211]
	[&lt;fc1e5b22&gt;] ath_tx_complete_poll_work+0xb2/0x100 [ath9k]
	[&lt;c016399e&gt;] run_workqueue+0x8e/0x150
	[&lt;fc1e5a70&gt;] ? ath_tx_complete_poll_work+0x0/0x100 [ath9k]
	[&lt;c0163ae4&gt;] worker_thread+0x84/0xe0
	[&lt;c0167a60&gt;] ? autoremove_wake_function+0x0/0x50
	[&lt;c0163a60&gt;] ? worker_thread+0x0/0xe0
	[&lt;c01677d4&gt;] kthread+0x74/0x80
	[&lt;c0167760&gt;] ? kthread+0x0/0x80
	[&lt;c0104087&gt;] kernel_thread_helper+0x7/0x10
---[ end trace 2aff81010df9215b ]---

Signed-off-by: Rajkumar Manoharan &lt;rmanoharan@atheros.com&gt;
Signed-off-by: Mohammed Shafi Shajakhan &lt;mshajakhan@atheros.com&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>
during suspend/S3 state drv_flush is called from mac80211 irrespective of
interface count. In ath9k we queue a work in ath9k_flush which we expect
to be cancelled in the drv_stop call back. during suspend process mac80211
calls drv_stop only when the interface count(local-&gt;count) is non-zero.
unfortunately when the network manager is enabled, drv_flush is called
while drv_stop is not called as local-&gt;count reaches '0'.
	So fix this by simply checking for the device presence in the
drv_flush call back in the driver before queueing work or anything else.
this patch fixes the following WARNING

	Call Trace:
	[&lt;c014c6e2&gt;] warn_slowpath_common+0x72/0xa0
	[&lt;fc133f99&gt;] ? ieee80211_can_queue_work+0x39/0x50 [mac80211]
	[&lt;fc133f99&gt;] ? ieee80211_can_queue_work+0x39/0x50 [mac80211]
	[&lt;c014c75b&gt;] warn_slowpath_fmt+0x2b/0x30
	[&lt;fc133f99&gt;] ieee80211_can_queue_work+0x39/0x50 [mac80211]
	[&lt;fc134ed1&gt;] ieee80211_queue_delayed_work+0x21/0x50 [mac80211]
	[&lt;fc1e5b22&gt;] ath_tx_complete_poll_work+0xb2/0x100 [ath9k]
	[&lt;c016399e&gt;] run_workqueue+0x8e/0x150
	[&lt;fc1e5a70&gt;] ? ath_tx_complete_poll_work+0x0/0x100 [ath9k]
	[&lt;c0163ae4&gt;] worker_thread+0x84/0xe0
	[&lt;c0167a60&gt;] ? autoremove_wake_function+0x0/0x50
	[&lt;c0163a60&gt;] ? worker_thread+0x0/0xe0
	[&lt;c01677d4&gt;] kthread+0x74/0x80
	[&lt;c0167760&gt;] ? kthread+0x0/0x80
	[&lt;c0104087&gt;] kernel_thread_helper+0x7/0x10
---[ end trace 2aff81010df9215b ]---

Signed-off-by: Rajkumar Manoharan &lt;rmanoharan@atheros.com&gt;
Signed-off-by: Mohammed Shafi Shajakhan &lt;mshajakhan@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6</title>
<updated>2011-04-22T20:21:38+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-04-22T20:21:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1ed3aad141fe595673c20225a9e004730088be52'/>
<id>1ed3aad141fe595673c20225a9e004730088be52</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: fix the return value of ath_stoprecv</title>
<updated>2011-04-19T19:22:52+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2011-04-14T22:41:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2232d31bf18ba02f5cd632bbfc3466aeca394c75'/>
<id>2232d31bf18ba02f5cd632bbfc3466aeca394c75</id>
<content type='text'>
The patch 'ath9k_hw: fix stopping rx DMA during resets' added code to detect
a condition where rx DMA was stopped, but the MAC failed to enter the idle
state. This condition requires a hardware reset, however the return value
of ath_stoprecv was 'true' in that case, which allowed it to skip the reset
when issuing a fast channel change.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Reported-by: Paul Stewart &lt;pstew@google.com&gt;
Cc: stable@kernel.org
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 patch 'ath9k_hw: fix stopping rx DMA during resets' added code to detect
a condition where rx DMA was stopped, but the MAC failed to enter the idle
state. This condition requires a hardware reset, however the return value
of ath_stoprecv was 'true' in that case, which allowed it to skip the reset
when issuing a fast channel change.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Reported-by: Paul Stewart &lt;pstew@google.com&gt;
Cc: stable@kernel.org
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6</title>
<updated>2011-04-14T20:16:51+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-04-14T20:16:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=dd5030404695d81792a21cba575e02b21a2f275a'/>
<id>dd5030404695d81792a21cba575e02b21a2f275a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k_htc: Fix ethtool reporting</title>
<updated>2011-04-12T20:41:34+00:00</updated>
<author>
<name>Sujith Manoharan</name>
<email>Sujith.Manoharan@atheros.com</email>
</author>
<published>2011-04-11T17:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=50f6871218802be528961e24487f00c203a5c3c7'/>
<id>50f6871218802be528961e24487f00c203a5c3c7</id>
<content type='text'>
Pass the correct module name and device interface so that
ethtool can display the proper values.

The firmware version will be fixed later on when the FW
can actually report a version. :)

Reported-by: Richard Farina &lt;sidhayn@gmail.com&gt;
Signed-off-by: Sujith Manoharan &lt;Sujith.Manoharan@atheros.com&gt;
Tested-by: Richard Farina &lt;sidhayn@gmail.com&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>
Pass the correct module name and device interface so that
ethtool can display the proper values.

The firmware version will be fixed later on when the FW
can actually report a version. :)

Reported-by: Richard Farina &lt;sidhayn@gmail.com&gt;
Signed-off-by: Sujith Manoharan &lt;Sujith.Manoharan@atheros.com&gt;
Tested-by: Richard Farina &lt;sidhayn@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k_hw: fix stopping rx DMA during resets</title>
<updated>2011-04-12T20:41:33+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2011-04-08T18:13:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5882da02e9d9089b7e8c739f3e774aaeeff8b7ba'/>
<id>5882da02e9d9089b7e8c739f3e774aaeeff8b7ba</id>
<content type='text'>
During PHY errors, the MAC can sometimes fail to enter an idle state on older
hardware (before AR9380) after an rx stop has been requested.

This typically shows up in the kernel log with messages like these:

ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
------------[ cut here ]------------
WARNING: at drivers/net/wireless/ath/ath9k/recv.c:504 ath_stoprecv+0xcc/0xf0 [ath9k]()
Call Trace:
[&lt;8023f0e8&gt;] dump_stack+0x8/0x34
[&lt;80075050&gt;] warn_slowpath_common+0x78/0xa4
[&lt;80075094&gt;] warn_slowpath_null+0x18/0x24
[&lt;80d66d60&gt;] ath_stoprecv+0xcc/0xf0 [ath9k]
[&lt;80d642cc&gt;] ath_set_channel+0xbc/0x270 [ath9k]
[&lt;80d65254&gt;] ath_radio_disable+0x4a4/0x7fc [ath9k]

When this happens, the state that the MAC enters is easy to identify and
does not result in bogus DMA traffic, however to ensure a working state
after a channel change, the hardware should still be reset.

This patch adds detection for this specific MAC state, after which the above
warnings completely disappear in my tests.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: stable@kernel.org
Cc: Kyungwan Nam &lt;Kyungwan.Nam@Atheros.com&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>
During PHY errors, the MAC can sometimes fail to enter an idle state on older
hardware (before AR9380) after an rx stop has been requested.

This typically shows up in the kernel log with messages like these:

ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
------------[ cut here ]------------
WARNING: at drivers/net/wireless/ath/ath9k/recv.c:504 ath_stoprecv+0xcc/0xf0 [ath9k]()
Call Trace:
[&lt;8023f0e8&gt;] dump_stack+0x8/0x34
[&lt;80075050&gt;] warn_slowpath_common+0x78/0xa4
[&lt;80075094&gt;] warn_slowpath_null+0x18/0x24
[&lt;80d66d60&gt;] ath_stoprecv+0xcc/0xf0 [ath9k]
[&lt;80d642cc&gt;] ath_set_channel+0xbc/0x270 [ath9k]
[&lt;80d65254&gt;] ath_radio_disable+0x4a4/0x7fc [ath9k]

When this happens, the state that the MAC enters is easy to identify and
does not result in bogus DMA traffic, however to ensure a working state
after a channel change, the hardware should still be reset.

This patch adds detection for this specific MAC state, after which the above
warnings completely disappear in my tests.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: stable@kernel.org
Cc: Kyungwan Nam &lt;Kyungwan.Nam@Atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6</title>
<updated>2011-04-11T19:53:51+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-04-11T19:53:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0e10b33a05fd57a8aaf9672e05e83937fb243a08'/>
<id>0e10b33a05fd57a8aaf9672e05e83937fb243a08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2011-04-11T14:27:24+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-04-11T14:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c44eaf41a5a423993932c9a9ad279ee132779b48'/>
<id>c44eaf41a5a423993932c9a9ad279ee132779b48</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (34 commits)
  net: Add support for SMSC LAN9530, LAN9730 and LAN89530
  mlx4_en: Restoring RX buffer pointer in case of failure
  mlx4: Sensing link type at device initialization
  ipv4: Fix "Set rt-&gt;rt_iif more sanely on output routes."
  MAINTAINERS: add entry for Xen network backend
  be2net: Fix suspend/resume operation
  be2net: Rename some struct members for clarity
  pppoe: drop PPPOX_ZOMBIEs in pppoe_flush_dev
  dsa/mv88e6131: add support for mv88e6085 switch
  ipv6: Enable RFS sk_rxhash tracking for ipv6 sockets (v2)
  be2net: Fix a potential crash during shutdown.
  bna: Fix for handling firmware heartbeat failure
  can: mcp251x: Allow pass IRQ flags through platform data.
  smsc911x: fix mac_lock acquision before calling smsc911x_mac_read
  iwlwifi: accept EEPROM version 0x423 for iwl6000
  rt2x00: fix cancelling uninitialized work
  rtlwifi: Fix some warnings/bugs
  p54usb: IDs for two new devices
  wl12xx: fix potential buffer overflow in testmode nvs push
  zd1211rw: reset rx idle timer from tasklet
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (34 commits)
  net: Add support for SMSC LAN9530, LAN9730 and LAN89530
  mlx4_en: Restoring RX buffer pointer in case of failure
  mlx4: Sensing link type at device initialization
  ipv4: Fix "Set rt-&gt;rt_iif more sanely on output routes."
  MAINTAINERS: add entry for Xen network backend
  be2net: Fix suspend/resume operation
  be2net: Rename some struct members for clarity
  pppoe: drop PPPOX_ZOMBIEs in pppoe_flush_dev
  dsa/mv88e6131: add support for mv88e6085 switch
  ipv6: Enable RFS sk_rxhash tracking for ipv6 sockets (v2)
  be2net: Fix a potential crash during shutdown.
  bna: Fix for handling firmware heartbeat failure
  can: mcp251x: Allow pass IRQ flags through platform data.
  smsc911x: fix mac_lock acquision before calling smsc911x_mac_read
  iwlwifi: accept EEPROM version 0x423 for iwl6000
  rt2x00: fix cancelling uninitialized work
  rtlwifi: Fix some warnings/bugs
  p54usb: IDs for two new devices
  wl12xx: fix potential buffer overflow in testmode nvs push
  zd1211rw: reset rx idle timer from tasklet
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: fix missing ath9k_ps_wakeup/ath9k_ps_restore calls</title>
<updated>2011-04-08T17:06:30+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2011-04-07T17:07:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=96f372c95d32f76fa2b0e035e0a6269234bfda09'/>
<id>96f372c95d32f76fa2b0e035e0a6269234bfda09</id>
<content type='text'>
These missing chip wakeups mainly cause crashes on AR5416 cards in MIPS
boards, but have also been reported to cause radio stability issues on
AR9285.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: stable@kernel.org
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These missing chip wakeups mainly cause crashes on AR5416 cards in MIPS
boards, but have also been reported to cause radio stability issues on
AR9285.

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