Qualcomm Atheros weak Wifi signal on Ubuntu 18.04
Solution 1:
Suggest, after you do
sudo modprobe -rv ath10k_pci
to try
sudo modprobe -v ath10k_pci ant_sel=2
as it might be an RF issue which Windows resolved by using antenna #2.
Solution 2:
Run in terminal
sudo tee /etc/modprobe.d/rtl8723be.conf <<< "options rtl8723be ant_sel=2"
This will create a config file to make the setting permanent. Then restart.
Solution 3:
For all other Qualcomm cards...
check this command lspci | grep 'Network'
if output comes as
02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
Then this solution may work for you
sudo apt-get update
sudo apt-get install linux-headers-generic build-essential
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
tar -zxvf backports-20151120.tar.gz
cd backports-20151120
make defconfig-ath10k
make
sudo make install
ignore if you get any errors or warnings for make
Solution 4:
This solution given by Manas worked for me with some minor tweak.
Before executing the wget command check for you linux kernel version.
$ uname -r
Then go to https://mirrors.edge.kernel.org/pub/linux/kernel/projects/backports/stable/ and check for the closest kernel version available there and then download the backports
tar file using the following command.
$ wget https://kernel.org/pub/linux/kernel/projects/backports/stable/v5.1.16/backports-5.1.16-1.tar.gz
Here 5.1.16 is the linux kernel version.
Then run these. After successful installation of these three commands reboot.
$ make defconfig-ath10k
$ make
$ sudo make install
Reboot.