<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/tx.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-07-24T16:14:02Z</updated>
<entry>
<title>mac80211: detect driver tx bugs</title>
<updated>2008-07-24T16:14:02Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2008-07-03T01:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da1be4d48515fde4eab98c776726747f7694f59f'/>
<id>urn:sha1:da1be4d48515fde4eab98c776726747f7694f59f</id>
<content type='text'>
When a driver rejects a frame in it's -&gt;tx() callback, it must also
stop queues, otherwise mac80211 can go into a loop here. Detect this
situation and abort the loop after five retries, warning about the
driver bug.

This patch was added to mainline as
commit ef3a62d272f033989e83eb1f26505f93f93e3e69.

Thanks to Larry Finger &lt;Larry.Finger@lwfinger.net&gt; for doing the -stable
port.

Cc: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

</content>
</entry>
<entry>
<title>mac80211: Initialize vif pointer</title>
<updated>2008-01-28T23:10:08Z</updated>
<author>
<name>Ivo van Doorn</name>
</author>
<published>2008-01-13T13:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f7054e32fab251af5cab116da0ef6624a1a0c8b'/>
<id>urn:sha1:0f7054e32fab251af5cab116da0ef6624a1a0c8b</id>
<content type='text'>
Before calling update_beacon() mac80211 must
initialize the control.vif pointer so it can
be used by the driver to determine which
interface is trying to send the beacon.

v2: ieee80211_beacon_get() should also initialize the
vif pointer since it can be called by mac80211 internally
before calling config_interface().

Signed-off-by: Ivo van Doorn &lt;IvDoorn@gmail.com&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: add unified BSS configuration</title>
<updated>2008-01-28T23:09:43Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2007-12-28T13:32:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=471b3efdfccc257591331724145f8ccf8b3217e1'/>
<id>urn:sha1:471b3efdfccc257591331724145f8ccf8b3217e1</id>
<content type='text'>
This patch (based on Ron Rindjunsky's) creates a framework for
a unified way to pass BSS configuration to drivers that require
the information, e.g. for implementing power save mode.

This patch introduces new ieee80211_bss_conf structure that is
passed to the driver via the new bss_info_changed() callback
when the BSS configuration changes.

This new BSS configuration infrastructure adds the following
new features:
 * drivers are notified of their association AID
 * drivers are notified of association status

and replaces the erp_ie_changed() callback. The patch also does
the relevant driver updates for the latter change.

Signed-off-by: Ron Rindjunsky &lt;ron.rindjunsky@intel.com&gt;
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: add beacon configuration via cfg80211</title>
<updated>2008-01-28T23:09:38Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2007-12-19T01:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5dfdaf58d61f06a458529430c24b1191ea4d1a27'/>
<id>urn:sha1:5dfdaf58d61f06a458529430c24b1191ea4d1a27</id>
<content type='text'>
This patch implements the cfg80211 hooks for configuring beaconing
on an access point interface in mac80211. While doing so, it fixes
a number of races that could badly crash the machine when the
beacon is changed while being requested by the driver.

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 interface type to vif structure</title>
<updated>2008-01-28T23:09:37Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2007-12-19T00:31:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51fb61e76d952e6bc2fbdd9f0d38425fbab1cf31'/>
<id>urn:sha1:51fb61e76d952e6bc2fbdd9f0d38425fbab1cf31</id>
<content type='text'>
Drivers that support mixed AP/STA operation may well need to
know the type of a virtual interface when iterating over them.
The easiest way to support that is to move the interface type
variable into the vif structure.

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: dont use interface indices in drivers</title>
<updated>2008-01-28T23:09:36Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2007-12-19T00:31:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32bfd35d4b63bd63de4bb0d791ef049c3c868726'/>
<id>urn:sha1:32bfd35d4b63bd63de4bb0d791ef049c3c868726</id>
<content type='text'>
This patch gets rid of the if_id stuff where possible in favour of
a new per-virtual-interface structure "struct ieee80211_vif". This
structure is located at the end of the per-interface structure and
contains a variable length driver-use data area.

This has two advantages:
 * removes the need to look up interfaces by if_id, this is better
   for working with network namespaces and performance
 * allows drivers to store and retrieve per-interface data without
   having to allocate own lists/hash tables

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: remove misleading 'res' variable</title>
<updated>2008-01-28T23:00:55Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2007-12-23T09:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d65f5db2f66e3ff44df759fbbb3c7482879fb1e'/>
<id>urn:sha1:6d65f5db2f66e3ff44df759fbbb3c7482879fb1e</id>
<content type='text'>
When this function returns != CONTINUE, it needs to put the
station struct it has acquired. Hence, having this unused
variable is not just superfluous but also misleading.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac80211: move tx crypto decision</title>
<updated>2008-01-28T22:59:53Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2007-12-18T14:27:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=176e4f84423af3105894a7d71b23c1a16678a6be'/>
<id>urn:sha1:176e4f84423af3105894a7d71b23c1a16678a6be</id>
<content type='text'>
This patch moves the decision making about whether a frame is encrypted
with a certain algorithm up into the TX handlers rather than having it
in the crypto algorithm implementation.

This fixes a problem with the radiotap injection code where injecting
a non-data packet and requesting encryption could end up asking the
driver to encrypt a packet without giving it a key.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac80211: allow easier multicast/broadcast buffering in hardware</title>
<updated>2008-01-28T22:59:47Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2007-12-19T00:31:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d54d0ddd66678ada6635159dac1eb82ccbe34b5'/>
<id>urn:sha1:7d54d0ddd66678ada6635159dac1eb82ccbe34b5</id>
<content type='text'>
There are various decisions influencing the decision whether to buffer
a frame for after the next DTIM beacon. The "do we have stations in PS
mode" condition cannot be tested by the driver so mac80211 has to do
that. To ease driver writing for hardware that can buffer frames until
after the next DTIM beacon, introduce a new txctl flag telling the
driver to buffer a specific frame.

While at it, restructure and comment the code for multicast buffering
and remove spurious "inline" directives.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Cc: Michael Buesch &lt;mb@bu3sch.de&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mac80211: clean up eapol handling in TX path</title>
<updated>2008-01-28T22:59:46Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2007-12-19T00:31:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=678f5f7117d5780d3a51b201c9f44b7bf90f6a76'/>
<id>urn:sha1:678f5f7117d5780d3a51b201c9f44b7bf90f6a76</id>
<content type='text'>
The previous patch left only one user of the ieee80211_is_eapol()
function and that user can be eliminated easily by introducing
a new "frame is EAPOL" flag to handle the frame specially (we
already have this information) instead of doing the (expensive)
ieee80211_is_eapol() all the time.

Also, allow unencrypted frames to be sent when they are injected.

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