Gentoo Archives: gentoo-user

From: Tom Wijsman <TomWij@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Intel(R) WiFi Link 5100 AGN - random de-authentication
Date: Wed, 07 May 2014 18:05:51
Message-Id: 20140507200525.53f3bdfb@gentoo.org
In Reply to: [gentoo-user] Intel(R) WiFi Link 5100 AGN - random de-authentication by Mick
1 On Wed, 7 May 2014 16:58:05 +0100
2 Mick <michaelkintzios@×××××.com> wrote:
3
4 > I have compiled on a 3.12.13-gentoo kernel:
5
6 Try the latest release candidate kernel (3.15-rc4) to make sure you
7 have most of the the latest iwlwifi changes by upstream; if you want
8 them all, and are not afraid of working with git, you can try to obtain
9 even later changes from here:
10
11 http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/iwlwifi-next.git
12
13 > CONFIG_IWLWIFI=m
14 > CONFIG_IWLDVM=m
15 > CONFIG_IWLWIFI_OPMODE_MODULAR=y
16
17 Set CONFIG_IWLWIFI_DEBUG=y to see if debug information tells more.
18
19 An option to try out too is CONFIG_IWLWIFI_DEBUG_EXPERIMENTAL_UCODE=y.
20
21 > My /etc/conf.d/net section says:
22 >
23 > [...]
24 > wpa_supplicant_wlp4s0="-Dwext"
25 > [...]
26
27 Use nl80211 instead, you'll want to enable this in your kernel as well.
28
29 http://wireless.kernel.org/en/developers/Documentation/nl80211
30 http://wireless.kernel.org/en/users/Documentation/iw‎
31
32 > proto=RSN
33 > key_mgmt=WPA-PSK
34 > pairwise=CCMP
35 > group=CCMP
36
37 Try WPA2 AES if you can configure that and the rest of devices
38 connecting to the router support that, anything else can have a negative
39 effect on obtaining the higher N speeds; talking about router, which
40 kind of router is this and which firmware (eg. DD-WRT, ...) does it run?
41
42 > [ 514.377859] iwlwifi 0000:04:00.0 wlp4s0: disabling HT as WMM/QoS is
43 > not supported by the AP
44 > [ 514.377869] iwlwifi 0000:04:00.0 wlp4s0: disabling VHT as WMM/QoS
45 > is not supported by the AP
46
47 Look if your AP allows you enable WMM, to gain more throughput.
48
49
50 > ioctl[...]: Invalid argument
51
52 As suggested above; use nl80211 instead of wext, make sure it is
53 enabled and thus supported in the kernel.
54
55 > # modprobe -v iwlwifi power_save=0 power_level=3 11n_disable=1
56 > insmod /lib/modules/3.12.13-gentoo/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
57 > power_save=0 power_level=3 11n_disable=1
58
59 You shouldn't need all that, please try back with a plain modprobe.
60
61 On a side note, I'm an owner of the same wireless card; currently I am
62 experiencing the following bug, which has to do with iwlwifi being
63 stuck in higher rates for one or another reason.
64
65 https://bugzilla.kernel.org/show_bug.cgi?id=56581
66
67 Looking at the most recent commits, there might be a solution to that;
68 so, I'll try to pull that later to see if it fixes my issue with it.
69
70 http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/iwlwifi-next.git/commit/?id=80763515c371202916ecdb4118dbed51f801aeb5
71
72 I experience disconnects when my connection is too idle; this is
73 because at that moment the router goes to a lower rate, but the card
74 stays in a higher rate and that mismatch is enough for a timeout that
75 results in a disconnect. Similarly, in the opposite direction when the
76 router's rate is too high (due to LAN traffic); I sometimes experience
77 high response times and slowness, as well as the error from that bug.
78
79 There's something going on with the rate control algorithm these days...
80
81 As for your disconnects, I think they are due to nl80211 and/or your
82 network and/or router configuration; but it might very well be due to
83 that same bug above, in which case I guess you'll have to wait a bit to
84 see whether the debugging and resolution to it help you.
85
86 --
87 With kind regards,
88
89 Tom Wijsman (TomWij)
90 Gentoo Developer
91
92 E-mail address : TomWij@g.o
93 GPG Public Key : 6D34E57D
94 GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D

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>