<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/net/mac80211, branch v3.5.2</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>mac80211: cancel mesh path timer</title>
<updated>2012-08-15T14:52:47+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2012-08-01T19:03:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a43de96a1a79bc4eb797a57834fa6e5fc439ecfe'/>
<id>a43de96a1a79bc4eb797a57834fa6e5fc439ecfe</id>
<content type='text'>
commit dd4c9260e7f23f2e951cbfb2726e468c6d30306c upstream.

The mesh path timer needs to be canceled when
leaving the mesh as otherwise it could fire
after the interface has been removed already.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit dd4c9260e7f23f2e951cbfb2726e468c6d30306c upstream.

The mesh path timer needs to be canceled when
leaving the mesh as otherwise it could fire
after the interface has been removed already.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: fail authentication when AP denied authentication</title>
<updated>2012-08-09T15:22:52+00:00</updated>
<author>
<name>Eliad Peller</name>
<email>eliad@wizery.com</email>
</author>
<published>2012-05-13T15:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=bd9f6140e697f52bdc7225d39a46c6b82d50cacc'/>
<id>bd9f6140e697f52bdc7225d39a46c6b82d50cacc</id>
<content type='text'>
commit dac211ec10d268b9d09000093a9fa2ac1773894f upstream.

ieee80211_rx_mgmt_auth() doesn't handle denied authentication
properly - it authenticates the station and waits for association
(for 5 seconds) instead of failing the authentication.

Fix it by destroying auth_data and bailing out instead.

Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit dac211ec10d268b9d09000093a9fa2ac1773894f upstream.

ieee80211_rx_mgmt_auth() doesn't handle denied authentication
properly - it authenticates the station and waits for association
(for 5 seconds) instead of failing the authentication.

Fix it by destroying auth_data and bailing out instead.

Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: fix read outside array bounds</title>
<updated>2012-08-09T15:22:52+00:00</updated>
<author>
<name>Christian Lamparter</name>
<email>chunkeey@googlemail.com</email>
</author>
<published>2012-07-07T13:07:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b8e69df8d54f9458b38aee32a66ac82e3eaf2a6c'/>
<id>b8e69df8d54f9458b38aee32a66ac82e3eaf2a6c</id>
<content type='text'>
commit 353d09c6ceedc1cb0c54fe5002c0ca80b6ee6e4f upstream.

ieee802_1d_to_ac is defined as a const int[8],
but the tid parameter has a range from 0 to 15.

Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 353d09c6ceedc1cb0c54fe5002c0ca80b6ee6e4f upstream.

ieee802_1d_to_ac is defined as a const int[8],
but the tid parameter has a range from 0 to 15.

Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: fix crash with single-queue drivers</title>
<updated>2012-08-09T15:22:51+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2012-07-04T10:49:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f616071b3dc6a09b4b364ba9f020aa744df68b61'/>
<id>f616071b3dc6a09b4b364ba9f020aa744df68b61</id>
<content type='text'>
commit a6f38ac3cc853189705006cc1e0f17ce8467a1df upstream.

Larry (and some others I think) reported that with
single-queue drivers mac80211 crashes when waking
the queues. This happens because we allocate just
a single queue for each virtual interface in case
the driver doesn't have at least 4 queues, but the
code stopping/waking the virtual interface queues
wasn't taking this into account.

Reported-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Tested-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit a6f38ac3cc853189705006cc1e0f17ce8467a1df upstream.

Larry (and some others I think) reported that with
single-queue drivers mac80211 crashes when waking
the queues. This happens because we allocate just
a single queue for each virtual interface in case
the driver doesn't have at least 4 queues, but the
code stopping/waking the virtual interface queues
wasn't taking this into account.

Reported-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Tested-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: destroy assoc_data correctly if assoc fails</title>
<updated>2012-07-09T19:01:00+00:00</updated>
<author>
<name>Eliad Peller</name>
<email>eliad@wizery.com</email>
</author>
<published>2012-07-02T11:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=10a9109f2705fdc3caa94d768b2559587a9a050c'/>
<id>10a9109f2705fdc3caa94d768b2559587a9a050c</id>
<content type='text'>
If association failed due to internal error (e.g. no
supported rates IE), we call ieee80211_destroy_assoc_data()
with assoc=true, while we actually reject the association.

