Hostapd - One vlan per interface or bss and use of environment variables.
Instead of using dynamic vlan and radius, there is another way of implementing vlan with hostapd.
It is possible to set up one vlan per interface and one vlan per bss. The interfaces and bsses need to be added to a vlan aware bridge. The only problem is to keep WPA-PSK functional,