<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/wireless, branch v2.6.34</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6</title>
<updated>2010-05-11T05:53:41+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-05-11T05:53:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=de02d72bb3cc5b3d4c873db4ca8291723dd48479'/>
<id>de02d72bb3cc5b3d4c873db4ca8291723dd48479</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ar9170: wait for asynchronous firmware loading</title>
<updated>2010-05-07T18:26:38+00:00</updated>
<author>
<name>Christian Lamparter</name>
<email>chunkeey@googlemail.com</email>
</author>
<published>2010-04-29T15:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=160b82420ab41f1e67fbf2e56dc587837ef39ce0'/>
<id>160b82420ab41f1e67fbf2e56dc587837ef39ce0</id>
<content type='text'>
This patch fixes a regression introduced by the following patch:
"ar9170: load firmware asynchronously"

When we kick off a firmware loading request and then unbind,
or disconnect the usb device right away, we get into trouble:

&gt; ------------[ cut here ]------------
&gt; WARNING: at lib/kref.c:44 kref_get+0x1c/0x20()
&gt; Hardware name: 18666GU
&gt; Modules linked in: ar9170usb [...]
&gt; Pid: 6588, comm: firmware/ar9170 Not tainted 2.6.34-rc5-wl #43
&gt; Call Trace:
&gt; [&lt;c102b05e&gt;] ? warn_slowpath_common+0x6e/0xb0
&gt; [&lt;c117c93c&gt;] ? kref_get+0x1c/0x20
&gt; [&lt;c102b0b3&gt;] ? warn_slowpath_null+0x13/0x20
&gt; [&lt;c117c93c&gt;] ? kref_get+0x1c/0x20
&gt; [&lt;c117bb2f&gt;] ? kobject_get+0xf/0x20
&gt; [&lt;c124d630&gt;] ? get_device+0x10/0x20
&gt; [&lt;c124e5a0&gt;] ? device_add+0x60/0x530
&gt; [&lt;c117b8b5&gt;] ? kobject_init+0x25/0xa0
&gt; [&lt;c12569f9&gt;] ? _request_firmware+0x139/0x3e0
&gt; [&lt;c1256cc0&gt;] ? request_firmware_work_func+0x20/0x70
&gt; [&lt;c1256ca0&gt;] ? request_firmware_work_func+0x0/0x70
&gt; [&lt;c103ff24&gt;] ? kthread+0x74/0x80
&gt; [&lt;c103feb0&gt;] ? kthread+0x0/0x80
&gt; [&lt;c1003136&gt;] ? kernel_thread_helper+0x6/0x10
&gt;---[ end trace 2d50bd818f64a1b7 ]---
- followed by a random Oops -

Avoid that by waiting for the firmware loading to finish
(whether successfully or not) before the unbind in
ar9170_usb_disconnect.

Reported-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Bug-fixed-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.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 a regression introduced by the following patch:
"ar9170: load firmware asynchronously"

When we kick off a firmware loading request and then unbind,
or disconnect the usb device right away, we get into trouble:

&gt; ------------[ cut here ]------------
&gt; WARNING: at lib/kref.c:44 kref_get+0x1c/0x20()
&gt; Hardware name: 18666GU
&gt; Modules linked in: ar9170usb [...]
&gt; Pid: 6588, comm: firmware/ar9170 Not tainted 2.6.34-rc5-wl #43
&gt; Call Trace:
&gt; [&lt;c102b05e&gt;] ? warn_slowpath_common+0x6e/0xb0
&gt; [&lt;c117c93c&gt;] ? kref_get+0x1c/0x20
&gt; [&lt;c102b0b3&gt;] ? warn_slowpath_null+0x13/0x20
&gt; [&lt;c117c93c&gt;] ? kref_get+0x1c/0x20
&gt; [&lt;c117bb2f&gt;] ? kobject_get+0xf/0x20
&gt; [&lt;c124d630&gt;] ? get_device+0x10/0x20
&gt; [&lt;c124e5a0&gt;] ? device_add+0x60/0x530
&gt; [&lt;c117b8b5&gt;] ? kobject_init+0x25/0xa0
&gt; [&lt;c12569f9&gt;] ? _request_firmware+0x139/0x3e0
&gt; [&lt;c1256cc0&gt;] ? request_firmware_work_func+0x20/0x70
&gt; [&lt;c1256ca0&gt;] ? request_firmware_work_func+0x0/0x70
&gt; [&lt;c103ff24&gt;] ? kthread+0x74/0x80
&gt; [&lt;c103feb0&gt;] ? kthread+0x0/0x80
&gt; [&lt;c1003136&gt;] ? kernel_thread_helper+0x6/0x10
&gt;---[ end trace 2d50bd818f64a1b7 ]---
- followed by a random Oops -

Avoid that by waiting for the firmware loading to finish
(whether successfully or not) before the unbind in
ar9170_usb_disconnect.

