<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/wireless, branch v3.11-rc5</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>mwifiex: fix command 0x2c timeout during p2p_find or p2p_connect</title>
<updated>2013-07-31T19:06:47+00:00</updated>
<author>
<name>Stone Piao</name>
<email>piaoyun@marvell.com</email>
</author>
<published>2013-07-29T23:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6621fe18cdce50df9c3954f878183321dfe3078c'/>
<id>6621fe18cdce50df9c3954f878183321dfe3078c</id>
<content type='text'>
We missed bss_mode check for P2P client.

Signed-off-by: Stone Piao &lt;piaoyun@marvell.com&gt;
Signed-off-by: Avinash Patil &lt;patila@marvell.com&gt;
Signed-off-by: Bing Zhao &lt;bzhao@marvell.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>
We missed bss_mode check for P2P client.

Signed-off-by: Stone Piao &lt;piaoyun@marvell.com&gt;
Signed-off-by: Avinash Patil &lt;patila@marvell.com&gt;
Signed-off-by: Bing Zhao &lt;bzhao@marvell.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mwifiex: fix wrong data rates in P2P client</title>
<updated>2013-07-31T19:06:46+00:00</updated>
<author>
<name>Avinash Patil</name>
<email>patila@marvell.com</email>
</author>
<published>2013-07-29T23:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=237b2ac8ac89a6b0120decdd05c7bf4637deb98a'/>
<id>237b2ac8ac89a6b0120decdd05c7bf4637deb98a</id>
<content type='text'>
This patch fixes an issue wherein adhoc rates were being copied
into association request from P2P client.

Cc: &lt;stable@vger.kernel.org&gt; # 3.10.y
Signed-off-by: Avinash Patil &lt;patila@marvell.com&gt;
Signed-off-by: Stone Piao &lt;piaoyun@marvell.com&gt;
Signed-off-by: Bing Zhao &lt;bzhao@marvell.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>
This patch fixes an issue wherein adhoc rates were being copied
into association request from P2P client.

Cc: &lt;stable@vger.kernel.org&gt; # 3.10.y
Signed-off-by: Avinash Patil &lt;patila@marvell.com&gt;
Signed-off-by: Stone Piao &lt;piaoyun@marvell.com&gt;
Signed-off-by: Bing Zhao &lt;bzhao@marvell.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mwifiex: check for bss_role instead of bss_mode for STA operations</title>
<updated>2013-07-31T19:06:45+00:00</updated>
<author>
<name>Avinash Patil</name>
<email>patila@marvell.com</email>
</author>
<published>2013-07-29T23:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=953b3539ef9301b8ef73f4b6e2fd824b86aae65a'/>
<id>953b3539ef9301b8ef73f4b6e2fd824b86aae65a</id>
<content type='text'>
This patch fixes an issue wherein association would fail on P2P
interfaces. This happened because we are checking priv-&gt;mode
against NL80211_IFTYPE_STATION. While this check is correct for
infrastructure stations, it would fail P2P clients for which mode
is NL80211_IFTYPE_P2P_CLIENT.

Better check would be bss_role which has only 2 values: STA/AP.

Cc: &lt;stable@vger.kernel.org&gt; # 3.10.y
Signed-off-by: Avinash Patil &lt;patila@marvell.com&gt;
Signed-off-by: Stone Piao &lt;piaoyun@marvell.com&gt;
Signed-off-by: Bing Zhao &lt;bzhao@marvell.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>
This patch fixes an issue wherein association would fail on P2P
interfaces. This happened because we are checking priv-&gt;mode
against NL80211_IFTYPE_STATION. While this check is correct for
infrastructure stations, it would fail P2P clients for which mode
is NL80211_IFTYPE_P2P_CLIENT.

Better check would be bss_role which has only 2 values: STA/AP.

Cc: &lt;stable@vger.kernel.org&gt; # 3.10.y
Signed-off-by: Avinash Patil &lt;patila@marvell.com&gt;
Signed-off-by: Stone Piao &lt;piaoyun@marvell.com&gt;
Signed-off-by: Bing Zhao &lt;bzhao@marvell.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes</title>
<updated>2013-07-29T18:43:37+00:00</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2013-07-29T18:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=718803d161936cf347a21a5a1df29c11fbd4978d'/>
<id>718803d161936cf347a21a5a1df29c11fbd4978d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-linville-current' of git://github.com/kvalo/ath</title>
<updated>2013-07-29T18:40:16+00:00</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2013-07-29T18:40:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0ba568d7be1e6b355aa80adcf2c93de41e5c2afc'/>
<id>0ba568d7be1e6b355aa80adcf2c93de41e5c2afc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rt2x00: fix stop queue</title>
<updated>2013-07-29T18:39:44+00:00</updated>
<author>
<name>Stanislaw Gruszka</name>
<email>stf_xl@wp.pl</email>
</author>
<published>2013-07-28T11:17:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e2288b66fe7ff0288382b2af671b4da558b44472'/>
<id>e2288b66fe7ff0288382b2af671b4da558b44472</id>
<content type='text'>
Since we clear QUEUE_STARTED in rt2x00queue_stop_queue(), following
call to rt2x00queue_pause_queue() reduce to noop, i.e we do not
stop queue in mac80211.

