I wanted this capability for various reasons. It's not necessarily stable, because uap0 has to use the same channel as wlan0, and if you're traveling/mobile, wifi channels aren't necessarily predictable.
This is not a guide. This is just so I remember how to get back where I started, in case I wipe this thing. =)
Extremely helpful guides that got me here:
- http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap
- https://serverfault.com/questions/124774/have-a-service-start-on-startup-with-ubuntu
- https://raspberrypi.stackexchange.com/questions/63841/rpi-zero-w-as-both-wifi-client-and-access-point
- https://gist.github.com/ysr23/c4a9d7185ed5c6d7ccfa31deead44070