OpenWrt Forum Archive

Topic: WDS compatibility between Atheros and Ralink?

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, would like to know if someone can tell me if with drivers implementing mac80211 is any issue when mixing WDS from different hardware like Atheros and Ralink. There were troubles long time ago if you mixed different hardware, but I'm not sure if this is still true, with actual wifi drivers.

From  https://wireless.wiki.kernel.org/en/use … a_wds_peer
WDS mode is a non-standard extension to the IEEE 802.11 standard to allow transparent Ethernet bridging on the station and to implement seamingless hand-over for wireless clients roaming between different access points. Due to its non-standard nature, WDS is often implemented differently in wireless drivers and vendor firmwares making them incompatible with each other. In order to use WDS, one should use the same hardware and software on all deployed wireless devices to maintain compatibility.

But it also says:
In order for this to work the driver must implement the cfg80211 callback set_wds_peer(). mac80211 implements this callback, so the respective mac80211 driver would just need to support WDS type interfaces. What WDS will do is replace the first address on the 802.11 header with the peer address when TXing frames. Instead of using WDS though you may want to consider using 4-address mode described below if you have control over the software running on the AP and respective clients/peers connected.

For example, if you make an WDS bridge between an AR9331 based device (AP-WDS) and a RT5350 based device(Client-WDS),  will it work fine?

(Last edited by danitool on 7 Feb 2016, 22:36)

I don't know how with ralink, but with two different broadcom based vdsl modems sold in here I have never been able to make the wds bridge working and realyd sucked too, so I solved it buying another router, tp link wr841n eats 2W and WDS works perfectly. If the WDS with ralink will work, you will be very lucky I think ;-)

nozombian wrote:

I don't know how with ralink, but with two different broadcom based vdsl modems sold in here I have never been able to make the wds bridge working and realyd sucked too, so I solved it buying another router, tp link wr841n eats 2W and WDS works perfectly. If the WDS with ralink will work, you will be very lucky I think ;-)

Broadcom WDS isn't comparable...

I have some cheap ralink based routers coming. When they get here, I'm going to try connecting them to an atheros via WDS.

From what I have read its never a good idea to operate WDS between different hardware as its implementation can vary between vendors.

Unfortunately the only way to know is to try it, there are no guarantees.

My personal experience though has been that with my WDR3600 as the WDS-Server, I have never had any issues connecting any device as a client.  It also seems to handle both normal and WDS clients concurrently without issues.

eas wrote:
nozombian wrote:

I don't know how with ralink, but with two different broadcom based vdsl modems sold in here I have never been able to make the wds bridge working and realyd sucked too, so I solved it buying another router, tp link wr841n eats 2W and WDS works perfectly. If the WDS with ralink will work, you will be very lucky I think ;-)

Broadcom WDS isn't comparable...

I have some cheap ralink based routers coming. When they get here, I'm going to try connecting them to an atheros via WDS.

My Ralink RT5350F based a5-v11 routers arrived. I flashed them with the appropriate build of 15.05 and found that they successfully connected to an Atheros-based AP/WDS using WPA2-Personal encryption in WDS Client mode and that a wired client attatched to the Ralink was able to obtain a DHCP address over the WiFi link and exchange traffic.

In short, Ralink - Atheros WDS seems to work as expected, at least in some combinations.

Hi eas, thanks for sharing your experience, and great to know they are compatible. But is it stable enough with good performance?, in theory WDS bridges bring the best performance since there is no routing involved.

WDS AP/WDS Client in OpenWrt is not the same as WDS bridge. It is routed WDS.

anarchy99 wrote:

WDS AP/WDS Client in OpenWrt is not the same as WDS bridge. It is routed WDS.

Please explain, routed WDS, is iptables involved anywhere?

Or is there any low level routing involved?, if this is the case, tell us how it works.

Regards.

danitool wrote:

Hi eas, thanks for sharing your experience, and great to know they are compatible. But is it stable enough with good performance?, in theory WDS bridges bring the best performance since there is no routing involved.

Stability seems good. Performance is hard to say; the Ralink device is a tiny, cheap travel router. I can rarely get wifi negotiating link speeds of more than 11Mbps downstream. I think though that is a hardware limitation, not a WDS-related issue. I've got a cheap dual-stream Ralink device coming with, hopefully, better antennas.

The discussion might have continued from here.