<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/main.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-06T22:14:57Z</updated>
<entry>
<title>mac80211: add the 'minstrel' rate control algorithm</title>
<updated>2008-10-06T22:14:57Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2008-10-05T16:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cccf129f820e431d84690729254a32f1709328fb'/>
<id>urn:sha1:cccf129f820e431d84690729254a32f1709328fb</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: clean up rate control API</title>
<updated>2008-09-24T20:18:03Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-18T16:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b7679a561e552eeda1e3567119bef2bca99b66e'/>
<id>urn:sha1:4b7679a561e552eeda1e3567119bef2bca99b66e</id>
<content type='text'>
Long awaited, hard work. This patch totally cleans up the rate control
API to remove the requirement to include internal headers outside of
net/mac80211/.

There's one internal use in the PID algorithm left for mesh networking,
we'll have to figure out a way to clean that one up and decide how to
do the peer link evaluation, possibly independent of the rate control
algorithm or via new API.

Additionally, ath9k is left using the cross-inclusion hack for now, we
will add new API where necessary to make this work properly, but right
now I'm not expert enough to do it. It's still off better than before.

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: make master iface not wireless</title>
<updated>2008-09-24T20:18:00Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-16T12:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=133b822638ff01eb1e32e1917b197c40ed095ddd'/>
<id>urn:sha1:133b822638ff01eb1e32e1917b197c40ed095ddd</id>
<content type='text'>
There's no need to register the master netdev with cfg80211,
in fact, this is quite dangerous and lead to having to add
checks for the master interface all over the config handlers.
This patch removes the "ieee80211_ptr" from the master iface
in favour of having a small netdev_priv() associated with
the master interface that stores the ieee80211_local pointer.
Because of this, a lot of code in the configuration handlers
can go away. To make this patch easier to verify I have also
removed a number of wiphy_priv() calls in favour of getting
the sdata first and then the local pointer from that.

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: small rate control changes</title>
<updated>2008-09-15T20:48:23Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-11T00:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95dac040041723d0c0ab245642c1b9802f12cc8d'/>
<id>urn:sha1:95dac040041723d0c0ab245642c1b9802f12cc8d</id>
<content type='text'>
This patch fixes mac80211 to not rely on the rate control
algorithm to update sta-&gt;tx_retry_failed and sta-&gt;tx_retry_count
(even if we don't currently use them), removes a number of
completely unused values we don't even show in debugfs and
changes the code in ieee80211_tx_status() to not look up the
sta_info repeatedly.

The only behaviour change here would be not calling the rate
control function rate_control_tx_status() when no sta_info is
found, but all rate control algorithms ignore such calls anyway.

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: warn on some invalid vlan operations</title>
<updated>2008-09-15T20:48:23Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-10T22:02:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a725f73403e874ec52c58741e9b98cd604dbd03'/>
<id>urn:sha1:7a725f73403e874ec52c58741e9b98cd604dbd03</id>
<content type='text'>
These should never happen, but better warn about them than
crashing a driver, the fact that they never happen is rather
subtle throughout mac80211.

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 regular interface handling</title>
<updated>2008-09-15T20:48:23Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-10T22:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d143fe1e2efc084fa730d2dfa22d0d1ca2ee5f1'/>
<id>urn:sha1:0d143fe1e2efc084fa730d2dfa22d0d1ca2ee5f1</id>
<content type='text'>
Move the code to handle regular interfaces out of main.c and
into iface.c, keep only the master interface stuff in main.c.

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: 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: make bridge_packets a virtual interface option</title>
<updated>2008-09-15T20:48:22Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-09-10T22:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=213cd118cbb88b76ae48f92cfb7dbef9a83cca62'/>
<id>urn:sha1:213cd118cbb88b76ae48f92cfb7dbef9a83cca62</id>
<content type='text'>
The bridge_packets configuration really should be per virtual
interface (theoretically per AP/VLAN, but this is much easier);
there currently is no way to set it yet though. Also invert
the option to "NO_BRIDGE_PACKETS" so the default is to bridge.

While at it, also document the flags properly.

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>
</feed>
