I'm running backfire r22216 on an ASUS WL-520GU (broadcom 5365) with the mac80211 driver. Adding the "distance" command to the config causes wifi to throw the following error:
root@rtr:/# wifi
command failed: Operation not supported (-122)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
root@rtr:/#
The radio still comes up with the error, but I assume the distance optimization is not applied...
According to the wiki (http://wiki.openwrt.org/doc/uci/wireless) this feature was supported in the mac80211 driver on trunk in mid-june. The version I'm using here was last committed July 6. Any ideas of what's going wrong / how to debug?
wireless config:
config 'wifi-device' 'radio0'
option 'type' 'mac80211'
option 'txantenna' '0'
option 'rxantenna' '0'
option 'rts' '2000'
option 'frag' '2048'
option 'distance' '100'
option 'channel' '2'
option 'macaddr' 'E0:CB:4E:11:52:44'
option 'disabled' '0'
config 'wifi-iface'
option 'device' 'radio0'
option 'network' 'wifimesh'
option 'mode' 'adhoc'
option 'hidden' '1'
option 'encryption' 'wep'
option 'key' '12345678901234567890'
option 'bssid' '02:00:11:22:33:41'
option 'ssid' 'ff2'