2014-07-11 07:14:38

by Sascha Weaver

[permalink] [raw]
Subject: [iwlwifi] Wireless-AC 7260 disconnects every half and hour

Hi,

I recently bought an Intel Wireless-AC 7260 (Dual band) to replace my
Intel Wireless-N 7260.

The new wireless card connects to 5 GHz nicely and provides good
performance. However, it disconnects every half and hour. It will
automatically reconnects, but the process takes ten seconds or more,
during which all my network connections are lost (route table is
reset, I think).

My old Wireless-N 7260 does not act like this. Is there something I
can do to speed up the re-association process (which happens half an
hour) and prevent connection lost during the process?


Here is a part of the dmesg. You can see it disconnects every half an hour.

Jul 09 10:45:48 xenien kernel: wlan0: deauthenticated from
c0:7b:bc:1a:85:ff (Reason: 2=PREV_AUTH_NOT_VALID)
Jul 09 10:45:48 xenien kernel: cfg80211: Calling CRDA for country: CN
Jul 09 10:45:52 xenien kernel: wlan0: authenticate with c0:7b:bc:1a:54:bf
Jul 09 10:45:52 xenien kernel: wlan0: send auth to c0:7b:bc:1a:54:bf (try 1/3)
Jul 09 10:45:52 xenien kernel: wlan0: authenticated
Jul 09 10:45:52 xenien kernel: wlan0: associate with c0:7b:bc:1a:54:bf (try 1/3)
Jul 09 10:45:52 xenien kernel: wlan0: RX AssocResp from
c0:7b:bc:1a:54:bf (capab=0x11 status=0 aid=160)
Jul 09 10:45:52 xenien kernel: wlan0: associated
Jul 09 11:16:02 xenien kernel: wlan0: deauthenticated from
c0:7b:bc:1a:54:bf (Reason: 2=PREV_AUTH_NOT_VALID)
Jul 09 11:16:02 xenien kernel: cfg80211: Calling CRDA to update world
regulatory domain
Jul 09 11:16:05 xenien kernel: wlan0: authenticate with 18:9c:5d:97:8d:2f
Jul 09 11:16:05 xenien kernel: wlan0: send auth to 18:9c:5d:97:8d:2f (try 1/3)
Jul 09 11:16:05 xenien kernel: wlan0: authenticated
Jul 09 11:16:05 xenien kernel: wlan0: associate with 18:9c:5d:97:8d:2f (try 1/3)
Jul 09 11:16:05 xenien kernel: wlan0: RX AssocResp from
18:9c:5d:97:8d:2f (capab=0x11 status=0 aid=54)
Jul 09 11:16:05 xenien kernel: wlan0: associated
Jul 09 11:46:15 xenien kernel: wlan0: deauthenticated from
18:9c:5d:97:8d:2f (Reason: 2=PREV_AUTH_NOT_VALID)
Jul 09 11:46:15 xenien kernel: cfg80211: Calling CRDA to update world
regulatory domain
Jul 09 11:46:18 xenien kernel: wlan0: authenticate with c0:7b:bc:1a:75:6f
Jul 09 11:46:18 xenien kernel: wlan0: send auth to c0:7b:bc:1a:75:6f (try 1/3)
Jul 09 11:46:18 xenien kernel: wlan0: authenticated
Jul 09 11:46:18 xenien kernel: wlan0: associate with c0:7b:bc:1a:75:6f (try 1/3)
Jul 09 11:46:18 xenien kernel: wlan0: RX AssocResp from
c0:7b:bc:1a:75:6f (capab=0x11 status=0 aid=86)
Jul 09 11:46:18 xenien kernel: wlan0: associated



--
Sascha Weaver


2014-07-11 07:19:19

by Sascha Weaver

[permalink] [raw]
Subject: Re: [iwlwifi] Wireless-AC 7260 disconnects every half and hour

2014-07-11 15:06 GMT+08:00 Sascha Weaver <[email protected]>:
> I recently bought an Intel Wireless-AC 7260 (Dual band) to replace my
> Intel Wireless-N 7260.


Sorry, I forgot to include the kernel information:

I am using Arch Linux with kernel 3.15.4. The firmware information is:

filename: /lib/modules/3.15.4-1-ARCH/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz
license: GPL
author: Copyright(c) 2003- 2014 Intel Corporation <[email protected]>
version: in-tree:
description: Intel(R) Wireless WiFi driver for Linux
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode
firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-7265-8.ucode
firmware: iwlwifi-3160-8.ucode
firmware: iwlwifi-7260-8.ucode
firmware: iwlwifi-8000-8.ucode
srcversion: 8DF2F6932FD2B1941BD7397



--
Sascha Weaver

2014-07-13 07:22:35

by Sascha Weaver

[permalink] [raw]
Subject: Re: [iwlwifi] Wireless-AC 7260 disconnects every half and hour

2014-07-13 12:58 GMT+08:00 Emmanuel Grumbach <[email protected]>:
> Please try the patch attached.
> Thanks


