<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/driver-trace.h, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-02-08T21:51:01Z</updated>
<entry>
<title>mac80211: remove get_tx_stats() driver op</title>
<updated>2010-02-08T21:51:01Z</updated>
<author>
<name>Kalle Valo</name>
</author>
<published>2010-02-07T08:22:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=349e6b7289f8a3d3d5d3b859e00b41f27d1211df'/>
<id>urn:sha1:349e6b7289f8a3d3d5d3b859e00b41f27d1211df</id>
<content type='text'>
get_tx_stats() driver operation is not currently used anywhere in mac80211
and there are no plans to use it in the not-so-near future. So it can go
without anyone missing it.

Signed-off-by: Kalle Valo &lt;kalle.valo@iki.fi&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: allow station add/remove to sleep</title>
<updated>2010-02-08T21:50:53Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-02-03T12:59:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34e895075e21be3e21e71d6317440d1ee7969ad0'/>
<id>urn:sha1:34e895075e21be3e21e71d6317440d1ee7969ad0</id>
<content type='text'>
Many drivers would like to sleep during station
addition and removal, and currently have a high
complexity there from not being able to.

This introduces two new callbacks sta_add() and
sta_remove() that drivers can implement instead
of using sta_notify() and that can sleep, and
the new sta_add() callback is also allowed to
fail.

The reason we didn't do this previously is that
the IBSS code wants to insert stations from the
RX path, which is a tasklet, so cannot sleep.
This patch will keep the station allocation in
that path, but moves adding the station to the
driver out of line. Since the addition can now
fail, we can have IBSS peer structs the driver
rejected -- in that case we still talk to the
station but never tell the driver about it in
the control.sta pointer. If there will ever be
a driver that has a low limit on the number of
stations and that cannot talk to any stations
that are not known to it, we need to do come up
with a new strategy of handling larger IBSSs,
maybe quicker expiry or rejecting peers.

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>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6</title>
<updated>2010-02-08T21:38:38Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2010-02-08T21:38:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e7e6213e4956828927c30e3ef5a42812d00c650'/>
<id>urn:sha1:6e7e6213e4956828927c30e3ef5a42812d00c650</id>
<content type='text'>
Conflicts:
	net/mac80211/scan.c
</content>
</entry>
<entry>
<title>mac80211: fix NULL pointer dereference when ftrace is enabled</title>
<updated>2010-01-26T16:52:13Z</updated>
<author>
<name>Zhu Yi</name>
</author>
<published>2010-01-26T07:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3092ad054406f069991ca561adc74f2d9fbb6867'/>
<id>urn:sha1:3092ad054406f069991ca561adc74f2d9fbb6867</id>
<content type='text'>
I got below kernel oops when I try to bring down the network interface if
ftrace is enabled. The root cause is drv_ampdu_action() is passed with a
NULL ssn pointer in the BA session tear down case. We need to check and
avoid dereferencing it in trace entry assignment.

BUG: unable to handle kernel NULL pointer dereference
Modules linked in: at (null)
IP: [&lt;f98fe02a&gt;] ftrace_raw_event_drv_ampdu_action+0x10a/0x160 [mac80211]
*pde = 00000000
Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[...]
Call Trace:
 [&lt;f98fdf20&gt;] ? ftrace_raw_event_drv_ampdu_action+0x0/0x160 [mac80211]
 [&lt;f98dac4c&gt;] ? __ieee80211_stop_rx_ba_session+0xfc/0x220 [mac80211]
 [&lt;f98d97fb&gt;] ? ieee80211_sta_tear_down_BA_sessions+0x3b/0x50 [mac80211]
 [&lt;f98dc6f6&gt;] ? ieee80211_set_disassoc+0xe6/0x230 [mac80211]
 [&lt;f98dc6ac&gt;] ? ieee80211_set_disassoc+0x9c/0x230 [mac80211]
 [&lt;f98dcbb8&gt;] ? ieee80211_mgd_deauth+0x158/0x170 [mac80211]
 [&lt;f98e4bdb&gt;] ? ieee80211_deauth+0x1b/0x20 [mac80211]
 [&lt;f8987f49&gt;] ? __cfg80211_mlme_deauth+0xe9/0x120 [cfg80211]
 [&lt;f898b870&gt;] ? __cfg80211_disconnect+0x170/0x1d0 [cfg80211]

