<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/net/mac80211, branch v3.5</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<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>
<entry>
<title>mac80211: add missing kernel-doc</title>
<updated>2012-06-12T11:56:41+00:00</updated>
<author>
<name>Ashok Nagarajan</name>
<email>ashok@cozybit.com</email>
</author>
<published>2012-06-11T17:23:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1dd45581e6dc98467c539ea67ae5c847646f0efd'/>
<id>1dd45581e6dc98467c539ea67ae5c847646f0efd</id>
<content type='text'>
Add a few kernel-doc descriptions that were missed
during mesh development.

Reported-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Ashok Nagarajan &lt;ashok@cozybit.com&gt;
Acked-by: Randy Dunlap &lt;rdunlap@xenotime.net&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>
Add a few kernel-doc descriptions that were missed
during mesh development.

Reported-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Ashok Nagarajan &lt;ashok@cozybit.com&gt;
Acked-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: add some missing kernel-doc</title>
<updated>2012-06-09T08:31:09+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2012-06-09T08:31:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d13e14148154e5ce58467e76321eef1dd912c416'/>
<id>d13e14148154e5ce58467e76321eef1dd912c416</id>
<content type='text'>
Add a few kernel-doc descriptions that were missed
during development.

Reported-by: Randy Dunlap &lt;rdunlap@xenotime.net&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>
Add a few kernel-doc descriptions that were missed
during development.

Reported-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: add back channel change flag</title>
<updated>2012-06-08T17:47:08+00:00</updated>
<author>
<name>Stanislaw Gruszka</name>
<email>sgruszka@redhat.com</email>
</author>
<published>2012-06-07T12:47:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=6aee4ca3d2217d3f76469e5ed576d62695f0912a'/>
<id>6aee4ca3d2217d3f76469e5ed576d62695f0912a</id>
<content type='text'>
commit 24398e39c8ee4a9d9123eed322b859ece4d16cac
Author: Johannes Berg &lt;johannes.berg@intel.com&gt;
Date:   Wed Mar 28 10:58:36 2012 +0200

    mac80211: set HT channel before association

removed IEEE80211_CONF_CHANGE_CHANNEL argument from ieee80211_hw_config,
which is required by iwl4965 driver, otherwise that driver does not
configure channel properly and is not able to associate.

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.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>
commit 24398e39c8ee4a9d9123eed322b859ece4d16cac
Author: Johannes Berg &lt;johannes.berg@intel.com&gt;
Date:   Wed Mar 28 10:58:36 2012 +0200

    mac80211: set HT channel before association

removed IEEE80211_CONF_CHANGE_CHANNEL argument from ieee80211_hw_config,
which is required by iwl4965 driver, otherwise that driver does not
configure channel properly and is not able to associate.

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211: fix non RCU-safe sta_list manipulation</title>
<updated>2012-06-04T19:26:54+00:00</updated>
<author>
<name>Arik Nemtsov</name>
<email>arik@wizery.com</email>
</author>
<published>2012-06-03T20:32:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=794454ce72a298de6f4536ade597bdcc7dcde7c7'/>
<id>794454ce72a298de6f4536ade597bdcc7dcde7c7</id>
<content type='text'>
sta_info_cleanup locks the sta_list using rcu_read_lock however
the delete operation isn't rcu safe. A race between sta_info_cleanup
timer being called and a STA being removed can occur which leads
to a panic while traversing sta_list. Fix this by switching to the
RCU-safe versions.

Cc: stable@vger.kernel.org
Reported-by: Eyal Shapira &lt;eyal@wizery.com&gt;
Signed-off-by: Arik Nemtsov &lt;arik@wizery.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>
sta_info_cleanup locks the sta_list using rcu_read_lock however
the delete operation isn't rcu safe. A race between sta_info_cleanup
timer being called and a STA being removed can occur which leads
to a panic while traversing sta_list. Fix this by switching to the
RCU-safe versions.

Cc: stable@vger.kernel.org
Reported-by: Eyal Shapira &lt;eyal@wizery.com&gt;
Signed-off-by: Arik Nemtsov &lt;arik@wizery.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