To fix that introduce rt2x00queue_pause_queue_nocheck() function,
which will stop queue in mac80211 directly.

Note that rt2x00_start_queue() explicitly set QUEUE_PAUSED bit.

Note also that reordering operations i.e. first call to
rt2x00queue_pause_queue() and then clear QUEUE_STARTED bit, will race
with rt2x00queue_unpause_queue(), so calling ieee80211_stop_queue()
directly is the only available solution to fix the problem without
major rework.

Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka &lt;stf_xl@wp.pl&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>
Since we clear QUEUE_STARTED in rt2x00queue_stop_queue(), following
call to rt2x00queue_pause_queue() reduce to noop, i.e we do not
stop queue in mac80211.

To fix that introduce rt2x00queue_pause_queue_nocheck() function,
which will stop queue in mac80211 directly.

Note that rt2x00_start_queue() explicitly set QUEUE_PAUSED bit.

Note also that reordering operations i.e. first call to
rt2x00queue_pause_queue() and then clear QUEUE_STARTED bit, will race
with rt2x00queue_unpause_queue(), so calling ieee80211_stop_queue()
directly is the only available solution to fix the problem without
major rework.

Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka &lt;stf_xl@wp.pl&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>brcmfmac: inform cfg80211 about disconnect when device is unplugged</title>
<updated>2013-07-26T20:59:01+00:00</updated>
<author>
<name>Arend van Spriel</name>
<email>arend@broadcom.com</email>
</author>
<published>2013-07-25T21:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a538ae3189a9fa4095ca58c14bc6593622c89ab9'/>
<id>a538ae3189a9fa4095ca58c14bc6593622c89ab9</id>
<content type='text'>
When the brcmfmac device is physically removed cfg80211 gives a
warning upon unregistering the net device (see below).

[23052.390197] WARNING: CPU: 0 PID: 30 at net/wireless/core.c:937 cfg80211_netdev_notifier_call+0x164/0x600 [cfg80211]()
[23052.400843] Modules linked in: brcmfmac(O) brcmutil(O) cfg80211(O) pl2303 usbserial binfmt_misc snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event lpc_ich snd_seq snd_timer snd_seq_device snd psmouse mfd_core serio_raw soundcore snd_page_alloc intel_ips dell_laptop dell_wmi sparse_keymap dcdbas nouveau ttm drm_kms_helper drm i2c_algo_bit mxm_wmi ahci libahci sdhci_pci firewire_ohci firewire_core sdhci crc_itu_t mmc_core intel_agp intel_gtt e1000e ptp pps_core agpgart video [last unloaded: brcmfmac]
[23052.452987] CPU: 0 PID: 30 Comm: khubd Tainted: G           O 3.11.0-rc1-wl-testing-lockdep-00002-g41cc093-dirty #1
[23052.463480] Hardware name: Dell Inc. Latitude E6410/07XJP9, BIOS A07 02/15/2011
[23052.470852]  00000000 00000000 f4efdc18 c1522e3d f845bed2 f4efdc48 c103fbe4 c16a9254
[23052.478762]  00000000 0000001e f845bed2 000003a9 f841da44 f841da44 f3790004 f25539c0
[23052.486741]  e2700200 f4efdc58 c103fc22 00000009 00000000 f4efdcc0 f841da44 00000002
[23052.494712] Call Trace:
[23052.497165]  [&lt;c1522e3d&gt;] dump_stack+0x4b/0x66
[23052.501685]  [&lt;c103fbe4&gt;] warn_slowpath_common+0x84/0xa0
[23052.507085]  [&lt;f841da44&gt;] ? cfg80211_netdev_notifier_call+0x164/0x600 [cfg80211]
[23052.514542]  [&lt;f841da44&gt;] ? cfg80211_netdev_notifier_call+0x164/0x600 [cfg80211]
[23052.521981]  [&lt;c103fc22&gt;] warn_slowpath_null+0x22/0x30
[23052.527191]  [&lt;f841da44&gt;] cfg80211_netdev_notifier_call+0x164/0x600 [cfg80211]
[23052.534494]  [&lt;c150abe8&gt;] ? packet_notifier+0xc8/0x1d0
[23052.539703]  [&lt;c150abfc&gt;] ? packet_notifier+0xdc/0x1d0
[23052.544880]  [&lt;c150ab20&gt;] ? packet_seq_stop+0x30/0x30
[23052.550002]  [&lt;c152d655&gt;] notifier_call_chain+0x45/0x60
[23052.555298]  [&lt;c106839f&gt;] raw_notifier_call_chain+0x1f/0x30
[23052.560963]  [&lt;c143c693&gt;] call_netdevice_notifiers_info+0x33/0x70
[23052.567153]  [&lt;c1459869&gt;] ? qdisc_destroy+0x99/0xb0
[23052.572116]  [&lt;c143c6e3&gt;] call_netdevice_notifiers+0x13/0x20
[23052.577861]  [&lt;c143df93&gt;] rollback_registered_many+0xf3/0x1d0
[23052.583687]  [&lt;c1524cfc&gt;] ? mutex_lock_nested+0x25c/0x350
[23052.589150]  [&lt;c143e0f4&gt;] rollback_registered+0x24/0x40
[23052.594445]  [&lt;c143e15f&gt;] unregister_netdevice_queue+0x4f/0xb0
[23052.600344]  [&lt;c143e299&gt;] unregister_netdev+0x19/0x30
[23052.605484]  [&lt;f865b38f&gt;] brcmf_del_if+0xbf/0x160 [brcmfmac]
[23052.611223]  [&lt;f865b7ae&gt;] brcmf_detach+0x5e/0xd0 [brcmfmac]
[23052.616881]  [&lt;f8667413&gt;] brcmf_usb_disconnect+0x63/0xa0 [brcmfmac]
[23052.623217]  [&lt;c13e09aa&gt;] usb_unbind_interface+0x4a/0x180

