rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Mon Sep 06, 2010 7:56 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: rt2500pci: regression with latest changes.
PostPosted: Sat Jul 17, 2010 3:51 am 
Offline

Joined: Mon Jan 30, 2006 1:29 am
Posts: 172
Location: Spain
The patch rt2x00: Write the BSSID to register when interface is added:

Code:
--- a/drivers/net/wireless/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/rt2x00/rt2x00mac.c
@@ -282,7 +282,8 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw,
    * has been initialized. Otherwise the device can reset
    * the MAC registers.
    */
-   rt2x00lib_config_intf(rt2x00dev, intf, vif->type, intf->mac, NULL);
+   rt2x00lib_config_intf(rt2x00dev, intf, vif->type,
+               intf->mac, intf->bssid);

   /*
    * Some filters depend on the current working mode. We can force

generates malfunction in managed mode with the rt2500pci driver, with that patch the device associates randomly.

Reverting that patch makes all work fine again.

Regards.

_________________
Device: Conceptronic C54Ri PCI (v1) (RT2560)
lspci: Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Device: Sitecom WL-172 USB (RT73)
lsusb: ID 0df6:90ac Sitecom Europe B.V. WL-172
Arch: x86


Top
 Profile  
 
 Post subject: Re: rt2500pci: regression with latest changes.
PostPosted: Sat Jul 17, 2010 10:19 am 
Online
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5879
Location: Haarlem, The Netherlands
Could you try attached patch to see if that fixed the problem for you?


Attachments:
bssid.diff [471 Bytes]
Downloaded 2 times

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com
Top
 Profile  
 
 Post subject: Re: rt2500pci: regression with latest changes.
PostPosted: Sat Jul 17, 2010 4:58 pm 
Offline

Joined: Mon Jan 30, 2006 1:29 am
Posts: 172
Location: Spain
Yes, with that patch works :) . I tried with compat-wireless-2010-07-16.tar.bz2 with no changes on it and it doesn't works then I tried the same tarball with your patch and it works well.

Regards.

_________________
Device: Conceptronic C54Ri PCI (v1) (RT2560)
lspci: Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Device: Sitecom WL-172 USB (RT73)
lsusb: ID 0df6:90ac Sitecom Europe B.V. WL-172
Arch: x86


Top
 Profile  
 
 Post subject: Re: rt2500pci: regression with latest changes.
PostPosted: Sun Jul 18, 2010 8:37 pm 
Offline

Joined: Mon Jan 30, 2006 1:29 am
Posts: 172
Location: Spain
Sorry but after more tests with the patch bssid.diff happens the same, the device associates randomly (most of the times doesn't associate).

The unique thing that really works is revert the patch rt2x00: Write the BSSID to register when interface is added.

Regards.

_________________
Device: Conceptronic C54Ri PCI (v1) (RT2560)
lspci: Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Device: Sitecom WL-172 USB (RT73)
lsusb: ID 0df6:90ac Sitecom Europe B.V. WL-172
Arch: x86


Top
 Profile  
 
 Post subject: Re: rt2500pci: regression with latest changes.
PostPosted: Mon Jul 19, 2010 9:46 am 
Online
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5879
Location: Haarlem, The Netherlands
Could you try this new patch instead?


Attachments:
bssid.diff [1.29 KiB]
Downloaded 5 times

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com
Top
 Profile  
 
 Post subject: Re: rt2500pci: regression with latest changes.
PostPosted: Mon Jul 19, 2010 5:38 pm 
Offline

Joined: Mon Jan 30, 2006 1:29 am
Posts: 172
Location: Spain
The second one, after a few tests, seems to work well.

Regards.

_________________
Device: Conceptronic C54Ri PCI (v1) (RT2560)
lspci: Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Device: Sitecom WL-172 USB (RT73)
lsusb: ID 0df6:90ac Sitecom Europe B.V. WL-172
Arch: x86


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], MSN [Bot], Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group