<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/wireless/ath, branch v2.6.37</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>ath9k_htc: Fix suspend/resume</title>
<updated>2010-12-08T20:23:47+00:00</updated>
<author>
<name>Sujith Manoharan</name>
<email>Sujith.Manoharan@atheros.com</email>
</author>
<published>2010-12-01T07:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f933ebed7888a9a7d73ebeeb6bcbb3f710c423b4'/>
<id>f933ebed7888a9a7d73ebeeb6bcbb3f710c423b4</id>
<content type='text'>
The HW has to be set to FULLSLEEP mode during suspend,
when no interface has been brought up. Not doing this would
break resume, as the chip won't be powered up at all.

Signed-off-by: Sujith Manoharan &lt;Sujith.Manoharan@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>
The HW has to be set to FULLSLEEP mode during suspend,
when no interface has been brought up. Not doing this would
break resume, as the chip won't be powered up at all.

Signed-off-by: Sujith Manoharan &lt;Sujith.Manoharan@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath5k: Put the right tsf value in mesh beacons</title>
<updated>2010-12-08T20:23:46+00:00</updated>
<author>
<name>Javier Cardona</name>
<email>javier@cozybit.com</email>
</author>
<published>2010-12-07T21:37:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b93996cf67d47597efad03d5e5431c7b8b11e688'/>
<id>b93996cf67d47597efad03d5e5431c7b8b11e688</id>
<content type='text'>
Signed-off-by: Javier Cardona &lt;javier@cozybit.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>
Signed-off-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath5k: Prevent mesh interfaces from being counted as ad-hoc</title>
<updated>2010-12-08T20:23:45+00:00</updated>
<author>
<name>Javier Cardona</name>
<email>javier@cozybit.com</email>
</author>
<published>2010-12-07T21:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c26d5339424e68f8643cf3448986c4f77b941a65'/>
<id>c26d5339424e68f8643cf3448986c4f77b941a65</id>
<content type='text'>
This results in an erroneus num_adhoc_vifs count, as the this counter
was incremented but not decremented for mesh interfaces.

Signed-off-by: Javier Cardona &lt;javier@cozybit.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>
This results in an erroneus num_adhoc_vifs count, as the this counter
was incremented but not decremented for mesh interfaces.

Signed-off-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath5k: Fix beaconing in mesh mode</title>
<updated>2010-12-08T20:23:44+00:00</updated>
<author>
<name>Javier Cardona</name>
<email>javier@cozybit.com</email>
</author>
<published>2010-12-07T21:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d82b577b8cf89a17cab932db272769dfc69a98df'/>
<id>d82b577b8cf89a17cab932db272769dfc69a98df</id>
<content type='text'>
This patch fixes the oops below when attempting to bring up a mesh
interface on ath5k hardware.

