Thanks. As a result, I took your advice to install another firmware (based on OpenWRT).
Installed it from here: http://radiohlam.ru/forum/viewtopic.php?f=54&t=4038
ipv6 works fine, but wifi reboots periodically. It is said that this is due to incorrect drivers on the wifi chip. It doesn't bother me.
Thank you again.