<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/wireless, branch v3.19</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-01-27T01:32:24Z</updated>
<entry>
<title>Merge tag 'mac80211-for-davem-2015-01-23' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211</title>
<updated>2015-01-27T01:32:24Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2015-01-27T01:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7d63585bf0a6c99382f97a5af71c5b5547fb58a4'/>
<id>urn:sha1:7d63585bf0a6c99382f97a5af71c5b5547fb58a4</id>
<content type='text'>
Another set of last-minute fixes:
 * fix station double-removal when suspending while associating
 * fix the HT (802.11n) header length calculation
 * fix the CCK radiotap flag used for monitoring, a pretty
   old regression but a simple one-liner
 * fix per-station group-key handling

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>nl80211: fix per-station group key get/del and memory leak</title>
<updated>2015-01-23T10:21:02Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2015-01-23T10:10:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0fa7b39131576dd1baa6ca17fca53c65d7f62249'/>
<id>urn:sha1:0fa7b39131576dd1baa6ca17fca53c65d7f62249</id>
<content type='text'>
In case userspace attempts to obtain key information for or delete a
unicast key, this is currently erroneously rejected unless the driver
sets the WIPHY_FLAG_IBSS_RSN flag. Apparently enough drivers do so it
was never noticed.

Fix that, and while at it fix a potential memory leak: the error path
in the get_key() function was placed after allocating a message but
didn't free it - move it to a better place. Luckily admin permissions
are needed to call this operation.

Cc: stable@vger.kernel.org
Fixes: e31b82136d1ad ("cfg80211/mac80211: allow per-station GTKs")
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>mac80211: correct header length calculation</title>
<updated>2015-01-23T09:52:48Z</updated>
<author>
<name>Fred Chou</name>
<email>fred.chou.nd@gmail.com</email>
</author>
<published>2015-01-20T02:17:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb142f4bbb7d718b3d9cc8f27c909b4809545f5c'/>
<id>urn:sha1:fb142f4bbb7d718b3d9cc8f27c909b4809545f5c</id>
<content type='text'>
HT Control field may also be present in management frames, as defined
in 8.2.4.1.10 of 802.11-2012. Account for this in calculation of header
length.

Signed-off-by: Fred Chou &lt;fred.chou.nd@gmail.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'mac80211-for-davem-2015-01-15' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211</title>
<updated>2015-01-16T00:28:36Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2015-01-16T00:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=aaef66b837104e1b2901215de3f68fce9e60acc7'/>
<id>urn:sha1:aaef66b837104e1b2901215de3f68fce9e60acc7</id>
<content type='text'>
Just two fixes - one for an uninialized variable and
one for a deadlock in regulatory processing.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>cfg80211: fix deadlock during reg chan check</title>
<updated>2015-01-07T13:53:46Z</updated>
<author>
<name>Arik Nemtsov</name>
<email>arik@wizery.com</email>
</author>
<published>2014-12-29T09:59:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=20658702e08ecd693236b443837d28863b93e872'/>
<id>urn:sha1:20658702e08ecd693236b443837d28863b93e872</id>
<content type='text'>
If a P2P GO is active, the cfg80211_reg_can_beacon function will take
the wdev lock, in its call to cfg80211_go_permissive_chan. But the wdev lock
is already taken by the parent channel-checking function, causing a
deadlock.
Split the checking code into two parts. The first part will check if the
wdev is active and saves the channel under the wdev lock. The second part
will check actual channel validity according to type.

Signed-off-by: Arik Nemtsov &lt;arikx.nemtsov@intel.com&gt;
Reviewed-by: Ilan Peer &lt;ilan.peer@intel.com&gt;
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "cfg80211: make WEXT compatibility unselectable"</title>
<updated>2014-12-31T00:42:29Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2014-12-30T22:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=831a39c241e1254b6ddb8dea3144e77b9bbf44b3'/>
<id>urn:sha1:831a39c241e1254b6ddb8dea3144e77b9bbf44b3</id>
<content type='text'>
This reverts commit 24a0aa212ee2dbe44360288684478d76a8e20a0a.

