<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/wireless, branch v3.9</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/net/wireless?h=v3.9</id>
<link rel='self' href='https://git.amat.us/linux/atom/net/wireless?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-04-03T18:19:48Z</updated>
<entry>
<title>Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211</title>
<updated>2013-04-03T18:19:48Z</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2013-04-03T18:19:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9306a398e76df1952685e95cc293c4100fe5286d'/>
<id>urn:sha1:9306a398e76df1952685e95cc293c4100fe5286d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cfg80211: sched_scan_mtx lock in cfg80211_conn_work()</title>
<updated>2013-03-30T21:33:19Z</updated>
<author>
<name>Artem Savkov</name>
<email>artem.savkov@gmail.com</email>
</author>
<published>2013-03-30T17:20:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=90e0970f8788cef2c8f5183af5a98f4f94600faf'/>
<id>urn:sha1:90e0970f8788cef2c8f5183af5a98f4f94600faf</id>
<content type='text'>
Introduced in f9f475292dbb0e7035fb6661d1524761ea0888d9
("cfg80211: always check for scan end on P2P device")

cfg80211_conn_scan() which requires sched_scan_mtx to be held can be called
from cfg80211_conn_work(). Without this we are hitting multiple warnings like
the following:

WARNING: at net/wireless/sme.c:88 cfg80211_conn_scan+0x1dc/0x3a0 [cfg80211]()
Hardware name: 0578A21
Modules linked in: ...
Pid: 620, comm: kworker/3:1 Not tainted 3.9.0-rc4-next-20130328+ #326
Call Trace:
 [&lt;c1036992&gt;] warn_slowpath_common+0x72/0xa0
 [&lt;c10369e2&gt;] warn_slowpath_null+0x22/0x30
 [&lt;faa4b0ec&gt;] cfg80211_conn_scan+0x1dc/0x3a0 [cfg80211]
 [&lt;faa4b344&gt;] cfg80211_conn_do_work+0x94/0x380 [cfg80211]
 [&lt;faa4c3b2&gt;] cfg80211_conn_work+0xa2/0x130 [cfg80211]
 [&lt;c1051858&gt;] process_one_work+0x198/0x450

Signed-off-by: Artem Savkov &lt;artem.savkov@gmail.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211</title>
<updated>2013-03-25T18:50:17Z</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2013-03-25T18:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fae172136c0cfc80cb4b13620c861688e671650a'/>
<id>urn:sha1:fae172136c0cfc80cb4b13620c861688e671650a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cfg80211: always check for scan end on P2P device</title>
<updated>2013-03-24T10:15:58Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2013-03-19T14:04:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f9f475292dbb0e7035fb6661d1524761ea0888d9'/>
<id>urn:sha1:f9f475292dbb0e7035fb6661d1524761ea0888d9</id>
<content type='text'>
If a P2P device wdev is removed while it has a scan, then the
scan completion might crash later as it is already freed by
that time. To avoid the crash always check the scan completion
when the P2P device is being removed for some reason. If the
driver already canceled it, don't want and free it, otherwise
warn and leak it to avoid later crashes.

In order to do this, locking needs to be changed away from the
rdev mutex (which can't always be guaranteed). For now, use
the sched_scan_mtx instead, I'll rename it to just scan_mtx in
a later patch.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: fix wdev tracing crash</title>
<updated>2013-03-20T21:21:31Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2013-03-19T19:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ce1eadda6badef9e4e3460097ede674fca47383d'/>
<id>urn:sha1:ce1eadda6badef9e4e3460097ede674fca47383d</id>
<content type='text'>
Arend reported a crash in tracing if the driver returns an
ERR_PTR() value from the add_virtual_intf() callback. This
is due to the tracing then still attempting to dereference
the "pointer", fix this by using IS_ERR_OR_NULL().

Reported-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Tested-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: fix potential BSS memory leak and update</title>
<updated>2013-03-07T11:55:32Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes@sipsolutions.net</email>
</author>
<published>2013-03-06T09:31:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1345ee6a6d90813f972379fad8b75f17026fc8b2'/>
<id>urn:sha1:1345ee6a6d90813f972379fad8b75f17026fc8b2</id>
<content type='text'>
In the odd case that while updating information from a beacon,
a BSS was found that is part of a hidden group, we drop the
new information. In this case, however, we leak the IE buffer
from the update, and erroneously update the entry's timestamp
so it will never time out. Fix both these issues.

Cc: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: fix inconsistency in trace for rdev_set_mac_acl</title>
<updated>2013-03-07T10:20:01Z</updated>
<author>
<name>Vladimir Kondratiev</name>
<email>qca_vkondrat@qca.qualcomm.com</email>
</author>
<published>2013-03-07T09:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=021fcdc13acbab78589325ae2db0b384b4ee7222'/>
<id>urn:sha1:021fcdc13acbab78589325ae2db0b384b4ee7222</id>
<content type='text'>
There is NETDEV_ENTRY that was incorrectly assigned as WIPHY_ASSIGN,
fix it.

Signed-off-by: Vladimir Kondratiev &lt;qca_vkondrat@qca.qualcomm.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem</title>
<updated>2013-03-06T15:21:17Z</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2013-03-06T15:21:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=32cdd592b723fc88ecca699e550197cd48bb4ad6'/>
<id>urn:sha1:32cdd592b723fc88ecca699e550197cd48bb4ad6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem</title>
<updated>2013-03-01T18:52:03Z</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2013-03-01T18:52:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=98b7ff9a4977e4f4f451c30288b197ad79e5ab7f'/>
<id>urn:sha1:98b7ff9a4977e4f4f451c30288b197ad79e5ab7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nl80211: increase wiphy dump size dynamically</title>
<updated>2013-03-01T14:05:19Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2013-03-01T13:03:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=645e77def93f1dd0e211c7244fbe152dac8a7100'/>
<id>urn:sha1:645e77def93f1dd0e211c7244fbe152dac8a7100</id>
<content type='text'>
Given a device with many channels capabilities the wiphy
information can still overflow even though its size in
3.9 was reduced to 3.8 levels. For new userspace and
kernel 3.10 we're going to implement a new "split dump"
protocol that can use multiple messages per wiphy.

For now though, add a workaround to be able to send more
information to userspace. Since generic netlink doesn't
have a way to set the minimum dump size globally, and we
wouldn't really want to set it globally anyway, increase
the size only when needed, as described in the comments.
As userspace might not be prepared for large buffers, we
can only use 4k.

Also increase the size for the get_wiphy command.

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