Hi,
just bought a HP laptop, I unstalled the linux ubuntu 16.04 on it, and surprise, the wifi was extreme slow.
Some tips that i spent about 2x weeks to discover:
1. turn off power save
sudo gedit /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
change wifi.powersave = 3
to
wifi.powersave = 2
2. try to check what antenna shall use
The laptop can have several antennas, check the best one.
sudo modprobe -rv rtl8723be
sudo modprobe -v rtl8723be ant_sel=2
sudo modprobe -rv rtl8723be
sudo modprobe -v rtl8723be ant_sel=1
If want to stay configured the best one, put:
echo "options rtl8723be ant_sel=1" > /etc/modprobe.d/rtl8723be.conf
or
echo "options rtl8723be ant_sel=1" > /etc/modprobe.d/rtl8723be.conf
3. some support commands
iwlist scan | egrep -i 'ssid|level'
sudo systemctl restart NetworkManager
https://askubuntu.com/questions/635625/how-do-i-get-a-realtek-rtl8723be-wireless-card-to-work
https://askubuntu.com/questions/752850/hp-stream-11-late-2015-edition-r050sa-wifi-not-working-properly
hope that helps more people.
cheers