Cc: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Cc: stable@kernel.org
Signed-off-by: Zhu Yi &lt;yi.zhu@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: pass vif and station to update_tkip_key</title>
<updated>2010-01-22T21:08:55Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2010-01-21T10:40:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3fbdcf49f940d0703c356441e0daf045e64e076'/>
<id>urn:sha1:b3fbdcf49f940d0703c356441e0daf045e64e076</id>
<content type='text'>
When a TKIP key is updated, we should pass the station
pointer instead of just the address, since drivers can
use that to store their own data. We also need to pass
the virtual interface pointer.

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 new callback set_coverage_class</title>
<updated>2010-01-12T18:50:07Z</updated>
<author>
<name>Lukáš Turek</name>
</author>
<published>2009-12-21T21:50:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=310bc676e314e92c18257bfc916951879451ee32'/>
<id>urn:sha1:310bc676e314e92c18257bfc916951879451ee32</id>
<content type='text'>
Mac80211 callback to driver set_coverage_class() sets slot time and ACK
timeout for given IEEE 802.11 coverage class. The callback is optional,
but it's essential for long distance links.

Signed-off-by: Lukas Turek &lt;8an@praha12.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: introduce flush operation</title>
<updated>2009-12-28T21:54:51Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2009-12-23T12:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a80f7c0b088187c8471b441d461e937991870661'/>
<id>urn:sha1:a80f7c0b088187c8471b441d461e937991870661</id>
<content type='text'>
We've long lacked a good confirmation that frames
have really gone out, e.g. before going off-channel
for a scan. Add a flush() operation that drivers
can implement to provide that confirmation, and use
it in a few places:
 * before scanning sends the nullfunc frames
 * after scanning sends the nullfunc frames, if any
 * when going idle, to send any pending frames

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: enable spatial multiplexing powersave</title>
<updated>2009-12-22T18:31:16Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2009-12-01T12:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f78231bffb868a30e8533aace142213266bb811'/>
<id>urn:sha1:0f78231bffb868a30e8533aace142213266bb811</id>
<content type='text'>
Enable spatial multiplexing in mac80211 by telling the
driver what to do and, where necessary, sending action
frames to the AP to update the requested SMPS mode.

Also includes a trivial implementation for hwsim that
just logs the requested mode.

For now, the userspace interface is in debugfs only,
and let you toggle the requested mode at any time.

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: trace interface name</title>
<updated>2009-12-21T23:38:54Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2009-11-25T19:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12375ef933fa8271396ed0c1e318cb1bd2e2689d'/>
<id>urn:sha1:12375ef933fa8271396ed0c1e318cb1bd2e2689d</id>
<content type='text'>
It's not all that useful to have the vif/sdata pointer,
we'd rather refer to the interfaces by their name.

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: reduce reliance on netdev</title>
<updated>2009-12-21T23:38:52Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2009-11-25T16:46:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47846c9b0c10808d9337d2e7d09361f3e0a0a71a'/>
<id>urn:sha1:47846c9b0c10808d9337d2e7d09361f3e0a0a71a</id>
<content type='text'>
For bluetooth 3, we will most likely not have
a netdev for a virtual interface (sdata), so
prepare for that by reducing the reliance on
having a netdev. This patch moves the name
and address fields into the sdata struct and
uses them from there all over. Some work is
needed to keep them sync'ed, but that's not
a lot of work and in slow paths anyway.

In doing so, this also reduces the number of
pointer dereferences in many places, because
of things like sdata-&gt;dev-&gt;dev_addr becoming
sdata-&gt;vif.addr.

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