<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/scan.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-10-15T01:08:11Z</updated>
<entry>
<title>mac80211: Fix scan RX processing oops</title>
<updated>2008-10-15T01:08:11Z</updated>
<author>
<name>Jouni Malinen</name>
</author>
<published>2008-10-11T00:29:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d048e503a2b01e771ee87921c24d89d7ec3f0c2f'/>
<id>urn:sha1:d048e503a2b01e771ee87921c24d89d7ec3f0c2f</id>
<content type='text'>
ieee80211_bss_info_update() can return NULL. Verify that this is not the
case before calling ieee802111_rx_bss_put() which would trigger an oops
in interrupt context in atomic_dec_and_lock().

Signed-off-by: Jouni Malinen &lt;jouni.malinen@atheros.com&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Acked-by: Benoit Papillault &lt;benoit.papillault@free.fr&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: use nl80211 interface types</title>
<updated>2008-09-15T20:48:23Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-10T22:01:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05c914fe330fa8e1cc67870dc0d3809dfd96c107'/>
<id>urn:sha1:05c914fe330fa8e1cc67870dc0d3809dfd96c107</id>
<content type='text'>
There's really no reason for mac80211 to be using its
own interface type defines. Use the nl80211 types and
simplify the configuration code a bit: there's no need
to translate them any more now.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: clean up scan namespace</title>
<updated>2008-09-15T20:48:22Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-10T22:01:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2b13452b283f9c4a5b02a6b53ed6416ebf4c03c'/>
<id>urn:sha1:c2b13452b283f9c4a5b02a6b53ed6416ebf4c03c</id>
<content type='text'>
Most of the scan functions are called ieee80211_sta_scan_*
or similar, make clean it up so they are all just called
ieee80211_scan_*.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: fix scan vs. interface removal race</title>
<updated>2008-09-15T20:48:20Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-10T22:01:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bc75728fd43bb15b46f16ef465bcf9d487393cf'/>
<id>urn:sha1:5bc75728fd43bb15b46f16ef465bcf9d487393cf</id>
<content type='text'>
When we remove an interface, we can currently end up having
a pointer to it left in local-&gt;scan_sdata after it has been
set down, and then with a hardware scan the scan completion
can try to access it which is a bug. Alternatively, a scan
that started as a hardware scan may terminate as though it
was a software scan, if the timing is just right.

On SMP systems, software scan also has a similar problem,
just canceling the delayed work and setting a flag isn't
enough since it may be running concurrently; in this case
we would also never restore state of other interfaces.

This patch hopefully fixes the problems by always invoking
ieee80211_scan_completed or requiring it to be invoked by
the driver, I suspect the drivers that have -&gt;hw_scan() are
buggy. The bug will not manifest itself unless you remove
the interface while hw-scanning which will also turn off
the hw, and then add a new interface which will be unusable
until you scan once.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: split off mesh handling entirely</title>
<updated>2008-09-15T20:48:20Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-10T22:01:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=472dbc45dc1966284de72d7de15690c17ed2cf33'/>
<id>urn:sha1:472dbc45dc1966284de72d7de15690c17ed2cf33</id>
<content type='text'>
This patch splits off mesh handling from the STA/IBSS.
Unfortunately it increases mesh code size a bit, but I
think it makes things clearer. The patch also reduces
per-interface run-time memory usage.

Also clean up a few places where ifdef is not required.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: move STA timer restart</title>
<updated>2008-09-15T20:48:20Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-10T22:01:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1678f84bff9b20807f7f6a45ebfb56a0c02b353'/>
<id>urn:sha1:a1678f84bff9b20807f7f6a45ebfb56a0c02b353</id>
<content type='text'>
This I shouldn't have moved to the scan implementation, move
it back to the MLME where it belongs, to the notification.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: move frame TX function</title>
<updated>2008-09-11T19:53:39Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-09T13:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e50db65c0dad109aae77c353305853b31555b228'/>
<id>urn:sha1:e50db65c0dad109aae77c353305853b31555b228</id>
<content type='text'>
The ieee80211_sta_tx function isn't MLME code any more,
it's getting used by a lot of code. Move it to utils and
rename it to ieee80211_tx_skb.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: clarify scan request</title>
<updated>2008-09-11T19:53:37Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-08T15:47:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9116dd01120e249dc2e84e6edecd7ad7f828680f'/>
<id>urn:sha1:9116dd01120e249dc2e84e6edecd7ad7f828680f</id>
<content type='text'>
When a scan is requested for non-STA interfaces, we simply fire
off a scan, but for STA interfaces we shouldn't because they
could be in the middle of an association. This clarifies the
corresponding code.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: move BSS handling to scan code</title>
<updated>2008-09-11T19:53:37Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-08T15:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5484e23749e78d5a4f56928efaf3c4b0d862b7a6'/>
<id>urn:sha1:5484e23749e78d5a4f56928efaf3c4b0d862b7a6</id>
<content type='text'>
This moves all the BSS list handling out of mlme.c to scan.c,
no further changes except fixing kzalloc/atomic_inc/atomic_inc
to kzalloc/atomic_set(2).

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: refactor and move scan RX code</title>
<updated>2008-09-11T19:53:37Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-08T15:44:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=98c8fccfaea838e62ffde2f2e44568844e0e5472'/>
<id>urn:sha1:98c8fccfaea838e62ffde2f2e44568844e0e5472</id>
<content type='text'>
This patch refactors some code and moves the scan RX function
to scan.c. More importantly, however, it changes it so that the
MLME's beacon/probe_resp functions aren't invoked when scanning
so that we can remove a "if (scanning)" conditions from two
places.

There's a very slight behavioural change in this patch: now,
when scanning, IBSS and mesh aren't updated even on the same
channel.

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