This results in the BSSID not being zeroed out.

After passing assoc=false, we no longer have to call
sta_info_destroy_addr() explicitly. While on it, move
the "associated" message after the assoc_success check.

Cc: stable@vger.kernel.org [3.4+]
Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
Reviewed-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If association failed due to internal error (e.g. no
supported rates IE), we call ieee80211_destroy_assoc_data()
with assoc=true, while we actually reject the association.

This results in the BSSID not being zeroed out.

After passing assoc=false, we no longer have to call
sta_info_destroy_addr() explicitly. While on it, move
the "associated" message after the assoc_success check.

Cc: stable@vger.kernel.org [3.4+]
Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
Reviewed-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: correct size the argument to kzalloc in minstrel_ht</title>
<updated>2012-07-09T18:59:58+00:00</updated>
<author>
<name>Thomas Huehn</name>
<email>thomas@net.t-labs.tu-berlin.de</email>
</author>
<published>2012-06-29T13:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=472dd35ccbd999a6cb2994c318ca16edf65c4359'/>
<id>472dd35ccbd999a6cb2994c318ca16edf65c4359</id>
<content type='text'>
msp has type struct minstrel_ht_sta_priv not struct minstrel_ht_sta.

(This incorporates the fixup originally posted as "mac80211: fix kzalloc
memory corruption introduced in minstrel_ht". -- JWL)

Reported-by: Fengguang Wu &lt;wfg@linux.intel.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Thomas Huehn &lt;thomas@net.t-labs.tu-berlin.de&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
msp has type struct minstrel_ht_sta_priv not struct minstrel_ht_sta.

(This incorporates the fixup originally posted as "mac80211: fix kzalloc
memory corruption introduced in minstrel_ht". -- JWL)

Reported-by: Fengguang Wu &lt;wfg@linux.intel.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Thomas Huehn &lt;thomas@net.t-labs.tu-berlin.de&gt;
Acked-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: correct behaviour on unrecognised action frames</title>
<updated>2012-06-27T18:48:13+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2012-06-27T13:38:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4b5ebccc40843104d980f0714bc86bfcd5568941'/>
<id>4b5ebccc40843104d980f0714bc86bfcd5568941</id>
<content type='text'>
When receiving an "individually addressed" action frame, the
receiver is required to return it to the sender. mac80211
gets this wrong as it also returns group addressed (mcast)
frames to the sender. Fix this and update the reference to
the new 802.11 standards version since things were shuffled
around significantly.

Cc: stable@kernel.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When receiving an "individually addressed" action frame, the
receiver is required to return it to the sender. mac80211
gets this wrong as it also returns group addressed (mcast)
frames to the sender. Fix this and update the reference to
the new 802.11 standards version since things were shuffled
around significantly.

Cc: stable@kernel.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: clear ifmgd-&gt;bssid only after building DELBA</title>
<updated>2012-06-21T19:44:25+00:00</updated>
<author>
<name>Eliad Peller</name>
<email>eliad@wizery.com</email>
</author>
<published>2012-06-01T08:14:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=88a9e31c506c00c8b7a2f1611406d0e38dcb33b3'/>
<id>88a9e31c506c00c8b7a2f1611406d0e38dcb33b3</id>
<content type='text'>
ieee80211_set_disassoc() clears ifmgd-&gt;bssid before
building DELBA frames, resulting in frames with invalid
bssid ("00:00:00:00:00:00").

Fix it by clearing ifmgd-&gt;bssid only after building
all the needed frames.

After this change, we no longer need to save the
bssid (before clearing it), so remove the local array.

Reported-by: Ido Yariv &lt;ido@wizery.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ieee80211_set_disassoc() clears ifmgd-&gt;bssid before
building DELBA frames, resulting in frames with invalid
bssid ("00:00:00:00:00:00").

Fix it by clearing ifmgd-&gt;bssid only after building
all the needed frames.

After this change, we no longer need to save the
bssid (before clearing it), so remove the local array.

Reported-by: Ido Yariv &lt;ido@wizery.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: stop polling in disassociation</title>
<updated>2012-06-13T08:17:55+00:00</updated>
<author>
<name>David Spinadel</name>
<email>david.spinadel@intel.com</email>
</author>
<published>2012-06-12T06:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=79543d8eecc0957ac6fe3ec1e2486ad31d4b67a3'/>
<id>79543d8eecc0957ac6fe3ec1e2486ad31d4b67a3</id>
<content type='text'>
Stop connection monitor poll during disassociation.
This clears the polling flags and if a scan was
deferred it will be run.

Without this fix, if a scan was deferred due to
connection monitoring while disassociation happens,
this scan blocks further scan requests until interface
down/up which causes problems connecting to another AP.

Signed-off-by: David Spinadel &lt;david.spinadel@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stop connection monitor poll during disassociation.
This clears the polling flags and if a scan was
deferred it will be run.

Without this fix, if a scan was deferred due to
connection monitoring while disassociation happens,
this scan blocks further scan requests until interface
down/up which causes problems connecting to another AP.

Signed-off-by: David Spinadel &lt;david.spinadel@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: check sdata_running on ieee80211_set_bitrate_mask</title>
<updated>2012-06-13T08:17:54+00:00</updated>
<author>
<name>Eliad Peller</name>
<email>eliad@wizery.com</email>
</author>
<published>2012-06-12T09:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=554a43d5e77e8256aa9685ffd19ad555e6f77979'/>
<id>554a43d5e77e8256aa9685ffd19ad555e6f77979</id>
<content type='text'>
Otherwise, we might call the driver callback before
the interface was uploaded.

Solves the following warning:
WARNING: at net/mac80211/driver-ops.h:12 ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211]()
wlan0:  Failed check-sdata-in-driver check, flags: 0x0
Modules linked in: wlcore_sdio wl12xx wl18xx wlcore mac80211 cfg80211 [last unloaded: cfg80211]
[&lt;c001b964&gt;] (unwind_backtrace+0x0/0x12c) from [&lt;c0495550&gt;] (dump_stack+0x20/0x24)
[&lt;c0495550&gt;] (dump_stack+0x20/0x24) from [&lt;c003ee28&gt;] (warn_slowpath_common+0x5c/0x74)
[&lt;c003ee28&gt;] (warn_slowpath_common+0x5c/0x74) from [&lt;c003eefc&gt;] (warn_slowpath_fmt+0x40/0x48)
[&lt;c003eefc&gt;] (warn_slowpath_fmt+0x40/0x48) from [&lt;bf5c1ad0&gt;] (ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211])
[&lt;bf5c1ad0&gt;] (ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211]) from [&lt;bf575960&gt;] (nl80211_set_tx_bitrate_mask+0x350/0x358 [cfg80211])
[&lt;bf575960&gt;] (nl80211_set_tx_bitrate_mask+0x350/0x358 [cfg80211]) from [&lt;c03e9e94&gt;] (genl_rcv_msg+0x1a8/0x1e8)
[&lt;c03e9e94&gt;] (genl_rcv_msg+0x1a8/0x1e8) from [&lt;c03e9164&gt;] (netlink_rcv_skb+0x5c/0xc0)
[&lt;c03e9164&gt;] (netlink_rcv_skb+0x5c/0xc0) from [&lt;c03e9ce0&gt;] (genl_rcv+0x28/0x34)
[&lt;c03e9ce0&gt;] (genl_rcv+0x28/0x34) from [&lt;c03e8e74&gt;] (netlink_unicast+0x158/0x234)
[&lt;c03e8e74&gt;] (netlink_unicast+0x158/0x234) from [&lt;c03e93e0&gt;] (netlink_sendmsg+0x218/0x298)
[&lt;c03e93e0&gt;] (netlink_sendmsg+0x218/0x298) from [&lt;c03b4e5c&gt;] (sock_sendmsg+0xa4/0xc0)
[&lt;c03b4e5c&gt;] (sock_sendmsg+0xa4/0xc0) from [&lt;c03b5af4&gt;] (__sys_sendmsg+0x1d8/0x254)
[&lt;c03b5af4&gt;] (__sys_sendmsg+0x1d8/0x254) from [&lt;c03b5ca8&gt;] (sys_sendmsg+0x4c/0x70)
[&lt;c03b5ca8&gt;] (sys_sendmsg+0x4c/0x70) from [&lt;c0013980&gt;] (ret_fast_syscall+0x0/0x3c)

