I tested today and WDS between TP-Link stock firmware and OpenWRT works.
The main WR1043ND router was stock firmware and the other WR1043ND was backfire 10.03.1-final and also the latest trunk.
[s]It seems ath9k does not support Client (WDS) yet.[/s] I had to configure OpenWRT as Access Point (WDS) for it to work.
EDIT: Client (WDS) didn't work because the TP-Link stock firmware setup is the client!
With trunk I was able to use WPA2/AES but with backfire 10.03.1-final only WPA/AES worked but it should be fine either way.
I configured the main router as 192.168.1.254 and left OpenWRT as 192.168.1.1.
Stock firmware:
Status:
Firmware Version: 3.11.5 Build 100427 Rel.61427n
Hardware Version: WR1043N v1 00000000
LAN
MAC Address: 11-22-33-44-55-66
IP Address: 192.168.1.254
Subnet Mask: 255.255.255.0
Wireless
Wireless Radio: Enable
Name (SSID): wdstest
Channel: 13
Mode: 11bgn mixed
Channel Width: 20MHz
Max Tx Rate: 130Mbps
MAC Address: 11-22-33-44-55-66
WDS Status: Run
The WDS Status: Run shows it is WDS connected and working.
Wireless Settings:
SSID: wdstest
Region: United Kingdom
Channel: 13
Mode: 11bgn mixed
Channel Width: 20MHz
Max Tx Rate: 130Mbps
[x] Enable Wireless Router Radio
[x] Enable SSID Broadcast
[x] Enable WDS
SSID(to be bridged): wdstest
BSSID(to be bridged): 99-88-77-66-55-44
Key type: WPA-PSK/WPA-PSK
Password: password
Change the BSSID(to be bridged) to the OpenWRT wireless BSSID.
Wireless Security:
[o] WPA-PSK/WPA2-PSK
Version: WPA2-PSK
Encryption: AES
PSK Password: password
OpenWRT running trunk r30919:
/etc/config/network lan settings:
config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.1'
option gateway '192.168.1.254'
option dns '192.168.1.254'
Also disable the DHCP server, firewall and dnsmasq.
/etc/config/wireless:
config wifi-device 'radio0'
option type 'mac80211'
option macaddr '99:88:77:66:55:44'
list ht_capab 'SHORT-GI-40'
list ht_capab 'DSSS_CCK-40'
option country 'GB'
option txpower '20'
option channel '13'
config wifi-iface
option device 'radio0'
option network 'lan'
option encryption 'psk2+ccmp'
option wds '1'
option mode 'ap'
option ssid 'wdstest'
option key 'password'
(Last edited by j8soot on 2 Apr 2012, 10:57)