Did a fresh install of Ubuntu 18.04 LTS, but my computer now periodically crashes. Seems to have to do with my WiFi? It's integrated with my motherboard (https://www.asrock.com/mb/Intel/Z370%20Taichi/)

Never had this issue on 16.04 LTS. Below is what I see in /var/log/kern.log

Jun 10 20:45:57 Fractal kernel: [ 6993.277247] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
Jun 10 20:45:57 Fractal kernel: [ 6993.277254] iwlwifi 0000:05:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: enqueue_hcmd failed: -5
Jun 10 20:45:57 Fractal kernel: [ 6993.277255] iwlwifi 0000:05:00.0: Failed to get the temperature (err=-5)
Jun 10 20:45:59 Fractal kernel: [ 6995.306718] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
Jun 10 20:45:59 Fractal kernel: [ 6995.306727] iwlwifi 0000:05:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: enqueue_hcmd failed: -5
Jun 10 20:45:59 Fractal kernel: [ 6995.306728] iwlwifi 0000:05:00.0: Failed to get the temperature (err=-5)
Jun 10 20:46:01 Fractal kernel: [ 6997.335792] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
Jun 10 20:46:01 Fractal kernel: [ 6997.335799] iwlwifi 0000:05:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: enqueue_hcmd failed: -5
Jun 10 20:46:01 Fractal kernel: [ 6997.335800] iwlwifi 0000:05:00.0: Failed to get the temperature (err=-5)
Jun 10 20:46:03 Fractal kernel: [ 6999.365298] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
Jun 10 20:46:03 Fractal kernel: [ 6999.365307] iwlwifi 0000:05:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: enqueue_hcmd failed: -5
Jun 10 20:46:03 Fractal kernel: [ 6999.365308] iwlwifi 0000:05:00.0: Failed to get the temperature (err=-5)
Jun 10 20:46:05 Fractal kernel: [ 7001.394717] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
Jun 10 20:46:05 Fractal kernel: [ 7001.394725] iwlwifi 0000:05:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: enqueue_hcmd failed: -5
Jun 10 20:46:05 Fractal kernel: [ 7001.394726] iwlwifi 0000:05:00.0: Failed to get the temperature (err=-5)
Jun 10 20:46:07 Fractal kernel: [ 7003.423809] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
Jun 10 20:46:07 Fractal kernel: [ 7003.423817] iwlwifi 0000:05:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: enqueue_hcmd failed: -5
Jun 10 20:46:07 Fractal kernel: [ 7003.423819] iwlwifi 0000:05:00.0: Failed to get the temperature (err=-5)
Jun 10 20:46:09 Fractal kernel: [ 7005.453260] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
Jun 10 20:46:09 Fractal kernel: [ 7005.453267] iwlwifi 0000:05:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: enqueue_hcmd failed: -5
Jun 10 20:46:09 Fractal kernel: [ 7005.453268] iwlwifi 0000:05:00.0: Failed to get the temperature (err=-5)
Jun 10 20:46:11 Fractal kernel: [ 7007.482595] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
Jun 10 20:46:11 Fractal kernel: [ 7007.482603] iwlwifi 0000:05:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: enqueue_hcmd failed: -5
Jun 10 20:46:11 Fractal kernel: [ 7007.482606] iwlwifi 0000:05:00.0: Failed to get the temperature (err=-5)

...

(repeats forever until I hit the reset button on my computer)

Any help on how to resolve this would be much appreciated!