I'm using the TP-Link TL-WR941ND Ver3.2 [Atheros] as an example to walk through the following setup, the same steps should apply to most DD-WRT supported devices.
- Basic setup act as common gateway router
- Setup VLAN tagging for UniFi (internet only)
- Setup to act as an Access Point (eg, use this type of setup to extend the MikroTik RB750/750G WiFi capability)
- N-Only WiFi setup (if all devices fully support N-mode)
- Revert back to factory (Web Revert method)