<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/wireless/sysfs.c, branch v4.9</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=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-10-26T05:59:52Z</updated>
<entry>
<title>cfg80211: process events caused by suspend before suspending</title>
<updated>2016-10-26T05:59:52Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2016-10-26T05:56:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e1957dba5b54b9c9b1d16f9d5f3f8d41d82bee41'/>
<id>urn:sha1:e1957dba5b54b9c9b1d16f9d5f3f8d41d82bee41</id>
<content type='text'>
When suspending without WoWLAN, cfg80211 will ask drivers to
disconnect. Even when the driver does this synchronously, and
immediately returns with a notification, cfg80211 schedules
the handling thereof to a workqueue, and may then call back
into the driver when the driver was already suspended/ing.

Fix this by processing all events caused by cfg80211_leave_all()
directly after that function returns. The driver still needs to
do the right thing here and wait for the firmware response, but
that is - at least - true for mwifiex where this occurred.

Reported-by: Amitkumar Karwar &lt;akarwar@marvell.com&gt;
Tested-by: Amitkumar Karwar &lt;akarwar@marvell.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: remove unnecessary pointer-of</title>
<updated>2016-09-15T14:46:20Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2016-09-15T08:57:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ec53c832ee90b86414ca243d0e6fdbb9cf5e413b'/>
<id>urn:sha1:ec53c832ee90b86414ca243d0e6fdbb9cf5e413b</id>
<content type='text'>
For an array, there's no need to use &amp;array, so just use the
plain wiphy-&gt;addresses[i].addr here to silence smatch.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: make wdev_list accessible to drivers</title>
<updated>2016-05-12T09:16:40Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2016-05-03T13:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=53873f134d285191ef6435882d55837093a36c53'/>
<id>urn:sha1:53873f134d285191ef6435882d55837093a36c53</id>
<content type='text'>
There's no harm in having drivers read the list, since they can
use RCU protection or RTNL locking; allow this to not require
each and every driver to also implement its own bookkeeping.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211: Switch to PM ops</title>
<updated>2015-05-20T13:00:12Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2015-05-16T12:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=262918d847c0f66a0ec05db9de7571ed72e422af'/>
<id>urn:sha1:262918d847c0f66a0ec05db9de7571ed72e422af</id>
<content type='text'>
Use dev_pm_ops instead of the legacy suspend/resume callbacks for the wiphy
class suspend and resume operations.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>net: wireless: convert class code to use dev_groups</title>
<updated>2013-07-25T23:34:40Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-07-24T22:05:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f0bc99c84349ce87af5b35839d19bfb17bb9b27f'/>
<id>urn:sha1:f0bc99c84349ce87af5b35839d19bfb17bb9b27f</id>
<content type='text'>
The dev_attrs field of struct class is going away soon, dev_groups
should be used instead.  This converts the networking wireless class
code to use the correct field.

Reviewed-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Cc: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cfg80211: fix compilation warning for cfg80211_leave_all()</title>
<updated>2013-06-24T13:57:32Z</updated>
<author>
<name>Arend van Spriel</name>
<email>arend@broadcom.com</email>
</author>
<published>2013-06-23T10:51:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a33d402610d2d3a422136defe8237f4ddfb69fd9'/>
<id>urn:sha1:a33d402610d2d3a422136defe8237f4ddfb69fd9</id>
<content type='text'>
The following compilation issue popped up moving from v3.10-rc1 to
v3.10-rc6 after merging wireless-testing.

net/wireless/sysfs.c:86:13: error: 'cfg80211_leave_all' defined
but not used [-Werror=unused-function]

The function is only called when CONFIG_PM is enabled. Moving the
function under CONFIG_PM as well.

Signed-off-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: make WoWLAN configuration available to drivers</title>
<updated>2013-05-27T13:10:58Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2013-05-15T07:30:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6abb9cb99f33b20c2f32f18a3ae9cc7543e46edb'/>
<id>urn:sha1:6abb9cb99f33b20c2f32f18a3ae9cc7543e46edb</id>
<content type='text'>
Make the current WoWLAN configuration available to drivers
at runtime. This isn't really useful for the normal WoWLAN
behaviour and accessing it can also be racy, but drivers
may use it for testing the WoWLAN device behaviour while
the host stays up &amp; running to observe the device.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</content>
</entry>
<entry>
<title>cfg80211/mac80211: disconnect on suspend</title>
<updated>2013-03-06T15:35:55Z</updated>
<author>
<name>Stanislaw Gruszka</name>
<email>sgruszka@redhat.com</email>
</author>
<published>2013-02-28T09:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8125696991194aacb1173b6e8196d19098b44e17'/>
<id>urn:sha1:8125696991194aacb1173b6e8196d19098b44e17</id>
<content type='text'>
If possible that after suspend, cfg80211 will receive request to
disconnect what require action on interface that was removed during
suspend.

Problem can manifest itself by various warnings similar to below one:

WARNING: at net/mac80211/driver-ops.h:12 ieee80211_bss_info_change_notify+0x2f9/0x300 [mac80211]()
wlan0:  Failed check-sdata-in-driver check, flags: 0x4
Call Trace:
 [&lt;c043e0b3&gt;] warn_slowpath_fmt+0x33/0x40
 [&lt;f83707c9&gt;] ieee80211_bss_info_change_notify+0x2f9/0x300 [mac80211]
 [&lt;f83a660a&gt;] ieee80211_recalc_ps_vif+0x2a/0x30 [mac80211]
 [&lt;f83a6706&gt;] ieee80211_set_disassoc+0xf6/0x500 [mac80211]
 [&lt;f83a9441&gt;] ieee80211_mgd_deauth+0x1f1/0x280 [mac80211]
 [&lt;f8381b36&gt;] ieee80211_deauth+0x16/0x20 [mac80211]
 [&lt;f8261e70&gt;] cfg80211_mlme_down+0x70/0xc0 [cfg80211]
 [&lt;f8264de1&gt;] __cfg80211_disconnect+0x1b1/0x1d0 [cfg80211]

To fix the problem disconnect from any associated network before
suspend. User space is responsible to establish connection again
after resume. This basically need to be done by user space anyway,
because associated stations can go away during suspend (for example
NetworkManager disconnects on suspend and connect on resume by default).

Patch also handle situation when driver refuse to suspend with wowlan
configured and try to suspend again without it.

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.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-next into for-davem</title>
<updated>2013-02-18T18:47:13Z</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2013-02-18T18:47:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=98d5fac2330779e6eea6431a90b44c7476260dcc'/>
<id>urn:sha1:98d5fac2330779e6eea6431a90b44c7476260dcc</id>
<content type='text'>
Conflicts:
	drivers/net/wireless/iwlwifi/dvm/tx.c
	drivers/net/wireless/ti/wlcore/sdio.c
	drivers/net/wireless/ti/wlcore/spi.c
</content>
</entry>
<entry>
<title>cfg80211: move locking into cfg80211_bss_age</title>
<updated>2013-02-04T17:57:43Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2013-02-01T00:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2ca813ad61136896c91a40194452ff665a522711'/>
<id>urn:sha1:2ca813ad61136896c91a40194452ff665a522711</id>
<content type='text'>
There's no reason for it to require external
locking, move it into the function.

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