younglo / cyanogenmod4milestone

Automatically exported from code.google.com/p/cyanogenmod4milestone
0 stars 0 forks source link

WiFi - issues of the new Moto/TI drivers and firmware #147

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
0.03-10.10.21b

I have a problem with WLAN like many other users of GOT 2.2.1 and CM6, too. My 
connection drops frequently and the speed is very low. It just happens with 
specific router / Milestone configurations, but it did'nt appear on 2.36.

Could it be possible to fix it, e.g. with replacing some WLAN-modules / -files 
with old ones to get it working again? Because the situation is very 
frustrating...

Original issue reported on code.google.com by sendsch...@googlemail.com on 22 Oct 2010 at 12:03

GoogleCodeExporter commented 8 years ago

Original comment by kabal...@gmail.com on 22 Oct 2010 at 4:34

GoogleCodeExporter commented 8 years ago
same for me

Original comment by Plasmali...@gmail.com on 22 Oct 2010 at 4:47

GoogleCodeExporter commented 8 years ago
same too, wifi alwasy drop

Original comment by chai.kin...@gmail.com on 22 Oct 2010 at 4:54

GoogleCodeExporter commented 8 years ago
same here!

Original comment by timo.hei...@gmail.com on 23 Oct 2010 at 6:21

GoogleCodeExporter commented 8 years ago
Issue 152 has been merged into this issue.

Original comment by kabal...@gmail.com on 25 Oct 2010 at 12:20

GoogleCodeExporter commented 8 years ago
Issue 153 has been merged into this issue.

Original comment by kabal...@gmail.com on 25 Oct 2010 at 12:20

GoogleCodeExporter commented 8 years ago

Original comment by kabal...@gmail.com on 25 Oct 2010 at 12:22

GoogleCodeExporter commented 8 years ago
Currently know workarounds (on AP side):
- switch from WPA2 to WPA
- switch from TKIP to AES cipher
- don't use the mixed mode
- disable N mode

Interestingly enough, some people find the new wlan firmware from the 2.2.1 
test firmware better than the old one... 
http://forum.xda-developers.com/showthread.php?t=815797

Original comment by kabal...@gmail.com on 25 Oct 2010 at 12:27

GoogleCodeExporter commented 8 years ago
After looking at that thread about recompiling the drivers at xda-developers: 
Is the other way round also possible? I mean would it be possible to compile 
the old (in my opinion better) drivers for the kernel of our 2.2.1 firmware?

Original comment by matthias...@gmail.com on 25 Oct 2010 at 1:56

GoogleCodeExporter commented 8 years ago
Er....
I think you can try  changing the channel...

Original comment by johsonc...@gmail.com on 28 Oct 2010 at 3:44

GoogleCodeExporter commented 8 years ago
Same for me :\

Original comment by psych...@gmail.com on 28 Oct 2010 at 6:52

GoogleCodeExporter commented 8 years ago
I also see the same problem... hard to get connected and intermittent 
connection. I Found the solution and looks like now time to share with you 
another tweak from me.

Fix unable to connect to wireless b/g/n. Even mixed mode works now.

1) Download wififix.sh that i attached
2) Put under /sdcard/OpenRecovery/scripts/wififix.sh
3) Boot into RECOVERY
4) After you be inside OpenRecovery, click on "Run Scripts"
5) Choose wififix.sh

DONE !

Fix intermittent connection

1) Download dnsfix.sh that i attached
2) Put under /sdcard/OpenRecovery/scripts/dnsfix.sh
3) Boot into RECOVERY
4) After you be inside OpenRecovery, click on "Run Scripts"
5) Choose dnsfix.sh

DONE !

It works for me and hope it works for you all.

Original comment by ComFla...@gmail.com on 29 Oct 2010 at 2:07

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks!
I've been actually including the default.prop with the dnsfix content in the 
previous CM6 releases, so I take it as a notice that it's missing now :).

Those who experience the WIFI issues, please test whether the disabling of the 
802.11n (HT_Enable=0) in tiwlan.ini helps (wififix.sh).

Original comment by kabal...@gmail.com on 29 Oct 2010 at 9:40

GoogleCodeExporter commented 8 years ago
The wifi-fix indeed fixed the wifi-problems I had with my FritzBoxes!

Original comment by matthias...@gmail.com on 29 Oct 2010 at 10:00

GoogleCodeExporter commented 8 years ago
Fix works for me!

Original comment by timo.hei...@gmail.com on 31 Oct 2010 at 11:05

GoogleCodeExporter commented 8 years ago
this was not a problem for me on "0.03-10.10.27 6.1.0-RC1".
But its happening on "0.03-10.10.31".
I have since roll back to 10.10.27.
will try the Wifi fix and see if it works.

Original comment by w.ans...@gmail.com on 4 Nov 2010 at 1:04

GoogleCodeExporter commented 8 years ago
with the last build (0.03-10.11.08) mi milestone no longer detect my wifi 
network (WPA-PSK+WPA2-PSK). It doesn't event detect that there is a wifi 
signal, i didn't try with another wifi newtwork yet, but the fact that it show 
no available AP it seems like as the wifi module remains turned off.

