I guess the previous poster has taken their leave so we wont get the reports I asked for.
As to your restart … you could do it a couple ways.
For example, with a service;
# /etc/systemd/system/restart-wifi.service
# sudo systemctl enable restart-wifi.service
[Unit]
Description=Disable and reenable wifi
Before=basic.target suspend.target hibernate.target
StopWhenUnneeded=yes
[Service]
User=root
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/rmmod ath10k_pci
ExecStart=/usr/bin/sleep 1
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/modprobe ath10k_pci
[Install]
WantedBy=basic.target suspend.target hibernate.target