<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mac80211/rx.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>2012-10-26T20:52:42Z</updated>
<entry>
<title>mac80211: make sure data is accessible in EAPOL check</title>
<updated>2012-10-26T20:52:42Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-10-25T22:41:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6dbda2d00d466225f9db1dc695ff852443f28832'/>
<id>urn:sha1:6dbda2d00d466225f9db1dc695ff852443f28832</id>
<content type='text'>
The code to allow EAPOL frames even when the station
isn't yet marked associated needs to check that the
incoming frame is long enough and due to paged RX it
also can't assume skb-&gt;data contains the right data,
it must use skb_copy_bits(). Fix this to avoid using
data that doesn't really exist.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: verify that skb data is present</title>
<updated>2012-10-26T20:52:42Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-10-25T22:36:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b395bc3be1cebf0144a127c7e67d56dbdac0930'/>
<id>urn:sha1:9b395bc3be1cebf0144a127c7e67d56dbdac0930</id>
<content type='text'>
A number of places in the mesh code don't check that
the frame data is present and in the skb header when
trying to access. Add those checks and the necessary
pskb_may_pull() calls. This prevents accessing data
that doesn't actually exist.

To do this, export ieee80211_get_mesh_hdrlen() to be
able to use it in mac80211.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: check management frame header length</title>
<updated>2012-10-26T20:52:41Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-10-25T22:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a4f1a5808c8bb0b72a4f6e5904c53fb8c9cd966'/>
<id>urn:sha1:4a4f1a5808c8bb0b72a4f6e5904c53fb8c9cd966</id>
<content type='text'>
Due to pskb_may_pull() checking the skb length, all
non-management frames are checked on input whether
their 802.11 header is fully present. Also add that
check for management frames and remove a check that
is now duplicate. This prevents accessing skb data
beyond the frame end.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: don't inspect Sequence Control field on control frames</title>
<updated>2012-10-25T19:54:41Z</updated>
<author>
<name>Javier Cardona</name>
</author>
<published>2012-10-25T18:10:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7fbf70ee9db6da6033ae50d100e017ac1f26555'/>
<id>urn:sha1:f7fbf70ee9db6da6033ae50d100e017ac1f26555</id>
<content type='text'>
Per IEEE Std. 802.11-2012, Sec 8.2.4.4.1, the sequence Control field is
not present in control frames.  We noticed this problem when processing
Block Ack Requests.

Cc: stable@vger.kernel.org
Signed-off-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: Javier Lopez &lt;jlopex@cozybit.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: Don't drop frames received with mesh ttl == 1</title>
<updated>2012-10-25T11:52:20Z</updated>
<author>
<name>Javier Cardona</name>
</author>
<published>2012-10-24T19:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ac64cd17f9af6d6adaa921bd9846a3c9bb9235c'/>
<id>urn:sha1:2ac64cd17f9af6d6adaa921bd9846a3c9bb9235c</id>
<content type='text'>
Prior this fix, those frames were not received, nor forwarded.  Fix
this to receive and not forward.

Signed-off-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: Only process mesh config header on frames that RA_MATCH</title>
<updated>2012-10-25T11:51:29Z</updated>
<author>
<name>Javier Cardona</name>
</author>
<published>2012-10-24T19:43:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=555cb715be8ef98b8ec362b23dfc254d432a35b1'/>
<id>urn:sha1:555cb715be8ef98b8ec362b23dfc254d432a35b1</id>
<content type='text'>
Doing otherwise is wrong, and may wreak havoc on the mpp tables,
specially if the frame is encrypted.

Cc: stable@vger.kernel.org
Reported-by: Chaoxing Lin &lt;Chaoxing.Lin@ultra-3eti.com&gt;
Signed-off-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: don't use kerneldoc for ieee80211_add_rx_radiotap_header</title>
<updated>2012-09-05T13:55:27Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-09-05T13:54:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00ea6deb0cb1af8df4ea899330bfd238c93ef164'/>
<id>urn:sha1:00ea6deb0cb1af8df4ea899330bfd238c93ef164</id>
<content type='text'>
Doing so creates warnings, but the function is internal and
not part of the 802.11 docbooks, so it from kerneldoc.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: use RX status band instead of current band</title>
<updated>2012-08-20T12:13:43Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-07-26T12:31:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4797c7ba93e4049cdda18045c01bbe563aafff69'/>
<id>urn:sha1:4797c7ba93e4049cdda18045c01bbe563aafff69</id>
<content type='text'>
Even for single-channel devices it is possible that we
switch the channel temporarily (e.g. for scanning) but
while doing so process a received frame that was still
received on the old channel, so checking the current
band is racy. Use the band from status instead.

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>mac80211: support A-MPDU status reporting</title>
<updated>2012-08-20T11:53:22Z</updated>
<author>
<name>Johannes Berg</name>
</author>
<published>2012-07-05T09:34:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c29867790131c281ef96af507d85e3e5f829408'/>
<id>urn:sha1:4c29867790131c281ef96af507d85e3e5f829408</id>
<content type='text'>
Support getting A-MPDU status information from the
drivers and reporting it to userspace via radiotap
in the standard fields.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
</feed>