Original comment by thsh...@gmail.com on 9 Nov 2010 at 9:08

GoogleCodeExporter commented 8 years ago
Since the version 10.10.31, the option in /system/etc/wifi/tiwlan.ini:

HT_Enable=1                     #0=diable 802.11n support / 1=Enable 

Has been changed to HT_Enable=0 (N support disabled), as it was causing 
problems to many users, whose WIFI AP has been set to allow both G and N 
connections.

If it is causing you problems, you can set it back to HT_Enable=1 (or change 
your wifi AP settings to allow also the G mode).

Original comment by kabal...@gmail.com on 9 Nov 2010 at 1:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
HT_Enable is on line 186

Original comment by kabal...@gmail.com on 9 Nov 2010 at 2:02

GoogleCodeExporter commented 8 years ago
yeah i know that, but with the 10.10.31 build all was fine, just with this last 
build this issue appears.
If i'm the only one having this kind of problem, sure it depends from me. I'll 
investigate on it, thanks.

Original comment by thsh...@gmail.com on 9 Nov 2010 at 6:41

GoogleCodeExporter commented 8 years ago
thshine

I'm having the same issue as you..i tried the scripts but its not helping..
I then tried changing the HT_Enable to 1... this fixes my problem..!! :D

Is it because I'm using fiber optic connection? no idea.as long as its working 
now..
i'm happy.. :D

Original comment by w.ans...@gmail.com on 10 Nov 2010 at 1:35

GoogleCodeExporter commented 8 years ago
AFAIK putting HT_Enable to 0 is the right way to solve the problems. Hardware 
of the Milestone is not capable using 802.11n. 

Original comment by bodorif...@gmail.com on 18 Nov 2010 at 7:59

GoogleCodeExporter commented 8 years ago
I think, that the problem has something to do with:

https://forum.openwrt.org/viewtopic.php?pid=114504

"...The  cause is that the wireless driver in many of the custom ROMs is 
WiLink_Driver_6.1.0.0.131, which incorrectly sends two WPA2 RSN IEs that are 
different. It uses the value of the PTKSA from the AP to generate the PTKSA and 
GTKSA settings in the RSN capabilities section for the first RSN IE, but just 
uses 0 for the second. If WMM/WME is enabled on the AP, the AP sets its PTKSA 
to > 0, causing the Droid to respond with one RSN IE with non-zero values. But, 
hostapd uses the second RSN IE, notices the mismatch, and drops the 
connection..."

My logs on my wifi router confirm the problem:

Apr 14 06:00:45 apa daemon.info hostapd: wlan0: STA a4:ed:4e:d4:xx:xx IEEE 
802.11: authenticated
Apr 14 06:00:45 apa daemon.info hostapd: wlan0: STA a4:ed:4e:d4:xx:xx IEEE 
802.11: associated (aid 3)
Apr 14 06:00:45 apa daemon.info hostapd: wlan0: STA a4:ed:4e:d4:xx:xx WPA: WPA 
IE from (Re)AssocReq did not match with msg 2/4
Apr 14 06:00:45 apa daemon.info hostapd: wlan0: STA a4:ed:4e:d4:xx:xx IEEE 
802.11: deauthenticated due to local deauth request
Apr 14 06:00:48 apa daemon.info hostapd: wlan0: STA a4:ed:4e:d4:xx:xx IEEE 
802.11: authenticated
Apr 14 06:00:48 apa daemon.info hostapd: wlan0: STA a4:ed:4e:d4:xx:xx IEEE 
802.11: associated (aid 3)
Apr 14 06:00:48 apa daemon.info hostapd: wlan0: STA a4:ed:4e:d4:xx:xx WPA: WPA 
IE from (Re)AssocReq did not match with msg 2/4
Apr 14 06:00:48 apa daemon.info hostapd: wlan0: STA a4:ed:4e:d4:xx:xx IEEE 
802.11: deauthenticated due to local deauth request

Original comment by artem.ma...@gmail.com on 6 Dec 2010 at 8:22

GoogleCodeExporter commented 8 years ago
Thanks, it's a good tip - disable WMM/WME on your AP router.

Btw., there are lots of similar wifi issue reports also from the 
Droid/Droid2/DroidX users... go figure.

At this point, without the proper kernel sources, there seems to be no chance 
to fix the tiwlan driver.

Original comment by kabal...@gmail.com on 6 Dec 2010 at 11:52

GoogleCodeExporter commented 8 years ago

Original comment by kabal...@gmail.com on 1 Mar 2011 at 2:32

GoogleCodeExporter commented 8 years ago
Great!!! Thank you!!! fixed

Original comment by braye...@gmail.com on 24 Oct 2011 at 12:51

GoogleCodeExporter commented 8 years ago
CAn this be done without cyangogen mod

Original comment by dopeymc...@gmail.com on 12 Dec 2011 at 7:34