Re: iwlwifi: Reason 7 periodic disconnect

2014-10-24 Thread Emmanuel Grumbach
On Fri, Oct 24, 2014 at 11:34 AM, Laurențiu Nicola lnic...@dend.ro wrote: Okay, I've filed a bug [1]. At some point you mentioned about using another device to monitor traffic. I don't have another laptop running Linux (would Android count?), but DD-WRT has a wl monitor command [2] that

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Laurențiu Nicola
I did; the card still gets disconnected and the message doesn't show up in dmesg. Laurentiu On Thu, Oct 23, 2014, at 08:21, Emmanuel Grumbach wrote: On Thu, Oct 23, 2014 at 12:53 AM, Laurențiu Nicola lnic...@dend.ro wrote: Nope. It seems that code doesn't get executed when my issue occurs

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Emmanuel Grumbach
On Thu, Oct 23, 2014 at 10:30 AM, Laurențiu Nicola lnic...@dend.ro wrote: I did; the card still gets disconnected and the message doesn't show up in dmesg. You had *none* of the many prints I added in the log? That seems really weird... Laurentiu On Thu, Oct 23, 2014, at 08:21, Emmanuel

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Laurențiu Nicola
Sorry, but I only saw a two-line change [1] to `ieee80211_rx_mgmt_beacon` (which already had a log message). Am I missing something? [1] http://www.spinics.net/lists/linux-wireless/msg128340.html Laurentiu On Thu, Oct 23, 2014, at 11:07, Emmanuel Grumbach wrote: On Thu, Oct 23, 2014 at 10:30

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Laurențiu Nicola
Okay. I'm running 3.17.1, so the line numbers might not be the ones you're expecting: patching file net/mac80211/mlme.c Hunk #1 succeeded at 128 (offset -1 lines). Hunk #2 succeeded at 137 (offset -1 lines). Hunk #3 succeeded at 1875 (offset -209 lines). Hunk #4 succeeded at 1886 (offset -207

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Emmanuel Grumbach
On Thu, Oct 23, 2014 at 8:38 PM, Laurențiu Nicola lnic...@dend.ro wrote: Okay. I'm running 3.17.1, so the line numbers might not be the ones you're expecting: patching file net/mac80211/mlme.c Hunk #1 succeeded at 128 (offset -1 lines). Hunk #2 succeeded at 137 (offset -1 lines). Hunk #3

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Laurențiu Nicola
Doesn't seem to help https://bpaste.net/show/68e1a6b33689. Laurentiu On Thu, Oct 23, 2014, at 22:28, Emmanuel Grumbach wrote: On Thu, Oct 23, 2014 at 8:38 PM, Laurențiu Nicola lnic...@dend.ro wrote: Okay. I'm running 3.17.1, so the line numbers might not be the ones you're expecting:

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Emmanuel Grumbach
https://bpaste.net/show/5cc48256d952 On Thu, Oct 23, 2014, at 22:55, Emmanuel Grumbach wrote: On Thu, Oct 23, 2014 at 10:42 PM, Laurențiu Nicola lnic...@dend.ro wrote: Doesn't seem to help https://bpaste.net/show/68e1a6b33689. ok - let me re-add the logs... This makes no sense to me.

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Laurențiu Nicola
https://bpaste.net/show/8a0e5c68762f On Thu, Oct 23, 2014, at 23:16, Emmanuel Grumbach wrote: https://bpaste.net/show/5cc48256d952 On Thu, Oct 23, 2014, at 22:55, Emmanuel Grumbach wrote: On Thu, Oct 23, 2014 at 10:42 PM, Laurențiu Nicola lnic...@dend.ro wrote: Doesn't seem to help

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-23 Thread Emmanuel Grumbach
On Thu, Oct 23, 2014 at 11:27 PM, Laurențiu Nicola lnic...@dend.ro wrote: https://bpaste.net/show/8a0e5c68762f On Thu, Oct 23, 2014, at 23:16, Emmanuel Grumbach wrote: https://bpaste.net/show/5cc48256d952 On Thu, Oct 23, 2014, at 22:55, Emmanuel Grumbach wrote: On Thu, Oct 23, 2014 at

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-22 Thread Emmanuel Grumbach
On Tue, Oct 21, 2014 at 10:56 PM, Laurențiu Nicola lnic...@dend.ro wrote: Yep! `scb_timeout` is 60 on my router. On Tue, Oct 21, 2014, at 14:00, poma wrote: On 21.10.2014 10:35, Felix Fietkau wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS RT-N66U running NEWD-2/K3X from

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-22 Thread Laurențiu Nicola
Nope. It seems that code doesn't get executed when my issue occurs (or in my five or ten minutes of uptime). I've seen `ieee80211_reset_ap_probe` get called by `ieee80211_rx_mgmt_probe_resp`, but (if I'm not wrong) not on every disconnect. And as far as I can tell, force_cam is set to true.

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-22 Thread Emmanuel Grumbach
On Thu, Oct 23, 2014 at 12:53 AM, Laurențiu Nicola lnic...@dend.ro wrote: Nope. It seems that code doesn't get executed when my issue occurs (or in my five or ten minutes of uptime). I've seen `ieee80211_reset_ap_probe` get called by `ieee80211_rx_mgmt_probe_resp`, but (if I'm not wrong) not

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Krishna Chaitanya
On Tue, Oct 21, 2014 at 12:06 PM, Krishna Chaitanya chaitanya.m...@gmail.com wrote: On Tue, Oct 21, 2014 at 11:01 AM, Emmanuel Grumbach egrumb...@gmail.com wrote: On Tue, Oct 21, 2014 at 8:02 AM, Emmanuel Grumbach egrumb...@gmail.com wrote: On Mon, Oct 20, 2014 at 10:29 PM, Laurențiu Nicola

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Krishna Chaitanya
On Tue, Oct 21, 2014 at 12:34 PM, Emmanuel Grumbach egrumb...@gmail.com wrote: On Tue, Oct 21, 2014 at 9:37 AM, Krishna Chaitanya chaitanya.m...@gmail.com wrote: On Tue, Oct 21, 2014 at 12:06 PM, Krishna Chaitanya chaitanya.m...@gmail.com wrote: On Tue, Oct 21, 2014 at 11:01 AM, Emmanuel

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Laurențiu Nicola
I have 3.17.1, which includes the patch you mention. I also verified that iwconfig reports that power management is disabled. I don't know how easy it is to recompile the DD-WRT kernel. One thing I could do is try another firmware instead of DD-WRT to see if the issue still occurs. Laurentiu On

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Emmanuel Grumbach
On Tue, Oct 21, 2014 at 10:28 AM, Laurențiu Nicola lnic...@dend.ro wrote: I have 3.17.1, which includes the patch you mention. I also verified that iwconfig reports that power management is disabled. I don't know how easy it is to recompile the DD-WRT kernel. One thing I could do is try

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Felix Fietkau
On 2014-10-21 07:02, Emmanuel Grumbach wrote: On Mon, Oct 20, 2014 at 10:29 PM, Laurențiu Nicola lnic...@dend.ro wrote: No, nothing in the DD-WRT syslog. The IP seems to be the one cached by my DHCP client. I also tried various suggestions found on the internet, but nothing helped. Can you

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Felix Fietkau
On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS RT-N66U running NEWD-2/K3X from r24160. This is a Broadcom based device, so it should behave in the same way as other APs/Routers running the Broadcom drivers. The driver should only send Reason 7 when receiving a PS-Poll, BlockAck,

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Laurențiu Nicola
Perhaps I'm not looking at the right log :). Do you mean enabling syslog and /tmp/var/log/messages? Laurentiu On Tue, Oct 21, 2014, at 11:35, Felix Fietkau wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS RT-N66U running NEWD-2/K3X from r24160. This is a Broadcom based

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Emmanuel Grumbach
On Tue, Oct 21, 2014 at 11:37 AM, Laurențiu Nicola lnic...@dend.ro wrote: Perhaps I'm not looking at the right log :). Do you mean enabling syslog and /tmp/var/log/messages? Laurentiu On Tue, Oct 21, 2014, at 11:35, Felix Fietkau wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Krishna Chaitanya
On Tue, Oct 21, 2014 at 2:05 PM, Felix Fietkau n...@openwrt.org wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS RT-N66U running NEWD-2/K3X from r24160. This is a Broadcom based device, so it should behave in the same way as other APs/Routers running the Broadcom drivers. The

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Emmanuel Grumbach
On Tue, Oct 21, 2014 at 12:05 PM, Krishna Chaitanya chaitanya.m...@gmail.com wrote: On Tue, Oct 21, 2014 at 2:05 PM, Felix Fietkau n...@openwrt.org wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS RT-N66U running NEWD-2/K3X from r24160. This is a Broadcom based device, so it

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Krishna Chaitanya
On Tue, Oct 21, 2014 at 2:46 PM, Emmanuel Grumbach egrumb...@gmail.com wrote: On Tue, Oct 21, 2014 at 12:05 PM, Krishna Chaitanya chaitanya.m...@gmail.com wrote: On Tue, Oct 21, 2014 at 2:05 PM, Felix Fietkau n...@openwrt.org wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread poma
On 21.10.2014 10:35, Felix Fietkau wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS RT-N66U running NEWD-2/K3X from r24160. This is a Broadcom based device, so it should behave in the same way as other APs/Routers running the Broadcom drivers. The driver should only send

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-21 Thread Laurențiu Nicola
Yep! `scb_timeout` is 60 on my router. On Tue, Oct 21, 2014, at 14:00, poma wrote: On 21.10.2014 10:35, Felix Fietkau wrote: On 2014-10-21 10:23, Laurențiu Nicola wrote: It's an ASUS RT-N66U running NEWD-2/K3X from r24160. This is a Broadcom based device, so it should behave in the same

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-20 Thread Emmanuel Grumbach
On Mon, Oct 20, 2014 at 8:30 AM, Laurențiu Nicola lnic...@dend.ro wrote: Here: https://bpaste.net/show/bf6dc1847ce3 Are you sure you had MAC80211_MLME_DEBUG? Laurentiu On Mon, Oct 20, 2014, at 07:52, Emmanuel Grumbach wrote: On Sun, Oct 19, 2014 at 11:48 PM, Laurențiu Nicola

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-20 Thread Emmanuel Grumbach
On Mon, Oct 20, 2014 at 10:06 AM, Emmanuel Grumbach egrumb...@gmail.com wrote: On Mon, Oct 20, 2014 at 8:30 AM, Laurențiu Nicola lnic...@dend.ro wrote: Here: https://bpaste.net/show/bf6dc1847ce3 Are you sure you had MAC80211_MLME_DEBUG? Ok - You probably had it - sorry. But apparently the

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-20 Thread Laurențiu Nicola
One thing that might be relevant is that, although there is a static DHCP lease configured (which works on Windows), the router/AP is giving the laptop a different IP address. The reported MACs are the same, of course. I don't know whether wpa_supplicant remembers and requests the last IP it had,

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-20 Thread Emmanuel Grumbach
On Mon, Oct 20, 2014 at 10:22 AM, Laurențiu Nicola lnic...@dend.ro wrote: One thing that might be relevant is that, although there is a static DHCP lease configured (which works on Windows), the router/AP is giving the laptop a different IP address. The reported MACs are the same, of course. I

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-20 Thread Laurențiu Nicola
No, nothing in the DD-WRT syslog. The IP seems to be the one cached by my DHCP client. I also tried various suggestions found on the internet, but nothing helped. Laurentiu On Mon, Oct 20, 2014, at 11:23, Emmanuel Grumbach wrote: On Mon, Oct 20, 2014 at 10:22 AM, Laurențiu Nicola

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-20 Thread Emmanuel Grumbach
On Mon, Oct 20, 2014 at 10:29 PM, Laurențiu Nicola lnic...@dend.ro wrote: No, nothing in the DD-WRT syslog. The IP seems to be the one cached by my DHCP client. I also tried various suggestions found on the internet, but nothing helped. Can you please try to have another device in monitor

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-20 Thread Emmanuel Grumbach
On Tue, Oct 21, 2014 at 8:02 AM, Emmanuel Grumbach egrumb...@gmail.com wrote: On Mon, Oct 20, 2014 at 10:29 PM, Laurențiu Nicola lnic...@dend.ro wrote: No, nothing in the DD-WRT syslog. The IP seems to be the one cached by my DHCP client. I also tried various suggestions found on the internet,

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-19 Thread Laurențiu Nicola
Hello, Sorry for the late reply. I was using just wpa_supplicant. I also tried wicd, but it seems to hang when connecting to a network, but my understanding is that it's just a wpa_supplicant manager. I got this while installing Gentoo, but I also reproduced it on the Fedora 20 Live CD. See

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-19 Thread Emmanuel Grumbach
On Sun, Oct 19, 2014 at 11:48 PM, Laurențiu Nicola lnic...@dend.ro wrote: Hello, Sorry for the late reply. I was using just wpa_supplicant. I also tried wicd, but it seems to hang when connecting to a network, but my understanding is that it's just a wpa_supplicant manager. I got this while

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-19 Thread Laurențiu Nicola
Here: https://bpaste.net/show/bf6dc1847ce3 Laurentiu On Mon, Oct 20, 2014, at 07:52, Emmanuel Grumbach wrote: On Sun, Oct 19, 2014 at 11:48 PM, Laurențiu Nicola lnic...@dend.ro wrote: Hello, Sorry for the late reply. I was using just wpa_supplicant. I also tried wicd, but it seems to

iwlwifi: Reason 7 periodic disconnect

2014-10-16 Thread Laurențiu Nicola
Hello, I'm using iwlwifi for a Centrino Ultimate-N 6300 on 3.14.4 and 3.17.1. Connect to my wireless network works, but I get disconnected every 60 seconds or so. The dmesg output looks like https://bpaste.net/show/1623a8ae5dc6 . I had the same issue on the three latest firmware versions:

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-16 Thread Dan Williams
On Thu, 2014-10-16 at 15:48 +0300, Laurențiu Nicola wrote: Hello, I'm using iwlwifi for a Centrino Ultimate-N 6300 on 3.14.4 and 3.17.1. Connect to my wireless network works, but I get disconnected every 60 seconds or so. The dmesg output looks like https://bpaste.net/show/1623a8ae5dc6 .