rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Thu May 23, 2013 9:45 pm

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: Setting a static BSSID
PostPosted: Sat Feb 07, 2009 3:32 pm 
Offline

Joined: Thu Feb 05, 2009 7:11 pm
Posts: 4
Hello everyone,

A well-known problem in setting up a real ad-hoc network refers to the BSSID cell splliting problem, which I'm experiencing now. I'm setting up a network with a couple of nodes, some of them use usb dongle from Edimax, EW-7318USg. I'm not fully sure that they are causing the cell split, but as far as I have researched, the only way to fix this is by setting up a static BSSID and deactivating the BSSID selection algorithm in the driver.

So, I have tried:

# iwconfig rausb0 bssid <static MAC>

But nothing changed. I'm using the legacy rt73 driver. Can anyone clarify if this is supported or not in this driver, or if there is a patch for this functionality?

thanks in advance,


- Breno


Top
 Profile  
 
PostPosted: Sat Feb 07, 2009 3:47 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
[moved to correct forum, you state you are using rt73 legacy driver, so you should post on rt73 legacy forum]
[closed duplicate thread, don't start new topcics when you didn't get an answer on your first topic]

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Sun Feb 08, 2009 8:55 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
brenojac wrote:
So, I have tried:

# iwconfig rausb0 bssid <static MAC>
I assume you really mean
Code:
# iwconfig rausb0 ap <static MAC>
If not, could you try that and see what happens? (Make sure its a "locally administrated" address.)

Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Tue Feb 10, 2009 4:31 am 
Offline

Joined: Thu Feb 05, 2009 7:11 pm
Posts: 4
Hello Vern, thanks for replying.

I have tried iwconfig rausb0 ap <static MAC>, but nothing happens. I've been investigating this, and now I'm pretty sure that when I'm using realatively homogeneous adapters - such as several Edimax dongles and a single one from RealTek, the network is fairly stable. Turning on one of our Nokia N810 tablets turns everything into a mess - all other nodes start to get confused about what BSSID to choose, and then they split the whole network. The Nokias use a prism chipset, btw.

It's interesting to note that everyone is in-range in our tests. I have read several texts referring to the BSSID splitting problem in scenarios where nodes are distant or out-of-range of each other, and then get in trouble to syncronize their BSSIDs when getting in close range. In either case, setting a static BSSID and deactivating the automatic selection algorithm would solve the problem (that's what mostly everyone is doing in practical mesh networking today). But up to now only some Atheros chipsets and drivers seem to support this.

I was just trying to confirm for sure if the rt73 drivers or the new rt2x00 drivers support or do not support setting up a static BSSID, but I think the results from the tests attest to no support. If so, I'd like to know if it is possible to introduce this support as a patch or plugin to the driver in the future.

regards,

- Breno


Top
 Profile  
 
PostPosted: Tue Feb 10, 2009 9:58 am 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
For rt2x00 the "iwconfig wlan0 ap <bssid>" is not only supported it is mandatory to start an association attempt.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Fri Feb 13, 2009 11:09 pm 
Offline

Joined: Thu Feb 05, 2009 7:11 pm
Posts: 4
Hello all,

Thank you a lot for the information! I should then really try out the the rt2x00 drivers.

One final question: is there any plans to make the rt2x00 a standalone driver? I mean, to decouple it from the kernel, and provide a module which can be plugged into any (compatible) kernel?

regards, best wishes

- Breno


Top
 Profile  
 
PostPosted: Sat Feb 14, 2009 9:49 am 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
you mean the compat-wireless package from linux-wireless.org?

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Sat Feb 28, 2009 8:26 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Hi brenojac,

The attached patch should let you specify a BSSID in adhoc mode using the "iwconfig wlan0 ap <bssid>" command. You can return to the default behavior by specifying a bssid of all zeros.

Could you apply it to a vanilla copy of the lates CVS and see what happens?

Thanks,


Attachments:
File comment: Can specify BSSID in adhoc mode.
bsssplit1.patch.gz [1.23 KiB]
Downloaded 93 times

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.
Top
 Profile  
 
PostPosted: Mon Mar 09, 2009 3:15 am 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
What? You just taking my word for this?

Y'all wuz warned.

(Hope this stuff works.)

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group