It's causing severe userspace breakage.  Namely, all the utilities from
wireless-utils which are relying on CONFIG_WEXT (which means tools like
'iwconfig', 'iwlist', etc) are not working anymore.  There is a 'iw'
utility in newer wireless-tools, which is supposed to be a replacement
for all the "deprecated" binaries, but it's far away from being
massively adopted.

Please see [1] for example of the userspace breakage this is causing.

In addition to that, Larry Finger reports [2] that this patch is also
causing ipw2200 driver being impossible to build.

To me this clearly shows that CONFIG_WEXT is far, far away from being
"deprecated enough" to be removed.

[1] http://thread.gmane.org/gmane.linux.kernel/1857010
[2] http://thread.gmane.org/gmane.linux.network/343688

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>cfg80211: correctly check ad-hoc channels</title>
<updated>2014-12-12T12:40:38Z</updated>
<author>
<name>Arik Nemtsov</name>
<email>arik@wizery.com</email>
</author>
<published>2014-12-03T16:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=185076d6db7b0320fd7669732923179f9a4d068b'/>
<id>urn:sha1:185076d6db7b0320fd7669732923179f9a4d068b</id>
<content type='text'>
Ad-hoc requires beaconing for regulatory purposes. Validate that the
channel is valid for beaconing, and not only enabled.

Signed-off-by: Arik Nemtsov &lt;arikx.nemtsov@intel.com&gt;
Reviewed-by: Luis R. Rodriguez &lt;mcgrof@suse.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: don't WARN about two consecutive Country IE hint</title>
<updated>2014-12-12T12:29:02Z</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2014-12-02T07:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=70dcec5a488a7b81779190ac8089475fe4b8b962'/>
<id>urn:sha1:70dcec5a488a7b81779190ac8089475fe4b8b962</id>
<content type='text'>
This can happen and there is no point in added more
detection code lower in the stack. Catching these in one
single point (cfg80211) is enough. Stop WARNING about this
case.

This fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=89001

Cc: stable@vger.kernel.org
Fixes: 2f1c6c572d7b ("cfg80211: process non country IE conflicting first")
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>nl80211: check matches array length before acessing it</title>
<updated>2014-12-12T11:33:25Z</updated>
<author>
<name>Luciano Coelho</name>
<email>luciano.coelho@intel.com</email>
</author>
<published>2014-12-01T09:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f89f46cf3a23d8d7c98f924a461fd931e1331746'/>
<id>urn:sha1:f89f46cf3a23d8d7c98f924a461fd931e1331746</id>
<content type='text'>
If the userspace passes a malformed sched scan request (or a net
detect wowlan configuration) by adding a NL80211_ATTR_SCHED_SCAN_MATCH
attribute without any nested matchsets, a NULL pointer dereference
will occur.  Fix this by checking that we do have matchsets in our
array before trying to access it.

