<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/status.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-01-17T16:45:55Z</updated>
<entry>
<title>mac80211: introduce IEEE80211_HW_TEARDOWN_AGGR_ON_BAR_FAIL</title>
<updated>2013-01-17T16:45:55Z</updated>
<author>
<name>Stanislaw Gruszka</name>
</author>
<published>2012-12-03T11:56:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b3da3acecc614511a9f6bde79c529f1020361ed'/>
<id>urn:sha1:7b3da3acecc614511a9f6bde79c529f1020361ed</id>
<content type='text'>
commit 5b632fe85ec82e5c43740b52e74c66df50a37db3 upstream.

Commit f0425beda4d404a6e751439b562100b902ba9c98 "mac80211: retry sending
failed BAR frames later instead of tearing down aggr" caused regression
on rt2x00 hardware (connection hangs). This regression was fixed by
commit be03d4a45c09ee5100d3aaaedd087f19bc20d01 "rt2x00: Don't let
mac80211 send a BAR when an AMPDU subframe fails". But the latter
commit caused yet another problem reported in
https://bugzilla.kernel.org/show_bug.cgi?id=42828#c22

After long discussion in this thread:
http://mid.gmane.org/20121018075615.GA18212@redhat.com
and testing various alternative solutions, which failed on one or other
setup, we have no other good fix for the issues like just revert both
mentioned earlier commits.

To do not affect other hardware which benefit from commit
f0425beda4d404a6e751439b562100b902ba9c98, instead of reverting it,
introduce flag that when used will restore mac80211 behaviour before
the commit.

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
[replaced link with mid.gmane.org that has message-id]
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mac80211: call skb_dequeue/ieee80211_free_txskb instead of __skb_queue_purge</title>
<updated>2012-11-10T20:26:28Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2012-11-10T02:44:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1f98ab7fef48a2968f37f422c256c9fbd978c3f0'/>
<id>urn:sha1:1f98ab7fef48a2968f37f422c256c9fbd978c3f0</id>
<content type='text'>
Fixes more wifi status skb leaks, leading to hostapd/wpa_supplicant hangs.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: use ieee80211_free_txskb to fix possible skb leaks</title>
<updated>2012-10-08T19:06:05Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2012-10-08T12:39:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8'/>
<id>urn:sha1:c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8</id>
<content type='text'>
A few places free skbs using dev_kfree_skb even though they're called
after ieee80211_subif_start_xmit might have cloned it for tracking tx
status. Use ieee80211_free_txskb here to prevent skb leaks.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>mac80211: validate skb-&gt;dev in the tx status path</title>
<updated>2012-09-10T16:44:58Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2012-09-08T09:58:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1bad53824305807bb5cf49d6b588dd9d867586c6'/>
<id>urn:sha1:1bad53824305807bb5cf49d6b588dd9d867586c6</id>
<content type='text'>
skb-&gt;dev might contain a stale reference to a device that was already
deleted, and using it unchecked can lead to invalid pointer accesses.
Since this is only used for nl80211 tx, iterate over active interfaces
to find a match for skb-&gt;dev, and discard the tx status if the device
is gone.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: support P2P Device abstraction</title>
<updated>2012-08-20T11:58:22Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-06-18T18:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f142c6b906da451ded2c7a8e17b2a0e6fee3e891'/>
<id>urn:sha1:f142c6b906da451ded2c7a8e17b2a0e6fee3e891</id>
<content type='text'>
After cfg80211 got a P2P Device abstraction, add
support to mac80211. Whether it really is supported
or not will depend on whether or not the driver has
support for it, but mac80211 needs to change to be
able to support drivers that need a P2P Device.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: use wdev in mgmt-tx/ROC APIs</title>
<updated>2012-07-09T12:51:47Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-06-15T13:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71bbc9943883cffaf5d7a7728a4e4c50b3ac44d3'/>
<id>urn:sha1:71bbc9943883cffaf5d7a7728a4e4c50b3ac44d3</id>
<content type='text'>
The management frame and remain-on-channel APIs will be
needed in the P2P device abstraction, so move them over
to the new wdev-based APIs. Userspace can still use both
the interface index and wdev identifier for them so it's
backward compatible, but for the P2P Device wdev it will
be able to use the wdev identifier only.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: clean up debugging</title>
<updated>2012-06-24T09:32:29Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-06-22T09:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdcbd8e0e3ffdad32b14b6373e67bfcf5fd3f002'/>
<id>urn:sha1:bdcbd8e0e3ffdad32b14b6373e67bfcf5fd3f002</id>
<content type='text'>
There are a few things that make the logging and
debugging in mac80211 less useful than it should
be right now:
 * a lot of messages should be pr_info, not pr_debug
 * wholesale use of pr_debug makes it require *both*
   Kconfig and dynamic configuration
 * there are still a lot of ifdefs
 * the style is very inconsistent, sometimes the
   sdata-&gt;name is printed in front

Clean up everything, introducing new macros and
separating out the station MLME debugging into
a new Kconfig symbol.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: two small verbose debug cleanups</title>
<updated>2012-06-22T10:53:05Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-06-22T09:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08ce5abe3d0e29a7c8b46c4bec891862941116d7'/>
<id>urn:sha1:08ce5abe3d0e29a7c8b46c4bec891862941116d7</id>
<content type='text'>
Two instances of CONFIG_MAC80211_VERBOSE_DEBUG
should be different, fix them.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: unify SW/offload remain-on-channel</title>
<updated>2012-06-06T19:31:18Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-06-05T12:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2eb278e083549f4eb29838037004054b3b55df62'/>
<id>urn:sha1:2eb278e083549f4eb29838037004054b3b55df62</id>
<content type='text'>
Redesign all the off-channel code, getting rid of
the generic off-channel work concept, replacing
it with a simple remain-on-channel list.

This fixes a number of small issues with the ROC
implementation:
 * offloaded remain-on-channel couldn't be queued,
   now we can queue it as well, if needed
 * in iwlwifi (the only user) offloaded ROC is
   mutually exclusive with scanning, use the new
   queue to handle that case -- I expect that it
   will later depend on a HW flag

The bigger issue though is that there's a bad bug
in the current implementation: if we get a mgmt
TX request while HW roc is active, and this new
request has a wait time, we actually schedule a
software ROC instead since we can't guarantee the
existing offloaded ROC will still be that long.
To fix this, the queuing mechanism was needed.

The queuing mechanism for offloaded ROC isn't yet
optimal, ideally we should add API to have the HW
extend the ROC if needed. We could add that later
but for now use a software implementation.

Overall, this unifies the behaviour between the
offloaded and software-implemented case as much
as possible.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>net: mac80211: Convert printk(KERN_DEBUG to pr_debug</title>
<updated>2012-06-05T19:27:16Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2012-05-15T21:20:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0d232080fa5d040aaf73a39d127b003cdd2d0ae'/>
<id>urn:sha1:f0d232080fa5d040aaf73a39d127b003cdd2d0ae</id>
<content type='text'>
Standardize the debugging to be able to use dynamic_debug.

Coalesce formats, align arguments.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