Thanks Emmanuel. I tried this patch but it seems that this patch does not work.

I applied the patch, installed the kernel and rebooted my laptop.
After conencting to the AP and I wait for 25 minutes, then I start to
ping my gateway. At exactly 30 minutes, it re-associates, and the
network connection is lost for about 9 seconds:

64 bytes from 192.168.108.254: icmp_seq=116 ttl=255 time=1.84 ms
64 bytes from 192.168.108.254: icmp_seq=117 ttl=255 time=2.45 ms
64 bytes from 192.168.108.254: icmp_seq=118 ttl=255 time=8.38 ms
64 bytes from 192.168.108.254: icmp_seq=119 ttl=255 time=3.92 ms
64 bytes from 192.168.108.254: icmp_seq=120 ttl=255 time=5.33 ms
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
64 bytes from 192.168.108.254: icmp_seq=131 ttl=255 time=4.90 ms
64 bytes from 192.168.108.254: icmp_seq=132 ttl=255 time=5.42 ms
64 bytes from 192.168.108.254: icmp_seq=133 ttl=255 time=2.38 ms
64 bytes from 192.168.108.254: icmp_seq=134 ttl=255 time=16.4 ms
64 bytes from 192.168.108.254: icmp_seq=135 ttl=255 time=29.7 ms


You can see there is nine pings which produce "Network is unreachable"
error. That's about nine seconds I suppose.


The dmesg seems the same:

Jul 13 14:46:47 xenien kernel: wlan0: authenticate with c0:7b:bc:1a:85:ff
Jul 13 14:46:47 xenien kernel: wlan0: send auth to c0:7b:bc:1a:85:ff (try 1/3)
Jul 13 14:46:47 xenien kernel: wlan0: authenticated
Jul 13 14:46:47 xenien kernel: wlan0: associate with c0:7b:bc:1a:85:ff (try 1/3)
Jul 13 14:46:47 xenien kernel: wlan0: RX AssocResp from
c0:7b:bc:1a:85:ff (capab=0x11 status=0 aid=2)
Jul 13 14:46:47 xenien kernel: wlan0: associated
Jul 13 14:46:47 xenien kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0:
link becomes ready
Jul 13 14:46:48 xenien kernel: psmouse serio2: trackpoint: IBM
TrackPoint firmware: 0x0e, buttons: 3/3
Jul 13 14:46:48 xenien kernel: input: TPPS/2 IBM TrackPoint as
/devices/platform/i8042/serio1/serio2/input/input16
Jul 13 14:46:52 xenien kernel: fuse init (API version 7.23)
Jul 13 14:47:28 xenien kernel: snd_hda_intel 0000:00:1b.0: IRQ timing
workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
Jul 13 15:16:57 xenien kernel: wlan0: deauthenticated from
c0:7b:bc:1a:85:ff (Reason: 2=PREV_AUTH_NOT_VALID)
Jul 13 15:16:57 xenien kernel: cfg80211: Calling CRDA for country: CN
Jul 13 15:17:00 xenien kernel: wlan0: authenticate with 18:9c:5d:97:76:1f
Jul 13 15:17:00 xenien kernel: wlan0: send auth to 18:9c:5d:97:76:1f (try 1/3)
Jul 13 15:17:00 xenien kernel: wlan0: authenticated
Jul 13 15:17:00 xenien kernel: wlan0: associate with 18:9c:5d:97:76:1f (try 1/3)
Jul 13 15:17:00 xenien kernel: wlan0: RX AssocResp from
18:9c:5d:97:76:1f (capab=0x11 status=0 aid=11)
Jul 13 15:17:00 xenien kernel: wlan0: associated


--
Sascha Weaver

2014-07-13 04:58:11

by Emmanuel Grumbach

[permalink] [raw]
Subject: Re: [iwlwifi] Wireless-AC 7260 disconnects every half and hour

Hi,

On Fri, Jul 11, 2014 at 10:10 AM, Sascha Weaver <[email protected]> wrote:
> 2014-07-11 15:06 GMT+08:00 Sascha Weaver <[email protected]>:
>> I recently bought an Intel Wireless-AC 7260 (Dual band) to replace my
>> Intel Wireless-N 7260.
>
>
> Sorry, I forgot to include the kernel information:
>
> I am using Arch Linux with kernel 3.15.4. The firmware information is:
>
> filename: /lib/modules/3.15.4-1-ARCH/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko.gz
> license: GPL
> author: Copyright(c) 2003- 2014 Intel Corporation <[email protected]>
> version: in-tree:
> description: Intel(R) Wireless WiFi driver for Linux
> firmware: iwlwifi-100-5.ucode
> firmware: iwlwifi-1000-5.ucode
> firmware: iwlwifi-135-6.ucode
> firmware: iwlwifi-105-6.ucode
> firmware: iwlwifi-2030-6.ucode
> firmware: iwlwifi-2000-6.ucode
> firmware: iwlwifi-5150-2.ucode
> firmware: iwlwifi-5000-5.ucode
> firmware: iwlwifi-6000g2b-6.ucode
> firmware: iwlwifi-6000g2a-5.ucode
> firmware: iwlwifi-6050-5.ucode
> firmware: iwlwifi-6000-4.ucode
> firmware: iwlwifi-7265-8.ucode
> firmware: iwlwifi-3160-8.ucode
> firmware: iwlwifi-7260-8.ucode
> firmware: iwlwifi-8000-8.ucode
> srcversion: 8DF2F6932FD2B1941BD7397
>
>