BUG: unable to handle kernel NULL pointer dereference at 0000000000000024
IP: [&lt;ffffffffa002fd69&gt;] nl80211_parse_sched_scan.part.67+0x6e9/0x900 [cfg80211]
PGD 865c067 PUD 865b067 PMD 0
Oops: 0002 [#1] SMP
Modules linked in: iwlmvm(O) iwlwifi(O) mac80211(O) cfg80211(O) compat(O) [last unloaded: compat]
CPU: 2 PID: 2442 Comm: iw Tainted: G           O   3.17.2 #31
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
task: ffff880013800790 ti: ffff880008d80000 task.ti: ffff880008d80000
RIP: 0010:[&lt;ffffffffa002fd69&gt;]  [&lt;ffffffffa002fd69&gt;] nl80211_parse_sched_scan.part.67+0x6e9/0x900 [cfg80211]
RSP: 0018:ffff880008d838d0  EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 000000000000143c RSI: 0000000000000000 RDI: ffff880008ee8dd0
RBP: ffff880008d83948 R08: 0000000000000002 R09: 0000000000000019
R10: ffff88001d1b3c40 R11: 0000000000000002 R12: ffff880019e85e00
R13: 00000000fffffed4 R14: ffff880009757800 R15: 0000000000001388
FS:  00007fa3b6d13700(0000) GS:ffff88003e200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000024 CR3: 0000000008670000 CR4: 00000000000006e0
Stack:
 ffff880009757800 ffff880000000001 0000000000000000 ffff880008ee84e0
 0000000000000000 ffff880009757800 00000000fffffed4 ffff880008d83948
 ffffffff814689c9 ffff880009757800 ffff880008ee8000 0000000000000000
Call Trace:
 [&lt;ffffffff814689c9&gt;] ? nla_parse+0xb9/0x120
 [&lt;ffffffffa00306de&gt;] nl80211_set_wowlan+0x75e/0x960 [cfg80211]
 [&lt;ffffffff810bf3d5&gt;] ? mark_held_locks+0x75/0xa0
 [&lt;ffffffff8161a77b&gt;] genl_family_rcv_msg+0x18b/0x360
 [&lt;ffffffff810bf66d&gt;] ? trace_hardirqs_on+0xd/0x10
 [&lt;ffffffff8161a9d4&gt;] genl_rcv_msg+0x84/0xc0
 [&lt;ffffffff8161a950&gt;] ? genl_family_rcv_msg+0x360/0x360
 [&lt;ffffffff81618e79&gt;] netlink_rcv_skb+0xa9/0xd0
 [&lt;ffffffff81619458&gt;] genl_rcv+0x28/0x40
 [&lt;ffffffff816184a5&gt;] netlink_unicast+0x105/0x180
 [&lt;ffffffff8161886f&gt;] netlink_sendmsg+0x34f/0x7a0
 [&lt;ffffffff8105a097&gt;] ? kvm_clock_read+0x27/0x40
 [&lt;ffffffff815c644d&gt;] sock_sendmsg+0x8d/0xc0
 [&lt;ffffffff811a75c9&gt;] ? might_fault+0xb9/0xc0
 [&lt;ffffffff811a756e&gt;] ? might_fault+0x5e/0xc0
 [&lt;ffffffff815d5d26&gt;] ? verify_iovec+0x56/0xe0
 [&lt;ffffffff815c73e0&gt;] ___sys_sendmsg+0x3d0/0x3e0
 [&lt;ffffffff810a7be8&gt;] ? sched_clock_cpu+0x98/0xd0
 [&lt;ffffffff810611b4&gt;] ? __do_page_fault+0x254/0x580
 [&lt;ffffffff810bb39f&gt;] ? up_read+0x1f/0x40
 [&lt;ffffffff810611b4&gt;] ? __do_page_fault+0x254/0x580
 [&lt;ffffffff812146ed&gt;] ? __fget_light+0x13d/0x160
 [&lt;ffffffff815c7b02&gt;] __sys_sendmsg+0x42/0x80
 [&lt;ffffffff815c7b52&gt;] SyS_sendmsg+0x12/0x20
 [&lt;ffffffff81751f69&gt;] system_call_fastpath+0x16/0x1b

Fixes: ea73cbce4e1f ("nl80211: fix scheduled scan RSSI matchset attribute confusion")
Cc: stable@vger.kernel.org [3.15+]
Signed-off-by: Luciano Coelho &lt;luciano.coelho@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: avoid mem leak on driver hint set</title>
<updated>2014-12-12T11:25:33Z</updated>
<author>
<name>Arik Nemtsov</name>
<email>arik@wizery.com</email>
</author>
<published>2014-12-04T10:22:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=34f05f543f02350e920bddb7660ffdd4697aaf60'/>
<id>urn:sha1:34f05f543f02350e920bddb7660ffdd4697aaf60</id>
<content type='text'>
In the already-set and intersect case of a driver-hint, the previous
wiphy regdomain was not freed before being reset with a copy of the
cfg80211 regdomain.

Cc: stable@vger.kernel.org
Signed-off-by: Arik Nemtsov &lt;arikx.nemtsov@intel.com&gt;
Acked-by: Luis R. Rodriguez &lt;mcgrof@suse.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
</feed>