[  128.933099] kernel BUG at drivers/net/wireless/ath/ath5k/base.c:197!
[  128.933099] invalid opcode: 0000 [#1]
(...)
[  128.933099] Call Trace:
[  128.933099]  [&lt;c83b77fa&gt;] ? ath5k_beacon_update+0x57/0x1f8 [ath5k]
[  128.933099]  [&lt;c02d9a40&gt;] ? __sysfs_add_one+0x28/0x76
[  128.933099]  [&lt;c83b830e&gt;] ? ath5k_bss_info_changed+0x13f/0x173
[ath5k]
[  128.933099]  [&lt;c82ff629&gt;] ? ieee80211_config_beacon+0xc0/0x17e
[mac80211]
[  128.933099]  [&lt;c82f073e&gt;] ?
ieee80211_bss_info_change_notify+0x182/0x18b [mac80211]
[  128.933099]  [&lt;c83b81cf&gt;] ? ath5k_bss_info_changed+0x0/0x173 [ath5k]
[  128.933099]  [&lt;c82ff6d6&gt;] ? ieee80211_config_beacon+0x16d/0x17e
[mac80211]
[  128.933099]  [&lt;c82ff753&gt;] ? ieee80211_add_beacon+0x34/0x39 [mac80211]
[  128.933099]  [&lt;c830a4ed&gt;] ? ieee80211s_init+0xf8/0x10f [mac80211]
[  128.933099]  [&lt;c830a5df&gt;] ? ieee80211_mesh_init_sdata+0xdb/0x154 [mac80211]

Signed-off-by: Javier Cardona &lt;javier@cozybit.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>
This patch fixes the oops below when attempting to bring up a mesh
interface on ath5k hardware.

[  128.933099] kernel BUG at drivers/net/wireless/ath/ath5k/base.c:197!
[  128.933099] invalid opcode: 0000 [#1]
(...)
[  128.933099] Call Trace:
[  128.933099]  [&lt;c83b77fa&gt;] ? ath5k_beacon_update+0x57/0x1f8 [ath5k]
[  128.933099]  [&lt;c02d9a40&gt;] ? __sysfs_add_one+0x28/0x76
[  128.933099]  [&lt;c83b830e&gt;] ? ath5k_bss_info_changed+0x13f/0x173
[ath5k]
[  128.933099]  [&lt;c82ff629&gt;] ? ieee80211_config_beacon+0xc0/0x17e
[mac80211]
[  128.933099]  [&lt;c82f073e&gt;] ?
ieee80211_bss_info_change_notify+0x182/0x18b [mac80211]
[  128.933099]  [&lt;c83b81cf&gt;] ? ath5k_bss_info_changed+0x0/0x173 [ath5k]
[  128.933099]  [&lt;c82ff6d6&gt;] ? ieee80211_config_beacon+0x16d/0x17e
[mac80211]
[  128.933099]  [&lt;c82ff753&gt;] ? ieee80211_add_beacon+0x34/0x39 [mac80211]
[  128.933099]  [&lt;c830a4ed&gt;] ? ieee80211s_init+0xf8/0x10f [mac80211]
[  128.933099]  [&lt;c830a5df&gt;] ? ieee80211_mesh_init_sdata+0xdb/0x154 [mac80211]

Signed-off-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: fix beacon resource related race condition</title>
<updated>2010-12-07T19:57:06+00:00</updated>
<author>
<name>Rajkumar Manoharan</name>
<email>rmanoharan@atheros.com</email>
</author>
<published>2010-12-07T12:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=884a963fa1c828a5c5fa7a46b2877dd463bfd47c'/>
<id>884a963fa1c828a5c5fa7a46b2877dd463bfd47c</id>
<content type='text'>
The beacon tasklet is accesssing the bslot info for beacon generation.
Meanwhile the same slot can be freed on interface deletion.
Current the remove_interface disables the beacon alert after freeing the slot.
This may leads to null pointer access.

This patch disables SWBA and kills the beacon tasklet to prevent access
to the slot to be freed. After releasing the slot, swba will be enabled again
upon the availablity of beaconing interfaces.

Signed-off-by: Rajkumar Manoharan &lt;rmanoharan@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>
The beacon tasklet is accesssing the bslot info for beacon generation.
Meanwhile the same slot can be freed on interface deletion.
Current the remove_interface disables the beacon alert after freeing the slot.
This may leads to null pointer access.

This patch disables SWBA and kills the beacon tasklet to prevent access
to the slot to be freed. After releasing the slot, swba will be enabled again
upon the availablity of beaconing interfaces.

Signed-off-by: Rajkumar Manoharan &lt;rmanoharan@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: Fix STA disconnect issue due to received MIC failed bcast frames</title>
<updated>2010-12-07T19:57:05+00:00</updated>
<author>
<name>Senthil Balasubramanian</name>
<email>senthilkumar@atheros.com</email>
</author>
<published>2010-12-06T13:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=38852b20c8b6d97618204ac64abbf14f0080393e'/>
<id>38852b20c8b6d97618204ac64abbf14f0080393e</id>
<content type='text'>
AR_RxKeyIdxValid will not be set for bcast/mcast frames and so relying
this status for MIC failed frames is buggy.

Due to this, MIC failure events for broadcast frames are not sent to
supplicant resulted in AP disconnecting the STA.

Able to pass Wifi Test case 5.2.18 with this fix.

Cc: Stable &lt;stable@kernel.org&gt; (2.6.36+)
Signed-off-by: Senthil Balasubramanian &lt;senthilkumar@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>
AR_RxKeyIdxValid will not be set for bcast/mcast frames and so relying
this status for MIC failed frames is buggy.

Due to this, MIC failure events for broadcast frames are not sent to
supplicant resulted in AP disconnecting the STA.

Able to pass Wifi Test case 5.2.18 with this fix.

Cc: Stable &lt;stable@kernel.org&gt; (2.6.36+)
Signed-off-by: Senthil Balasubramanian &lt;senthilkumar@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: fix a DMA related race condition on reset</title>
<updated>2010-12-07T19:57:05+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2010-12-05T19:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=080e1a259acea10b6df8e2a8e49b47481940220a'/>
<id>080e1a259acea10b6df8e2a8e49b47481940220a</id>
<content type='text'>
When ath_drain_all_txq fails to stop DMA, it issues a hw reset. This reset
happens at a very problematic point in time, when the hardware rx path has
not been stopped yet. This could lead to memory corruption, hardware hangs
or other issues.
To fix these issues, simply remove the reset entirely and check the tx DMA
stop status to prevent problems with fast channel changes.

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>
When ath_drain_all_txq fails to stop DMA, it issues a hw reset. This reset
happens at a very problematic point in time, when the hardware rx path has
not been stopped yet. This could lead to memory corruption, hardware hangs
or other issues.
To fix these issues, simply remove the reset entirely and check the tx DMA
stop status to prevent problems with fast channel changes.

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>
<entry>
<title>ath9k: fix bug in tx power</title>
<updated>2010-12-07T19:57:05+00:00</updated>
<author>
<name>Matteo Croce</name>
<email>technoboy85@gmail.com</email>
</author>
<published>2010-12-03T01:25:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=841051602e3fa18ea468fe5a177aa92b6eb44b56'/>
<id>841051602e3fa18ea468fe5a177aa92b6eb44b56</id>
<content type='text'>
The ath9k driver subtracts 3 dBm to the txpower as with two radios the
signal power is doubled.
The resulting value is assigned in an u16 which overflows and makes
the card work at full power.

Cc: stable@kernel.org
Signed-off-by: Matteo Croce &lt;matteo@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 ath9k driver subtracts 3 dBm to the txpower as with two radios the
signal power is doubled.
The resulting value is assigned in an u16 which overflows and makes
the card work at full power.

Cc: stable@kernel.org
Signed-off-by: Matteo Croce &lt;matteo@openwrt.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "ath9k: Fix STA disconnect issue due to received MIC failed bcast frames"</title>
<updated>2010-12-02T19:10:58+00:00</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2010-12-02T19:10:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d89197c7f34934fbb0f96d938a0d6cfe0b8bcb1c'/>
<id>d89197c7f34934fbb0f96d938a0d6cfe0b8bcb1c</id>
<content type='text'>
This reverts commit 916448e77f6bcaaa7f13c3de0c3851783ae2bfd0.

"As far as I can tell, either of these patches breaks multiple VIF
scenarios.  I'm not sure exactly why, but I had to revert this to
get any of my interfaces to associate."
  -- Ben Greear &lt;greearb@candelatech.com&gt;

http://marc.info/?l=linux-wireless&amp;m=129123368719339&amp;w=2

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 916448e77f6bcaaa7f13c3de0c3851783ae2bfd0.

"As far as I can tell, either of these patches breaks multiple VIF
scenarios.  I'm not sure exactly why, but I had to revert this to
get any of my interfaces to associate."
  -- Ben Greear &lt;greearb@candelatech.com&gt;

http://marc.info/?l=linux-wireless&amp;m=129123368719339&amp;w=2

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k_hw: fix more bitfield related endian issues</title>
<updated>2010-12-02T19:10:33+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2010-12-01T18:07:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f67e07eb3decd7840b621fba37fd600adfdf99f8'/>
<id>f67e07eb3decd7840b621fba37fd600adfdf99f8</id>
<content type='text'>
A few LNA control related flags were also specified as a bitfields, however
for some strange reason they were written in big-endian order this time.
Fix this by using flags instead.

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>
A few LNA control related flags were also specified as a bitfields, however
for some strange reason they were written in big-endian order this time.
Fix this by using flags instead.

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>