When the device is physically connected the driver sends a disassoc
command to the device and response triggers the driver to inform cfg80211
about it. However, with the device removed the disassoc command fails.
This patch adds a call to cfg80211_disconnected() when that command fails.

The warning was added by commit below and also cleans up, but better
doing it in the driver if only to get rid of the warning.

commit f9bef3df52fe61067e4c1c6cfb2037cb6b259a6a
Author: Ben Greear &lt;greearb@candelatech.com&gt;
Date:   Wed Jun 19 14:06:26 2013 -0700

    wireless: check for dangling wdev-&gt;current_bss pointer

Cc: Ben Greear &lt;greearb@candelatech.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the brcmfmac device is physically removed cfg80211 gives a
warning upon unregistering the net device (see below).

[23052.390197] WARNING: CPU: 0 PID: 30 at net/wireless/core.c:937 cfg80211_netdev_notifier_call+0x164/0x600 [cfg80211]()
[23052.400843] Modules linked in: brcmfmac(O) brcmutil(O) cfg80211(O) pl2303 usbserial binfmt_misc snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event lpc_ich snd_seq snd_timer snd_seq_device snd psmouse mfd_core serio_raw soundcore snd_page_alloc intel_ips dell_laptop dell_wmi sparse_keymap dcdbas nouveau ttm drm_kms_helper drm i2c_algo_bit mxm_wmi ahci libahci sdhci_pci firewire_ohci firewire_core sdhci crc_itu_t mmc_core intel_agp intel_gtt e1000e ptp pps_core agpgart video [last unloaded: brcmfmac]
[23052.452987] CPU: 0 PID: 30 Comm: khubd Tainted: G           O 3.11.0-rc1-wl-testing-lockdep-00002-g41cc093-dirty #1
[23052.463480] Hardware name: Dell Inc. Latitude E6410/07XJP9, BIOS A07 02/15/2011
[23052.470852]  00000000 00000000 f4efdc18 c1522e3d f845bed2 f4efdc48 c103fbe4 c16a9254
[23052.478762]  00000000 0000001e f845bed2 000003a9 f841da44 f841da44 f3790004 f25539c0
[23052.486741]  e2700200 f4efdc58 c103fc22 00000009 00000000 f4efdcc0 f841da44 00000002
[23052.494712] Call Trace:
[23052.497165]  [&lt;c1522e3d&gt;] dump_stack+0x4b/0x66
[23052.501685]  [&lt;c103fbe4&gt;] warn_slowpath_common+0x84/0xa0
[23052.507085]  [&lt;f841da44&gt;] ? cfg80211_netdev_notifier_call+0x164/0x600 [cfg80211]
[23052.514542]  [&lt;f841da44&gt;] ? cfg80211_netdev_notifier_call+0x164/0x600 [cfg80211]
[23052.521981]  [&lt;c103fc22&gt;] warn_slowpath_null+0x22/0x30
[23052.527191]  [&lt;f841da44&gt;] cfg80211_netdev_notifier_call+0x164/0x600 [cfg80211]
[23052.534494]  [&lt;c150abe8&gt;] ? packet_notifier+0xc8/0x1d0
[23052.539703]  [&lt;c150abfc&gt;] ? packet_notifier+0xdc/0x1d0
[23052.544880]  [&lt;c150ab20&gt;] ? packet_seq_stop+0x30/0x30
[23052.550002]  [&lt;c152d655&gt;] notifier_call_chain+0x45/0x60
[23052.555298]  [&lt;c106839f&gt;] raw_notifier_call_chain+0x1f/0x30
[23052.560963]  [&lt;c143c693&gt;] call_netdevice_notifiers_info+0x33/0x70
[23052.567153]  [&lt;c1459869&gt;] ? qdisc_destroy+0x99/0xb0
[23052.572116]  [&lt;c143c6e3&gt;] call_netdevice_notifiers+0x13/0x20
[23052.577861]  [&lt;c143df93&gt;] rollback_registered_many+0xf3/0x1d0
[23052.583687]  [&lt;c1524cfc&gt;] ? mutex_lock_nested+0x25c/0x350
[23052.589150]  [&lt;c143e0f4&gt;] rollback_registered+0x24/0x40
[23052.594445]  [&lt;c143e15f&gt;] unregister_netdevice_queue+0x4f/0xb0
[23052.600344]  [&lt;c143e299&gt;] unregister_netdev+0x19/0x30
[23052.605484]  [&lt;f865b38f&gt;] brcmf_del_if+0xbf/0x160 [brcmfmac]
[23052.611223]  [&lt;f865b7ae&gt;] brcmf_detach+0x5e/0xd0 [brcmfmac]
[23052.616881]  [&lt;f8667413&gt;] brcmf_usb_disconnect+0x63/0xa0 [brcmfmac]
[23052.623217]  [&lt;c13e09aa&gt;] usb_unbind_interface+0x4a/0x180

