<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/work.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-12-13T19:55:08Z</updated>
<entry>
<title>mac80211: avoid calling ieee80211_work_work unconditionally</title>
<updated>2010-12-13T19:55:08Z</updated>
<author>
<name>Herton Ronaldo Krzesinski</name>
</author>
<published>2010-12-13T13:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8808f64171deec62346888e156e3adb636e2a31a'/>
<id>urn:sha1:8808f64171deec62346888e156e3adb636e2a31a</id>
<content type='text'>
On suspend, there might be usb wireless drivers which wrongly trigger
the warning in ieee80211_work_work. If an usb driver doesn't have a
suspend hook, the usb stack will disconnect the device. On disconnect,
a mac80211 driver calls ieee80211_unregister_hw, which calls dev_close,
which calls ieee80211_stop, and in the end calls ieee80211_work_purge-&gt;
ieee80211_work_work.

The problem is that this call to ieee80211_work_purge comes after
mac80211 is suspended, triggering the warning even when we don't have
work queued in work_list (the expected case when already suspended),
because it always calls ieee80211_work_work.

So, just call ieee80211_work_work in ieee80211_work_purge if we really
have to abort work. This addresses the warning reported at
https://bugzilla.kernel.org/show_bug.cgi?id=24402

Signed-off-by: Herton Ronaldo Krzesinski &lt;herton@mandriva.com.br&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: per interface idle notification</title>
<updated>2010-08-16T19:26:40Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-08-05T15:02:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7da7cc1d42d8ce02cca16df8c021e6d657f1f8fd'/>
<id>urn:sha1:7da7cc1d42d8ce02cca16df8c021e6d657f1f8fd</id>
<content type='text'>
Sometimes we don't just need to know whether or
not the device is idle, but also per interface.
This adds that reporting capability to mac80211.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: unify scan and work mutexes</title>
<updated>2010-08-16T19:26:37Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-07-30T14:46:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1699b75a1db31a1da2f0fc610ee696d02a19280'/>
<id>urn:sha1:a1699b75a1db31a1da2f0fc610ee696d02a19280</id>
<content type='text'>
Having both scan and work mutexes is not just
a bit too fine grained, it also creates issues
when there's code that needs both since they
then need to be acquired in the right order,
which can be hard to do.

Therefore, use just a single mutex for both.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: allow drivers to request DTIM period</title>
<updated>2010-07-29T16:55:00Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-07-29T14:08:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5b900d228b76d445a4240d9aeb3cd8f79205a91'/>
<id>urn:sha1:e5b900d228b76d445a4240d9aeb3cd8f79205a91</id>
<content type='text'>
Some features require knowing the DTIM period
before associating. This implements the ability
to wait for a beacon in mac80211 before assoc
to provide this value. It is optional since
most likely not all drivers will need this.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6</title>
<updated>2010-06-17T20:21:14Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2010-06-17T20:21:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abf52f86aa0a49a7377350cafa8f218c4cd227e7'/>
<id>urn:sha1:abf52f86aa0a49a7377350cafa8f218c4cd227e7</id>
<content type='text'>
Conflicts:
	net/mac80211/mlme.c
</content>
</entry>
<entry>
<title>mac80211: fix warn, enum may be used uninitialized</title>
<updated>2010-06-16T19:49:16Z</updated>
<author>
<name>Christoph Fritz</name>
</author>
<published>2010-06-16T14:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=021570e55b7152843376b9d9f60624e3e05ac054'/>
<id>urn:sha1:021570e55b7152843376b9d9f60624e3e05ac054</id>
<content type='text'>
regression introduced by b8d92c9c141ee3dc9b3537b1f0ffb4a54ea8d9b2

In function ‘ieee80211_work_rx_queued_mgmt’:
warning: ‘rma’ may be used uninitialized in this function

this re-adds default value WORK_ACT_NONE back to rma

Signed-off-by: Christoph Fritz &lt;chf.fritz@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>wireless: fix several minor description typos</title>
<updated>2010-06-02T20:13:18Z</updated>
<author>
<name>Walter Goldens</name>
</author>
<published>2010-05-18T11:44:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=77c2061d10a408d0220c2b0e7faefe52d9c41008'/>
<id>urn:sha1:77c2061d10a408d0220c2b0e7faefe52d9c41008</id>
<content type='text'>
Signed-off-by: Walter Goldens &lt;goldenstranger@yahoo.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem</title>
<updated>2010-05-17T17:57:43Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2010-05-17T17:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6fe70aae0d128339febfabc073ba4c4a03de4f45'/>
<id>urn:sha1:6fe70aae0d128339febfabc073ba4c4a03de4f45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6</title>
<updated>2010-05-17T17:31:05Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2010-05-17T17:31:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c348d7c1422d59a86d6fb37b53d75788043e50b'/>
<id>urn:sha1:0c348d7c1422d59a86d6fb37b53d75788043e50b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mac80211: don't process work item with wrong frame</title>
<updated>2010-05-12T20:28:52Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-05-11T10:42:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b8d92c9c141ee3dc9b3537b1f0ffb4a54ea8d9b2'/>
<id>urn:sha1:b8d92c9c141ee3dc9b3537b1f0ffb4a54ea8d9b2</id>
<content type='text'>
When we process a frame, we currently just match it
to the work struct by the MAC addresses, and not by
the work type. This means that we can end up doing
the work for an association request item when (for
whatever reason) we receive another frame type, for
example a probe response. Processing the wrong type
of frame will lead to completely invalid data being
processed, and will lead to various problems like
thinking the association was successful even if the
AP never sent an assocation response.

Fix this by making each processing function check
that it is invoked for the right work struct type
only and continue processing otherwise (and drop
frames that we didn't expect).

This bug was uncovered during the debugging for
https://bugzilla.kernel.org/show_bug.cgi?id=15862
but doesn't seem to be the cause for any of the
various problems reported there.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
