Scenario before fix
Wifi works without major issue in Windows 10 i.e. no problem with the wifi module nor wifi antenna
The fix
Add one line containing following to /etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=1
Following is a sample bash script incorporating the fix;
#!/bin/bash
echo “options iwlwifi 11n_disable=1” | sudo tee /etc/modprobe.d/iwlwifi.conf
sudo modprobe -rfv iwlmvm
sudo modprobe -rfv iwlwifi
sudo modprobe -v iwlwifi
Credits to https://www.youtube.com/watch?v=ls3sE64Ril8
Note this fix should work on any variant of Linux which evaluates /etc/modprobe.d/iwlwifi.conf on start up. It should also work for any Intel chipset using iwlwifi (i.e. not limited to 8265 as per credited link)