You would just need to setup iptables to route between the WLAN and wired interfaces, and then alternately setup DHCP for the clients (though it sounds like you might be handling all this in the router).
The following commands (placed into a boot script) should be enough to get basic functionality going:
Code:
iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
That should share out the connection from your first WLAN device to your first Ethernet device, which sounds about right from your description.