Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Intel(R) WiFi Link 5100 AGN - random de-authentication
Date: Thu, 08 May 2014 11:39:04
Message-Id: 201405081238.52422.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Intel(R) WiFi Link 5100 AGN - random de-authentication by Tom Wijsman
1 Thank you for taking the time to respond Tom,
2
3 On Wednesday 07 May 2014 19:05:25 Tom Wijsman wrote:
4 > On Wed, 7 May 2014 16:58:05 +0100
5 >
6 > Mick <michaelkintzios@×××××.com> wrote:
7 > > I have compiled on a 3.12.13-gentoo kernel:
8 > Try the latest release candidate kernel (3.15-rc4) to make sure you
9 > have most of the the latest iwlwifi changes by upstream; if you want
10 > them all, and are not afraid of working with git, you can try to obtain
11 > even later changes from here:
12 >
13 > http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/iwlwifi-next.git
14
15 I will have some time the week after and I'll give this a go.
16
17
18 > > CONFIG_IWLWIFI=m
19 > > CONFIG_IWLDVM=m
20 > > CONFIG_IWLWIFI_OPMODE_MODULAR=y
21 >
22 > Set CONFIG_IWLWIFI_DEBUG=y to see if debug information tells more.
23 >
24 > An option to try out too is CONFIG_IWLWIFI_DEBUG_EXPERIMENTAL_UCODE=y.
25 >
26 > > My /etc/conf.d/net section says:
27 > >
28 > > [...]
29 > > wpa_supplicant_wlp4s0="-Dwext"
30 > > [...]
31 >
32 > Use nl80211 instead, you'll want to enable this in your kernel as well.
33
34 I recall trying this, but I think it would not connect at all. I may remember
35 incorrectly though, so I will try again.
36
37
38 > > proto=RSN
39 > > key_mgmt=WPA-PSK
40 > > pairwise=CCMP
41 > > group=CCMP
42 >
43 > Try WPA2 AES if you can configure that and the rest of devices
44 > connecting to the router support that, anything else can have a negative
45 > effect on obtaining the higher N speeds; talking about router, which
46 > kind of router is this and which firmware (eg. DD-WRT, ...) does it run?
47
48 I thought that CCMP *is* using AES with CBC-MAC ... or are you saying that I
49 should set up IEEE 802.1X EAP Authentication instead?
50
51 A point of clarification: although the 5100 AGN NIC can do 108.11n, my AP
52 will only do 108.11 a,b & g. Therefore I only want to achieve a stable 'g'
53 connection at this moment.
54
55
56 > > [ 514.377859] iwlwifi 0000:04:00.0 wlp4s0: disabling HT as WMM/QoS is
57 > > not supported by the AP
58 > > [ 514.377869] iwlwifi 0000:04:00.0 wlp4s0: disabling VHT as WMM/QoS
59 > > is not supported by the AP
60 >
61 > Look if your AP allows you enable WMM, to gain more throughput.
62
63 Will look into it, thanks.
64
65
66 > > # modprobe -v iwlwifi power_save=0 power_level=3 11n_disable=1
67 > > insmod
68 > > /lib/modules/3.12.13-gentoo/kernel/drivers/net/wireless/iwlwifi/iwlwifi.
69 > > ko power_save=0 power_level=3 11n_disable=1
70 >
71 > You shouldn't need all that, please try back with a plain modprobe.
72
73 There is definitely a difference with the power_level= and 11n_disable=
74 parameters. I tried this repeatedly to be quite certain about it. With the
75 11n_disable=1 the connection will de/re-authenticate every 7 minutes. With
76 11n_disable=0 it will de-authenticate and just sit there. However, it may
77 perform differently with a newer kernel. I will check again and report back.
78
79
80 > On a side note, I'm an owner of the same wireless card; currently I am
81 > experiencing the following bug, which has to do with iwlwifi being
82 > stuck in higher rates for one or another reason.
83 >
84 > https://bugzilla.kernel.org/show_bug.cgi?id=56581
85
86 I don't think that this is the same problem like mine, since I don't have 11n
87 on the router.
88
89 > There's something going on with the rate control algorithm these days...
90
91 I seem to recall having CONFIG_MAC80211_RC_MINSTREL=y in the kernel. Is there
92 some other setup to try?
93
94 I will also try a different access point in the next few days to see if it
95 makes a difference.
96
97 --
98 Regards,
99 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Intel(R) WiFi Link 5100 AGN - random de-authentication Mick <michaelkintzios@×××××.com>