UDOO Quad wifi is unstable

This forum is for supported devices using an ARMv7 Freescale SoC.

UDOO Quad wifi is unstable

Postby pedronf65 » Sun Feb 28, 2016 9:01 am

Hi all,
I'm testing the UDOO Quad and for that I have a ssh session to its wifi port. After boot I can connect with no problems. But after a while it will freeze and eventually disconnect.
I already disabled the usb auto suspend adding this to the /boot/uEnv.txt file.
$this->bbcode_second_pass_code('', 'optargs=usbcore.autosuspend=-1
')
How to check if its disabled after boot:
$this->bbcode_second_pass_code('', '$ cat /sys/module/usbcore/parameters/autosuspend
-1
')

The wifi driver power management is also disabled.
$this->bbcode_second_pass_code('', '$ iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"Numericable-cbb8"
Mode:Managed Frequency:2.412 GHz Access Point: 54:64:D9:50:CB:BE
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=43/70 Signal level=-67 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:7 Invalid misc:38 Missed beacon:0
')

Looking around I found lots of issues with the Mediatek RT5390 chipset. Unfortunately there is no driver for linux for this new chipset. Its using the rt2800usb driver that is supposed to be compatible...

I got a new firmware rt2870.bin version 0.33 here:
http://www.mediatek.com/en/downloads1/downloads/rt8070-rt3070-rt3370-rt3572-rt5370-rt5372-rt5572-usb-usb/

The new firmware improved the connection, I have less disconnects but I still have them.

This is how to check which firmware version you have:
$this->bbcode_second_pass_code('', '$ dmesg|grep 80211
[ 12.330452] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 12.368813] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 12.408608] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 12.508291] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 12.528110] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.33
')

After more search I found some adapted code for this driver here:
https://github.com/pedronf65/RT28XX-RT539X-Linux-driver

After compiling this driver I have an error:
depmod: ERROR: Bad version passed rt5390sta

This code didn't change since May 28, 2014 so I guess this code is too old for kernel 4.4.2... My current kernel:
$this->bbcode_second_pass_code('', ']$ uname -a
Linux udoo-quad 4.4.2-2-rt7-ARCH #1 SMP PREEMPT RT Fri Feb 26 00:58:50 UTC 2016 armv7l GNU/Linux
')

Is anyone experiencing problems with the wifi connection?
Is there a new driver somewhere?
Or is there a solution?

Many thanks in advance for any help, greetings
Pedro
pedronf65
 
Posts: 13
Joined: Mon Mar 02, 2015 5:15 pm

Return to Freescale

Who is online

Users browsing this forum: No registered users and 14 guests