Losing router connectivity every 5 minutes

I am having a weird issue where, every five minutes (basically to the second) I lose the ability to ping my router, as well as google dns (8.8.8.8), for about 20-30 seconds. This issue does not coincide with my wifi changing channels, nor changes in the RSSI or Noise. It happens at the same exact time for multiple laptops, so I know it’s not a single device. I have a AT&T BGW 320-500 router, which does not have uPNP.

My router logs are filled with “Generic Discards” (TCP), where the source IP addresses show up on AbuseIPDB as malicious IPs. As well as the occasional “Other DoS attack”. But these are happening basically continuously, and don’t coincide with all the wifi outages.

What could be going on? What should I check?

Plot of router logs and wifi outages:

enter image description here

In the linked image, the dots are the times of wifi outages, and the blue line are the DoS attacks in my router’s logs.