Send users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        
http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com

or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."


Today's Topics:

   1. Re: RT5572 can connect only within 15 meters (Fabien ADAM)


----------------------------------------------------------------------

Message: 1
Date: Sun, 25 Aug 2013 17:11:32 +0200
From: Fabien ADAM <[email protected]>
To: Stanislaw Gruszka <[email protected]>
Cc: [email protected]
Subject: Re: [rt2x00-users] RT5572 can connect only within 15 meters
Message-ID:
        
<mailman.4.1377482401.31379.users_rt2x00.serialmonkey....@rt2x00.serialmonkey.com>
        
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I tried your patch and *it works* ! Thank you very much, I'm impressed !
I just fix the name of the first function read, so I have attached back
the correct patch.

As I needed to find out how to use it, I explain bellow the step I ran:
# get the source of the running kernel and extract it
sudo apt-get install linux-source
mkdir ~/dev/linux/; cd ~/dev/linux/
tar xjf /usr/src/linux-source-3.11.0.tar.bz2
cd linux-source-3.11.0/
# put the patch to ~/dev/linux/
# patch the source
patch -p1 < ../rt2800lib_check_for_external_tx_acl.patch
# create a Makefile to build only the module you need instead of the
whole kernel
# source: http://www.cyberciti.biz/tips/compiling-linux-kernel-module.html
# result: attached Makefile should be put in
~/dev/linux/linux-source-3.11.0/drivers/net/wireless/rt2x00/Makefile
# compile
make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
# Replace the old module with the fixed one
sudo mv /lib/modules/$(uname
-r)kernel/drivers/net/wireless/rt2x00/rt2800lib.ko /lib/modules/$(uname
-r)/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko_old
sudo cp -p rt2800lib.ko /lib/modules/$(uname
-r)/kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
# Reload the module
sudo rmmod rt2800usb rt2800lib
sudo modprobe rt2800usb
# Enjoy the result.

Fabien

Le 23/08/2013 11:48, Stanislaw Gruszka a ?crit :
> On Wed, Aug 21, 2013 at 11:24:20PM +0200, Fabien ADAM wrote:
>> Hello,
>>
>> I use rt2800usb on Linux 3.11 rc3 with Ralink 802.11n WLAN
>> (idVendor=148f, idProduct=5572).
>> Previously I used the Ralink driver on Linux 3.2 (RT5572 USB -
>> v2.6.1.3). The Ralink driver doesn't work on newer linux version
>> (RTMPSetTimer failed)
>>
>> It works well at 5 meters from the AP with rt2800usb but doesn't work at
>> 15 meters. I've got errors like:
>> wlan1: authenticate with [MAC]
>> wlan1: direct probe to [MAC] (try 1, 2 and 3/3)
>> wlan1: authentication with [MAC] timed out
>>
>> I tried to bring the wireless dongle a little bit closer to the AP with
>> an usb extension cable and this allow the connexion to establish without
>> these errors and then it works normally.
>> The wireless dongle can work at longer distance as it perfectly worked
>> with previous Ralink driver.
>>
>> I tried to replace the firmware rt2870.bin with the one of Ralink
>> previous driver (rt2870_sw_ch_offload.bin) but it didn't change anything.
>> So I think there is a bug within rt2800 driver and not in the firmware
>> part, but I don't know what else I can do to help fixing that bug. I'm
>> not a developer but I may do some compilations and tests that might help.
> Could you check if attached patch helps ?
>
> Stanislaw
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt2800lib_check_for_external_tx_acl.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: 
<http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/attachments/20130825/9bf15479/attachment.bin>
-------------- next part --------------
obj-m = rt2x00dev.o rt2x00mac.o rt2x00config.o rt2x00queue.o rt2x00link.o 
rt2800lib.o
KVERSION = $(shell uname -r)
all:
        make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
clean:
        make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean

------------------------------

Subject: Digest Footer

_______________________________________________
users mailing list
[email protected]
http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com


------------------------------

End of users Digest, Vol 54, Issue 16
*************************************

Reply via email to