Note that calling the driver can also result
in undefined behaviour since it doesn't have
to deal with calls while down.

Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
[removed timestamps, added note - Johannes]
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, we might call the driver callback before
the interface was uploaded.

Solves the following warning:
WARNING: at net/mac80211/driver-ops.h:12 ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211]()
wlan0:  Failed check-sdata-in-driver check, flags: 0x0
Modules linked in: wlcore_sdio wl12xx wl18xx wlcore mac80211 cfg80211 [last unloaded: cfg80211]
[&lt;c001b964&gt;] (unwind_backtrace+0x0/0x12c) from [&lt;c0495550&gt;] (dump_stack+0x20/0x24)
[&lt;c0495550&gt;] (dump_stack+0x20/0x24) from [&lt;c003ee28&gt;] (warn_slowpath_common+0x5c/0x74)
[&lt;c003ee28&gt;] (warn_slowpath_common+0x5c/0x74) from [&lt;c003eefc&gt;] (warn_slowpath_fmt+0x40/0x48)
[&lt;c003eefc&gt;] (warn_slowpath_fmt+0x40/0x48) from [&lt;bf5c1ad0&gt;] (ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211])
[&lt;bf5c1ad0&gt;] (ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211]) from [&lt;bf575960&gt;] (nl80211_set_tx_bitrate_mask+0x350/0x358 [cfg80211])
[&lt;bf575960&gt;] (nl80211_set_tx_bitrate_mask+0x350/0x358 [cfg80211]) from [&lt;c03e9e94&gt;] (genl_rcv_msg+0x1a8/0x1e8)
[&lt;c03e9e94&gt;] (genl_rcv_msg+0x1a8/0x1e8) from [&lt;c03e9164&gt;] (netlink_rcv_skb+0x5c/0xc0)
[&lt;c03e9164&gt;] (netlink_rcv_skb+0x5c/0xc0) from [&lt;c03e9ce0&gt;] (genl_rcv+0x28/0x34)
[&lt;c03e9ce0&gt;] (genl_rcv+0x28/0x34) from [&lt;c03e8e74&gt;] (netlink_unicast+0x158/0x234)
[&lt;c03e8e74&gt;] (netlink_unicast+0x158/0x234) from [&lt;c03e93e0&gt;] (netlink_sendmsg+0x218/0x298)
[&lt;c03e93e0&gt;] (netlink_sendmsg+0x218/0x298) from [&lt;c03b4e5c&gt;] (sock_sendmsg+0xa4/0xc0)
[&lt;c03b4e5c&gt;] (sock_sendmsg+0xa4/0xc0) from [&lt;c03b5af4&gt;] (__sys_sendmsg+0x1d8/0x254)
[&lt;c03b5af4&gt;] (__sys_sendmsg+0x1d8/0x254) from [&lt;c03b5ca8&gt;] (sys_sendmsg+0x4c/0x70)
[&lt;c03b5ca8&gt;] (sys_sendmsg+0x4c/0x70) from [&lt;c0013980&gt;] (ret_fast_syscall+0x0/0x3c)

Note that calling the driver can also result
in undefined behaviour since it doesn't have
to deal with calls while down.

Signed-off-by: Eliad Peller &lt;eliad@wizery.com&gt;
[removed timestamps, added note - Johannes]
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
