I would like to use OpenWrt as a Wi-Fi repeater and have followed the guide at https://openwrt.org/docs/guide-user/network/wifi/relay_configuration . The repeater appears to work fine when the Wi-Fi security of the repeater is disabled, i.e. encryption is set to none. However, once the encryption of the repeater Wi-Fi is set to WPA2 PSK, the repeater stops working -- a client can connect but doesn't seem to get an ip address from main router's DHCP server. Any help would be appreciated.
I am using OpenWrt 18.06.5 on a Xiaomi Mi WiFi Mini.