Reported-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Bug-fixed-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: work around passive scan issue</title>
<updated>2010-04-30T22:03:51+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2010-04-30T21:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=96ff56419504ac6a610ff1af42330e0423242e16'/>
<id>96ff56419504ac6a610ff1af42330e0423242e16</id>
<content type='text'>
Some firmware versions don't behave properly when
passive scanning is requested on radar channels
without enabling active scanning on receiving a
good frame. Work around that issue by asking the
firmware to only enable the active scanning after
receiving a huge number of good frames, a number
that can never be reached during our dwell time.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some firmware versions don't behave properly when
passive scanning is requested on radar channels
without enabling active scanning on receiving a
good frame. Work around that issue by asking the
firmware to only enable the active scanning after
receiving a huge number of good frames, a number
that can never be reached during our dwell time.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.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>2010-04-30T19:54:15+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-04-30T19:54:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6c9ae016a8e2aff931391d3baa9ce6cb0ffa633c'/>
<id>6c9ae016a8e2aff931391d3baa9ce6cb0ffa633c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>p54pci: fix bugs in p54p_check_tx_ring</title>
<updated>2010-04-26T18:18:42+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2010-04-22T17:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0250ececdf6813457c98719e2d33b3684881fde0'/>
<id>0250ececdf6813457c98719e2d33b3684881fde0</id>
<content type='text'>
Hans de Goede identified a bug in p54p_check_tx_ring:

there are two ring indices. 1 =&gt; tx data and 3 =&gt; tx management.
But the old code had a constant "1" and this resulted in spurious
dma unmapping failures.

Cc: stable@kernel.org
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=583623
Bug-Identified-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.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>
Hans de Goede identified a bug in p54p_check_tx_ring:

there are two ring indices. 1 =&gt; tx data and 3 =&gt; tx management.
But the old code had a constant "1" and this resulted in spurious
dma unmapping failures.

Cc: stable@kernel.org
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=583623
Bug-Identified-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.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>2010-04-21T00:57:56+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-04-21T00:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e46754f8c9333170f11780d8e3a70da1b1a88338'/>
<id>e46754f8c9333170f11780d8e3a70da1b1a88338</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: correct 6000 EEPROM regulatory address</title>
<updated>2010-04-16T20:39:50+00:00</updated>
<author>
<name>Shanyu Zhao</name>
<email>shanyu.zhao@intel.com</email>
</author>
<published>2010-04-08T01:37:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f2fa1b015e9c199e45c836c769d94db595150731'/>
<id>f2fa1b015e9c199e45c836c769d94db595150731</id>
<content type='text'>
For 6000 series, the 2.4G HT40 band regulatory settings address in EEPROM
was off by 2.

Before the fix, you'll see this in dmesg:
[79535.788877] ieee80211 phy8: U iwl_mod_ht40_chan_info HT40 Ch. 7 [2.4GHz]
WIDE (0x61 0dBm): Ad-Hoc not supported
[79535.788880] ieee80211 phy8: U iwl_mod_ht40_chan_info HT40 Ch. 11 [2.4GHz]
WIDE (0x61 0dBm): Ad-Hoc not supported

And after the fix:
[91132.688706] ieee80211 phy14: U iwl_mod_ht40_chan_info HT40 Ch. 7 [2.4GHz]
IBSS ACTIVE WIDE (0x6f 0dBm): Ad-Hoc supported
[91132.688709] ieee80211 phy14: U iwl_mod_ht40_chan_info HT40 Ch. 11 [2.4GHz]
IBSS ACTIVE WIDE (0x6f 0dBm): Ad-Hoc supported

Signed-off-by: Shanyu Zhao &lt;shanyu.zhao@intel.com&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For 6000 series, the 2.4G HT40 band regulatory settings address in EEPROM
was off by 2.

Before the fix, you'll see this in dmesg:
[79535.788877] ieee80211 phy8: U iwl_mod_ht40_chan_info HT40 Ch. 7 [2.4GHz]
WIDE (0x61 0dBm): Ad-Hoc not supported
[79535.788880] ieee80211 phy8: U iwl_mod_ht40_chan_info HT40 Ch. 11 [2.4GHz]
WIDE (0x61 0dBm): Ad-Hoc not supported

And after the fix:
[91132.688706] ieee80211 phy14: U iwl_mod_ht40_chan_info HT40 Ch. 7 [2.4GHz]
IBSS ACTIVE WIDE (0x6f 0dBm): Ad-Hoc supported
[91132.688709] ieee80211 phy14: U iwl_mod_ht40_chan_info HT40 Ch. 11 [2.4GHz]
IBSS ACTIVE WIDE (0x6f 0dBm): Ad-Hoc supported

Signed-off-by: Shanyu Zhao &lt;shanyu.zhao@intel.com&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: fix scan races</title>
<updated>2010-04-16T20:27:10+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2010-04-07T07:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=88be026490ed89c2ffead81a52531fbac5507e01'/>
<id>88be026490ed89c2ffead81a52531fbac5507e01</id>
<content type='text'>
When an internal scan is started, nothing protects the
is_internal_short_scan variable which can cause crashes,
cf. https://bugzilla.kernel.org/show_bug.cgi?id=15667.
Fix this by making the short scan request use the mutex
for locking, which requires making the request go to a
work struct so that it can sleep.

Reported-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an internal scan is started, nothing protects the
is_internal_short_scan variable which can cause crashes,
cf. https://bugzilla.kernel.org/show_bug.cgi?id=15667.
Fix this by making the short scan request use the mutex
for locking, which requires making the request go to a
work struct so that it can sleep.

Reported-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.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>2010-04-15T21:28:46+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-04-15T21:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=334656f33c43921cf383dfd0220dfd34376bcd98'/>
<id>334656f33c43921cf383dfd0220dfd34376bcd98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of /home/davem/src/GIT/linux-2.6/</title>
<updated>2010-04-11T09:44:30+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-04-11T09:44:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4a1032faac94ebbf647460ae3e06fc21146eb280'/>
<id>4a1032faac94ebbf647460ae3e06fc21146eb280</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
