<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/debugfs_sta.c, 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-01T20:40:07Z</updated>
<entry>
<title>mac80211: reduce stack usage in sta_agg_status_read()</title>
<updated>2010-02-01T20:40:07Z</updated>
<author>
<name>Pavel Roskin</name>
</author>
<published>2010-01-31T00:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e0b20f1c67fc4379fce430ff720969f35e123eed'/>
<id>urn:sha1:e0b20f1c67fc4379fce430ff720969f35e123eed</id>
<content type='text'>
Use a more compact and readable format for "agg_status" to reduce the
stack frame to less than 1024 bytes.

Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: reduce stack usage in sta_ht_capa_read()</title>
<updated>2010-02-01T20:40:07Z</updated>
<author>
<name>Pavel Roskin</name>
</author>
<published>2010-01-31T00:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c82bf8e5689b1dddd9bcec70efc3b70edef1670'/>
<id>urn:sha1:4c82bf8e5689b1dddd9bcec70efc3b70edef1670</id>
<content type='text'>
The maximal size of the "ht_capa" file is 430 bytes.  In most cases,
it's much shorter.  Use a 512 byte long buffer.  1024 bytes is too much
and causes a warning with CONFIG_FRAME_WARN=1024.

Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: only bother printing highest data rate on debugfs if its set</title>
<updated>2009-12-22T18:56:02Z</updated>
<author>
<name>Luis R. Rodriguez</name>
</author>
<published>2009-12-07T20:57:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9da3e068142ec7856b2f13261dcf0660fad32b61'/>
<id>urn:sha1:9da3e068142ec7856b2f13261dcf0660fad32b61</id>
<content type='text'>
IEEE-802.11n spec says the RX highest data rate field does
not specify the highest supported RX data rate if its not set.
Ignore it if not set then. Refer to section 7.3.56.4

Cc: johannes@sipsolutions.net
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: parse the HT capabilities info through debugfs</title>
<updated>2009-12-22T18:56:00Z</updated>
<author>
<name>Luis R. Rodriguez</name>
</author>
<published>2009-12-07T19:54:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7db94e210351e8578d4a98fed3edd4df5f10ae9d'/>
<id>urn:sha1:7db94e210351e8578d4a98fed3edd4df5f10ae9d</id>
<content type='text'>
When debugging you want to be lazy and not have to parse
bits yourself so let mac80211 debugfs do the parsing for you.

This is what I get against my WRT610N:

root@tux:~# cat /sys/kernel/debug/ieee80211/phy0/stations/00\:22\:6b\:aa\:bb\:01/ht_capa
ht supported
cap: 0x000e
	HT20/HT40
	SM Power Save disabled
	No RX STBC
	Max AMSDU length: 7935 bytes
	No DSSS/CCK HT40
ampdu factor/density: 2/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0

Cc: johannes@sipsolutions.net
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: make debugfs mcs set entry reflect 16 bits</title>
<updated>2009-12-22T18:55:58Z</updated>
<author>
<name>Luis R. Rodriguez</name>
</author>
<published>2009-12-07T19:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb136f54ee11f9ead716b5ad0b10fa1c1b05271d'/>
<id>urn:sha1:cb136f54ee11f9ead716b5ad0b10fa1c1b05271d</id>
<content type='text'>
The MCS set is 16 bits so when debugging ensure the full 16 bits
are represented. Current reading would make you think its only
8 bits.

Cc: johannes@sipsolutions.net
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&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>
<entry>
<title>mac80211: add per-station HT capability file</title>
<updated>2009-11-19T16:09:08Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2009-11-19T13:26:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64491f0ec8b653560a030022dccfce67ad353d81'/>
<id>urn:sha1:64491f0ec8b653560a030022dccfce67ad353d81</id>
<content type='text'>
This is sometimes useful to debug HT issues
as it shows what exactly the stack thinks
the peer supports.

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: async station powersave handling</title>
<updated>2009-11-06T21:49:10Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2009-11-06T10:35:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af81858172cc0f3da81946aab919c26e4b364efc'/>
<id>urn:sha1:af81858172cc0f3da81946aab919c26e4b364efc</id>
<content type='text'>
Some devices require that all frames to a station
are flushed when that station goes into powersave
mode before being able to send frames to that
station again when it wakes up or polls -- all in
order to avoid reordering and too many or too few
frames being sent to the station when it polls.

Normally, this is the case unless the station
goes to sleep and wakes up very quickly again.
But in that case, frames for it may be pending
on the hardware queues, and thus races could
happen in the case of multiple hardware queues
used for QoS/WMM. Normally this isn't a problem,
but with the iwlwifi mechanism we need to make
sure the race doesn't happen.

This makes mac80211 able to cope with the race
with driver help by a new WLAN_STA_PS_DRIVER
per-station flag that can be controlled by the
driver and tells mac80211 whether it can transmit
frames or not. This flag must be set according to
very specific rules outlined in the documentation
for the function that controls it.

When we buffer new frames for the station, we
normally set the TIM bit right away, but while
the driver has blocked transmission to that sta
we need to avoid that as well since we cannot
respond to the station if it wakes up due to the
TIM bit. Once the driver unblocks, we can set
the TIM bit.

Similarly, when the station just wakes up, we
need to wait until all other frames are flushed
before we can transmit frames to that station,
so the same applies here, we need to wait for
the driver to give the OK.

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: deprecate qual value</title>
<updated>2009-10-30T20:50:39Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2009-10-29T07:41:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c27f2fded51948edf40007f4f31350e9e0c6ba23'/>
<id>urn:sha1:c27f2fded51948edf40007f4f31350e9e0c6ba23</id>
<content type='text'>
This value is unused by mac80211, because it was only
be used by wireless extensions, and turned out to not
be useful there because the quality value needs to be
comparable between scan results and the current value
which is impossible when the qual value is calculated
taking into account noise, for example.

Since it is unused anyway, this patch deprecates it
in the hope that drivers will remove their sometimes
quite expensive calculations of the value.

I'm open to actual uses of the value, but the best
way of using it seems to be what the Intel drivers do
which should probably be generalised if we have noise
values from the hardware.

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>cfg80211/mac80211: use debugfs_remove_recursive</title>
<updated>2009-10-30T20:49:18Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2009-10-27T11:59:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7bcfaf2f431c09c51fe776fc06638b25d3b421c5'/>
<id>urn:sha1:7bcfaf2f431c09c51fe776fc06638b25d3b421c5</id>
<content type='text'>
We can save a lot of code and pointers in the structs
by using debugfs_remove_recursive().

First, change cfg80211 to use debugfs_remove_recursive()
so that drivers do not need to clean up any files they
added to the per-wiphy debugfs (if and only if they are
ok to be accessed until after wiphy_unregister!).

Then also make mac80211 use debugfs_remove_recursive()
where necessary -- it need not remove per-wiphy files
as cfg80211 now removes those, but netdev etc. files
still need to be handled but can now be removed without
needing struct dentry pointers to all of them.

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