<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net/wireless, branch v3.18</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.18</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-11-25T19:22:22Z</updated>
<entry>
<title>rtlwifi: Change order in device startup</title>
<updated>2014-11-25T19:22:22Z</updated>
<author>
<name>Larry Finger</name>
<email>Larry.Finger@lwfinger.net</email>
</author>
<published>2014-11-25T16:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7d63a5f9b25ba6b130da8eb2d32a72b1462d0249'/>
<id>urn:sha1:7d63a5f9b25ba6b130da8eb2d32a72b1462d0249</id>
<content type='text'>
The existing order of steps when starting the PCI devices works for
2.4G devices, but fails to initialize the 5G section of the RTL8821AE
hardware.

This patch is needed to fix the regression reported in Bug #88811
(https://bugzilla.kernel.org/show_bug.cgi?id=88811).

Reported-by: Valerio Passini &lt;valerio.passini@unicam.it&gt;
Tested-by: Valerio Passini &lt;valerio.passini@unicam.it&gt;
Signed-off-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Cc: Valerio Passini &lt;valerio.passini@unicam.it&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>rtlwifi: rtl8821ae: Fix 5G detection problem</title>
<updated>2014-11-25T19:22:21Z</updated>
<author>
<name>Larry Finger</name>
<email>Larry.Finger@lwfinger.net</email>
</author>
<published>2014-11-25T16:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a91ed1901a80b401afa1b718d941d3450d868151'/>
<id>urn:sha1:a91ed1901a80b401afa1b718d941d3450d868151</id>
<content type='text'>
The changes associated with moving this driver from staging to the regular
tree missed one section setting the allowable rates for the 5GHz band.

This patch is needed to fix the regression reported in Bug #88811
(https://bugzilla.kernel.org/show_bug.cgi?id=88811).

Reported-by: Valerio Passini &lt;valerio.passini@unicam.it&gt;
Tested-by: Valerio Passini &lt;valerio.passini@unicam.it&gt;
Signed-off-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Cc: Valerio Passini &lt;valerio.passini@unicam.it&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'iwlwifi-for-john-2014-11-23' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes</title>
<updated>2014-11-24T18:53:41Z</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2014-11-24T18:53:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=90d8879d5dcae2e4c80f31fa9ac3c75732859bcd'/>
<id>urn:sha1:90d8879d5dcae2e4c80f31fa9ac3c75732859bcd</id>
<content type='text'>
Emmanuel Grumbach &lt;egrumbach@gmail.com&gt; says:

"Not all the firmware know how to handle the HOT_SPOT_CMD.
Make sure that the firmware will know this command before
sending it. This avoids a firmware crash."

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>iwlwifi: mvm: check TLV flag before trying to use hotspot firmware commands</title>
<updated>2014-11-23T19:50:57Z</updated>
<author>
<name>Luciano Coelho</name>
<email>luciano.coelho@intel.com</email>
</author>
<published>2014-10-21T13:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5ac6c72e594471acfa5b00210c51d533a73413ad'/>
<id>urn:sha1:5ac6c72e594471acfa5b00210c51d533a73413ad</id>
<content type='text'>
Older firmwares do not provide support for the HOT_SPOT_CMD command.
Check for the appropriate TLV flag that declares hotspot support in
the firmware to prevent a firmware assertion failure that can be
triggered from the userspace,

Cc: stable@vger.kernel.org [3.17+]
Signed-off-by: Luciano Coelho &lt;luciano.coelho@intel.com&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
</content>
</entry>
<entry>
<title>brcmfmac: don't include linux/unaligned/access_ok.h</title>
<updated>2014-11-20T19:46:45Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2014-11-19T21:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a1d69c60c44134f64945bbf6a6dfda22eaf4a214'/>
<id>urn:sha1:a1d69c60c44134f64945bbf6a6dfda22eaf4a214</id>
<content type='text'>
This is a specific implementation, &lt;asm/unaligned.h&gt; is the
multiplexer that has the arch-specific knowledge of which
of the implementations needs to be used, so include that.

This issue was revealed by kbuild testing
when &lt;asm/unaligned.h&gt; was added in &lt;linux/ieee80211.h&gt;
resulting in redefinition of get_unaligned_be16 (and
probably others).

Cc: stable@vger.kernel.org # v3.17
Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>brcmfmac: fix error handling of irq_of_parse_and_map</title>
<updated>2014-11-17T20:04:04Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor@chromium.org</email>
</author>
<published>2014-11-14T22:12:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4c69f05eaa428e37890daf88b86a567ce615570b'/>
<id>urn:sha1:4c69f05eaa428e37890daf88b86a567ce615570b</id>
<content type='text'>
Return value of irq_of_parse_and_map() is unsigned int, with 0
indicating failure, so testing for negative result never works.

Signed-off-by: Dmitry Torokhov &lt;dtor@chromium.org&gt;
Cc: stable@vger.kernel.org # v3.17
Acked-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>brcmfmac: kill URB when request timed out</title>
<updated>2014-11-17T20:04:04Z</updated>
<author>
<name>Mathy Vanhoef</name>
<email>vanhoefm@gmail.com</email>
</author>
<published>2014-11-13T02:33:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8180bd47b043507568056f74f69b6a5abea26514'/>
<id>urn:sha1:8180bd47b043507568056f74f69b6a5abea26514</id>
<content type='text'>
Kill the submitted URB in brcmf_usb_dl_cmd if the request timed out. This
assures the URB is never submitted twice. It also prevents a possible
use-after-free of the URB transfer buffer if a timeout occurs.

Signed-off-by: Mathy Vanhoef &lt;vanhoefm@gmail.com&gt;
Acked-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>ath9k: fix regression in bssidmask calculation</title>
<updated>2014-11-17T20:02:52Z</updated>
<author>
<name>Ben Greear</name>
<email>greearb@candelatech.com</email>
</author>
<published>2014-11-04T23:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=daad1660285a967b5da363e8de264e86b4a496a0'/>
<id>urn:sha1:daad1660285a967b5da363e8de264e86b4a496a0</id>
<content type='text'>
The commit that went into 3.17:

    ath9k: Summarize hw state per channel context

    Group and set hw state (opmode, primary_sta, beacon conf) per
    channel context instead of whole list of vifs. This would allow
    each channel context to run in different mode (STA/AP).

    Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
    Signed-off-by: Rajkumar Manoharan &lt;rmanohar@qti.qualcomm.com&gt;
    Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;

broke multi-vif configuration due to not properly calculating
the bssid mask.

The test case that caught this was:

 create wlan0 and sta0-4 (6 total), not sure how much that matters.
 associate all 6 (works fine)
 disconnect 5 of them, leaving sta0 up
 Start trying to bring up the other 5 one at a time.  It will
 fail, with iw events looking like this (in these logs, several
 sta are trying to come up, but symptom is the same with just one)

The patch causing the regression made quite a few changes, but
the part I think caused this particular problem was not
recalculating the bssid mask when adding and removing interfaces.

Re-adding those calls fixes my test case.  Fix bad comment
as well.

Signed-off-by: Ben Greear &lt;greearb@candelatech.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>ath9k: Fix RTC_DERIVED_CLK usage</title>
<updated>2014-11-11T21:24:18Z</updated>
<author>
<name>Miaoqing Pan</name>
<email>miaoqing@qca.qualcomm.com</email>
</author>
<published>2014-11-06T05:22:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4e6ce4dc7ce71d0886908d55129d5d6482a27ff9'/>
<id>urn:sha1:4e6ce4dc7ce71d0886908d55129d5d6482a27ff9</id>
<content type='text'>
Based on the reference clock, which could be 25MHz or 40MHz,
AR_RTC_DERIVED_CLK is programmed differently for AR9340 and AR9550.
But, when a chip reset is done, processing the initvals
sets the register back to the default value.

Fix this by moving the code in ath9k_hw_init_pll() to
ar9003_hw_override_ini(). Also, do this override for AR9531.

Cc: stable@vger.kernel.org
Signed-off-by: Miaoqing Pan &lt;miaoqing@qca.qualcomm.com&gt;
Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>brcmfmac: fix conversion of channel width 20MHZ_NOHT</title>
<updated>2014-11-11T21:12:45Z</updated>
<author>
<name>Arend van Spriel</name>
<email>arend@broadcom.com</email>
</author>
<published>2014-11-11T12:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0cd75b19899fd86b51a6480fb8c00dcd85a54591'/>
<id>urn:sha1:0cd75b19899fd86b51a6480fb8c00dcd85a54591</id>
<content type='text'>
The function chandef_to_chanspec() failed when converting a
chandef with bandwidth set to NL80211_CHAN_WIDTH_20_NOHT. This
was reported by user running the device in AP mode.

------------[ cut here ]------------
WARNING: CPU: 0 PID: 304 at
	drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:381
		chandef_to_chanspec.isra.11+0x158/0x184()

Modules linked in:

CPU: 0 PID: 304 Comm: hostapd Not tainted 3.16.0-rc7-abb+g64aa90f #8

[&lt;c0014bb4&gt;] (unwind_backtrace) from [&lt;c0012314&gt;] (show_stack+0x10/0x14)
[&lt;c0012314&gt;] (show_stack) from [&lt;c001d3f8&gt;] (warn_slowpath_common+0x6c/0x8c)
[&lt;c001d3f8&gt;] (warn_slowpath_common) from [&lt;c001d4b4&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c001d4b4&gt;] (warn_slowpath_null) from [&lt;c03449a4&gt;] (chandef_to_chanspec.isra.11+0x158/0x184)
[&lt;c03449a4&gt;] (chandef_to_chanspec.isra.11) from [&lt;c0348e00&gt;] (brcmf_cfg80211_start_ap+0x1e4/0x614)
[&lt;c0348e00&gt;] (brcmf_cfg80211_start_ap) from [&lt;c04d1468&gt;] (nl80211_start_ap+0x288/0x414)
[&lt;c04d1468&gt;] (nl80211_start_ap) from [&lt;c043d144&gt;] (genl_rcv_msg+0x21c/0x38c)
[&lt;c043d144&gt;] (genl_rcv_msg) from [&lt;c043c740&gt;] (netlink_rcv_skb+0xac/0xc0)
[&lt;c043c740&gt;] (netlink_rcv_skb) from [&lt;c043cf14&gt;] (genl_rcv+0x20/0x34)
[&lt;c043cf14&gt;] (genl_rcv) from [&lt;c043c0a0&gt;] (netlink_unicast+0x150/0x20c)
[&lt;c043c0a0&gt;] (netlink_unicast) from [&lt;c043c4b8&gt;] (netlink_sendmsg+0x2b8/0x398)
[&lt;c043c4b8&gt;] (netlink_sendmsg) from [&lt;c04066a4&gt;] (sock_sendmsg+0x84/0xa8)
[&lt;c04066a4&gt;] (sock_sendmsg) from [&lt;c0407c5c&gt;] (___sys_sendmsg.part.29+0x268/0x278)
[&lt;c0407c5c&gt;] (___sys_sendmsg.part.29) from [&lt;c0408bdc&gt;] (__sys_sendmsg+0x4c/0x7c)
[&lt;c0408bdc&gt;] (__sys_sendmsg) from [&lt;c000ec60&gt;] (ret_fast_syscall+0x0/0x44)
---[ end trace 965ee2158c9905a2 ]---

Cc: stable@vger.kernel.org # v3.17
Reported-by: Pontus Fuchs &lt;pontusf@broadcom.com&gt;
Reviewed-by: Hante Meuleman &lt;meuleman@broadcom.com&gt;
Reviewed-by: Daniel (Deognyoun) Kim &lt;dekim@broadcom.com&gt;
Reviewed-by: Franky (Zhenhui) Lin &lt;frankyl@broadcom.com&gt;
Reviewed-by: Pieter-Paul Giesberts &lt;pieterpg@broadcom.com&gt;
Signed-off-by: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
