I'm trying set up a simple WDS link to test some hardware throughputs on some atheros cards I have in a couple of Avila Gateworks 2345's.  I'm using the current trunk because 7.09 had some madwifi issues that kept popping up.

I've setup a test config for network and wireless like this:

/etc/config/wireless:

config wifi-device  wifi0
        option type     atheros
        option channel  160
        option country  us
        option agmode   11a
        # REMOVE THIS LINE TO ENABLE WIFI:
        #option disabled 1

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     wds
        option ssid     Snaps911
        option encryption none
        option bssid    '00:0B:6B:2B:BC:42'
        option hidden   1


/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 proto    static
        option ipaddr   192.168.1.2
        option netmask  255.255.255.0
        option dns      192.168.1.1
        option gateway  192.168.1.1

config interface wan
        option ifname   eth1
        option proto    static
        option ipaddr   192.168.3.3
        option netmask  255.255.255.0

and I set up the other router with the same config, but changed the bssid  and ip's accordingly.

if I then restart networking I see:

:/etc/config$ /etc/init.d/network restart
eth0: link down
eth1: link down
ath0: Added WDS MAC: 00:0b:6b:2b:bc:42
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device ath0 ; Operation not supported.

So if fails setting the essid but sets everything else.

iwconfig shows:

ath0      IEEE 802.11Ta  Nickname:""
          Mode:Repeater  Frequency:5.8 GHz  Access Point: 00:0B:6B:2B:BC:42   
          Bit Rate:0 kb/s   Tx-Power:21 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-93 dBm  Noise level=-93 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

So my head really hurts at this point,  Anyone got any help or advice?