Unstable work of wifi on bpi r4

it worked reliably for several months. One day, it started working poorly. It worked for about 10 minutes, then the connection was established and the signal was strong, but data wouldn’t get through until I reconnected. What could have happened?

Maybe there is some hint in dmesg or hostapd log?