When the device is physically connected the driver sends a disassoc
command to the device and response triggers the driver to inform cfg80211
about it. However, with the device removed the disassoc command fails.
This patch adds a call to cfg80211_disconnected() when that command fails.

The warning was added by commit below and also cleans up, but better
doing it in the driver if only to get rid of the warning.

commit f9bef3df52fe61067e4c1c6cfb2037cb6b259a6a
Author: Ben Greear &lt;greearb@candelatech.com&gt;
Date:   Wed Jun 19 14:06:26 2013 -0700

    wireless: check for dangling wdev-&gt;current_bss pointer

Cc: Ben Greear &lt;greearb@candelatech.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;
</pre>
</div>
</content>
</entry>
<entry>
<title>mwifiex: Add missing endian conversion.</title>
<updated>2013-07-26T20:59:01+00:00</updated>
<author>
<name>Tomasz Moń</name>
<email>desowin@gmail.com</email>
</author>
<published>2013-07-23T05:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=83e612f632c3897be29ef02e0472f6d63e258378'/>
<id>83e612f632c3897be29ef02e0472f6d63e258378</id>
<content type='text'>
Both type and pkt_len variables are in host endian and these should be in
Little Endian in the payload.

Signed-off-by: Tomasz Moń &lt;desowin@gmail.com&gt;
Acked-by: Bing Zhao &lt;bzhao@marvell.com&gt;
Cc: &lt;stable@vger.kernel.org&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>
Both type and pkt_len variables are in host endian and these should be in
Little Endian in the payload.

