I have put together first openwrt version for Tenda W300A AP (also set up wiki page - http://wiki.openwrt.org/toh/tenda/w300a).
The patch is available at http://netload.in/dateiMXSgbsbh4R/tenda_w300a.patch.htm (sorry, do not know whether it is possible/how to post it directly here).
The use is pretty straightforward:
svn co svn://svn.openwrt.org/openwrt/trunk/
(in my case r31059)
cd trunk
patch --dry-run -p 0 < tenda_w300a.patch
(check that it still applies "reasonably")
patch -p 0 < tenda_w300a.patch
make menuconfig
make
Now for the bad news:
- the lan LED has swapped colors (green for 10/100M, orange for 1G; original FW had it the other way). I believe it is directly connected to the Vitesse MAC and do not know how to fix it.
- Wifi LED is inverse (on when wifi disabled). Again not sure whether controlled by the standard GPIO of RT2880 (was not able to find it and it turns on/off without any SW setting, only inverse)
- not sure whether the Reset button is working (used GPIO # based on the orig FW log)
- few NOTICE lines in the log when enabled wifi logging (not my fault and pretty harmless, not sure what check to add to detect it is not rt305x but the default return is false which is correct here :-)):
[ 126.570000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
- have not flashed "real image", only tested via TFTP directly to RAM (initramfs).
Would be great if someone could check it and/or would make use of it. I am not sure whether I will have time to continue to work on it.