Please try the patch attached.
Thanks


Attachments:
0001-Revert-mac80211-move-bufferable-MMPDU-check-to-fix-A.patch (2.84 kB)

2014-07-24 06:19:39

by Emmanuel Grumbach

[permalink] [raw]
Subject: Re: [iwlwifi] Wireless-AC 7260 disconnects every half and hour

>
> Thanks Emmanuel. I tried this patch but it seems that this patch does not work.
>
> I applied the patch, installed the kernel and rebooted my laptop.
> After conencting to the AP and I wait for 25 minutes, then I start to
> ping my gateway. At exactly 30 minutes, it re-associates, and the
> network connection is lost for about 9 seconds:
>
> 64 bytes from 192.168.108.254: icmp_seq=116 ttl=255 time=1.84 ms
> 64 bytes from 192.168.108.254: icmp_seq=117 ttl=255 time=2.45 ms
> 64 bytes from 192.168.108.254: icmp_seq=118 ttl=255 time=8.38 ms
> 64 bytes from 192.168.108.254: icmp_seq=119 ttl=255 time=3.92 ms
> 64 bytes from 192.168.108.254: icmp_seq=120 ttl=255 time=5.33 ms
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> 64 bytes from 192.168.108.254: icmp_seq=131 ttl=255 time=4.90 ms
> 64 bytes from 192.168.108.254: icmp_seq=132 ttl=255 time=5.42 ms
> 64 bytes from 192.168.108.254: icmp_seq=133 ttl=255 time=2.38 ms
> 64 bytes from 192.168.108.254: icmp_seq=134 ttl=255 time=16.4 ms
> 64 bytes from 192.168.108.254: icmp_seq=135 ttl=255 time=29.7 ms
>
>
> You can see there is nine pings which produce "Network is unreachable"
> error. That's about nine seconds I suppose.
>
>
> The dmesg seems the same:
>
> Jul 13 14:46:47 xenien kernel: wlan0: authenticate with c0:7b:bc:1a:85:ff
> Jul 13 14:46:47 xenien kernel: wlan0: send auth to c0:7b:bc:1a:85:ff (try 1/3)
> Jul 13 14:46:47 xenien kernel: wlan0: authenticated
> Jul 13 14:46:47 xenien kernel: wlan0: associate with c0:7b:bc:1a:85:ff (try 1/3)
> Jul 13 14:46:47 xenien kernel: wlan0: RX AssocResp from
> c0:7b:bc:1a:85:ff (capab=0x11 status=0 aid=2)
> Jul 13 14:46:47 xenien kernel: wlan0: associated
> Jul 13 14:46:47 xenien kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0:
> link becomes ready
> Jul 13 14:46:48 xenien kernel: psmouse serio2: trackpoint: IBM
> TrackPoint firmware: 0x0e, buttons: 3/3
> Jul 13 14:46:48 xenien kernel: input: TPPS/2 IBM TrackPoint as
> /devices/platform/i8042/serio1/serio2/input/input16
> Jul 13 14:46:52 xenien kernel: fuse init (API version 7.23)
> Jul 13 14:47:28 xenien kernel: snd_hda_intel 0000:00:1b.0: IRQ timing
> workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
> Jul 13 15:16:57 xenien kernel: wlan0: deauthenticated from
> c0:7b:bc:1a:85:ff (Reason: 2=PREV_AUTH_NOT_VALID)
> Jul 13 15:16:57 xenien kernel: cfg80211: Calling CRDA for country: CN
> Jul 13 15:17:00 xenien kernel: wlan0: authenticate with 18:9c:5d:97:76:1f
> Jul 13 15:17:00 xenien kernel: wlan0: send auth to 18:9c:5d:97:76:1f (try 1/3)
> Jul 13 15:17:00 xenien kernel: wlan0: authenticated
> Jul 13 15:17:00 xenien kernel: wlan0: associate with 18:9c:5d:97:76:1f (try 1/3)
> Jul 13 15:17:00 xenien kernel: wlan0: RX AssocResp from
> 18:9c:5d:97:76:1f (capab=0x11 status=0 aid=11)
> Jul 13 15:17:00 xenien kernel: wlan0: associated
>
>

please open a bug on bugzilla.kernel.org
Cc [email protected] to your bug.

And in the meantime, please reproduce while you have trace-cmd record
-e iwlwifi -e mac80211 -e cfg80211 -e iwlwifi_msg running.

Thanks.