Signed-off-by: Tomasz Moń &lt;desowin@gmail.com&gt;
Acked-by: Bing Zhao &lt;bzhao@marvell.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: pcie: clear RFKILL interrupt in AMPG</title>
<updated>2013-07-26T08:07:10+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2013-07-25T10:14:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a53ee0a308b16e392e0219c585b10f329345766b'/>
<id>a53ee0a308b16e392e0219c585b10f329345766b</id>
<content type='text'>
If we forget to do so, we can't send HCMD to firmware while
the NIC is in RFKILL state.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@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>
If we forget to do so, we can't send HCMD to firmware while
the NIC is in RFKILL state.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: mvm: fix flushing not started aggregation sessions</title>
<updated>2013-07-26T08:06:07+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2013-07-24T11:55:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b6658ff80c43bcf84be0bbe371c88af1452e7776'/>
<id>b6658ff80c43bcf84be0bbe371c88af1452e7776</id>
<content type='text'>
When a not fully started aggregation session is destroyed
and flushed, we get a warning, e.g.

  WARNING: at drivers/net/wireless/iwlwifi/pcie/tx.c:1142 iwl_trans_pcie_txq_disable+0x11c/0x160
  queue 16 not used
  Modules linked in: [...]
  Pid: 5135, comm: hostapd Tainted: G        W  O 3.5.0 #10
  Call Trace:
  wlan0: driver sets block=0 for sta 00:03:7f:10:44:d3
   [&lt;ffffffff81036492&gt;] warn_slowpath_common+0x72/0xa0
   [&lt;ffffffff81036577&gt;] warn_slowpath_fmt+0x47/0x50
   [&lt;ffffffffa0368d6c&gt;] iwl_trans_pcie_txq_disable+0x11c/0x160 [iwlwifi]
   [&lt;ffffffffa03a2099&gt;] iwl_mvm_sta_tx_agg_flush+0xe9/0x150 [iwlmvm]
   [&lt;ffffffffa0396c43&gt;] iwl_mvm_mac_ampdu_action+0xf3/0x1e0 [iwlmvm]
   [&lt;ffffffffa0293ad3&gt;] ___ieee80211_stop_tx_ba_session+0x193/0x920 [mac80211]
   [&lt;ffffffffa0294ed8&gt;] __ieee80211_stop_tx_ba_session+0x48/0x70 [mac80211]
   [&lt;ffffffffa029159f&gt;] ieee80211_sta_tear_down_BA_sessions+0x4f/0x80 [mac80211]
   [&lt;ffffffffa028a686&gt;] __sta_info_destroy+0x66/0x370 [mac80211]
   [&lt;ffffffffa028abb4&gt;] sta_info_destroy_addr_bss+0x44/0x70 [mac80211]
   [&lt;ffffffffa02a3e26&gt;] ieee80211_del_station+0x26/0x50 [mac80211]
   [&lt;ffffffffa01e6395&gt;] nl80211_del_station+0x85/0x200 [cfg80211]

when a station deauthenticated from us without fully setting
up the aggregation session.

Fix this by checking the aggregation state before removing
the hardware queue.

Cc: stable@vger.kernel.org
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@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>
When a not fully started aggregation session is destroyed
and flushed, we get a warning, e.g.

  WARNING: at drivers/net/wireless/iwlwifi/pcie/tx.c:1142 iwl_trans_pcie_txq_disable+0x11c/0x160
  queue 16 not used
  Modules linked in: [...]
  Pid: 5135, comm: hostapd Tainted: G        W  O 3.5.0 #10
  Call Trace:
  wlan0: driver sets block=0 for sta 00:03:7f:10:44:d3
   [&lt;ffffffff81036492&gt;] warn_slowpath_common+0x72/0xa0
   [&lt;ffffffff81036577&gt;] warn_slowpath_fmt+0x47/0x50
   [&lt;ffffffffa0368d6c&gt;] iwl_trans_pcie_txq_disable+0x11c/0x160 [iwlwifi]
   [&lt;ffffffffa03a2099&gt;] iwl_mvm_sta_tx_agg_flush+0xe9/0x150 [iwlmvm]
   [&lt;ffffffffa0396c43&gt;] iwl_mvm_mac_ampdu_action+0xf3/0x1e0 [iwlmvm]
   [&lt;ffffffffa0293ad3&gt;] ___ieee80211_stop_tx_ba_session+0x193/0x920 [mac80211]
   [&lt;ffffffffa0294ed8&gt;] __ieee80211_stop_tx_ba_session+0x48/0x70 [mac80211]
   [&lt;ffffffffa029159f&gt;] ieee80211_sta_tear_down_BA_sessions+0x4f/0x80 [mac80211]
   [&lt;ffffffffa028a686&gt;] __sta_info_destroy+0x66/0x370 [mac80211]
   [&lt;ffffffffa028abb4&gt;] sta_info_destroy_addr_bss+0x44/0x70 [mac80211]
   [&lt;ffffffffa02a3e26&gt;] ieee80211_del_station+0x26/0x50 [mac80211]
   [&lt;ffffffffa01e6395&gt;] nl80211_del_station+0x85/0x200 [cfg80211]

when a station deauthenticated from us without fully setting
up the aggregation session.

Fix this by checking the aggregation state before removing
the hardware queue.

Cc: stable@vger.kernel.org
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
