For a long time I was looking for a simple wireless repeater which would extend the range of my main AP. Plus, I needed to get my settop-box into the network, which only has RJ-45. A Fonera would be ideal to connect the settop-box per WLAN and ideally function as a wireless repeater. This all should work with WPA encryption.
So, recent commits from nbd provide very easy WDS configuration. You'll need trunk > 12285 and atheros wifi on both sides. I tested this with two foneras.
Main AP
/etc/config/network:
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option type bridge
option proto dhcp
/etc/config/wireless:
config wifi-device wifi0
option type atheros
option channel 11
config wifi-iface
option device wifi0
option network lan
option mode ap
option wds 1
option ssid OpenWrt
option encryption psk
option key 'xxxxx'
This is basically a normal AP which handles WDS-clients as well. It's totally sufficient to only add 'option wds 1', the rest will be handled automatically by openwrt.
Now to the wds-client:
WDS-Client
/etc/config/network:
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option type bridge
option proto dhcp
/etc/config/wireless:
config wifi-device wifi0
option type atheros
option channel auto
config wifi-iface
option device wifi0
option network lan
option mode sta
option wds 1
option ssid OpenWrt
option encryption psk
option key 'xxx'
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid OpenWrt
option encryption psk
option key 'xxx'
This adds a bridge where three interfaces are included. The WDS-STA interface which is connected to the main AP, a new ap-interface which we will connect to per wlan (repeater) and the eth0-interface where the settop-box is connected via RJ-45.
Have fun!