Wifi very slow with home network and fast with hotspot from mobile phone

Yesterday I installed fresh instance of Manjaro and wifi connection was working correctly. Today it’s working very slow and simple webpage is loading few seconds and sometimes I need to refresh. When I changing wifi network to network from my mobile phone hotspot then everything works correctly.

I have windows 10 too and both networks are working correctly there. I compare wifi settings on Manjaro and windows but I didn’t find any differences (automatic DHCP with static IP addresses, secure with WPA2-Personal, the same DNS for IPv4 and IPv6).

Before Manjaro I had Fedora and there was the same issue but I didn’t try to analyse that. Sometimes internet was working correctly and sometimes not.

inxi -Fazy

System:
  Kernel: 5.8.18-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=0e096419-d863-4b5a-8b19-892c23822fb5 rw quiet apparmor=1 
  security=apparmor resume=UUID=fb5cacb1-3359-433b-85e3-9af7fa3b8981 
  udev.log_priority=3 
  Console: tty 0 wm: gnome-shell DM: GDM 3.38.1 Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: MSI model: Z97-G43 (MS-7816) v: 3.0 serial: N/A 
  UEFI [Legacy]: American Megatrends v: 17.11 date: 02/18/2016 
CPU:
  Info: Quad Core model: Intel Core i5-4690K socket: BGA1155 bits: 64 
  type: MCP arch: Haswell family: 6 model-id: 3C (60) stepping: 3 
  microcode: 28 L1 cache: 256 KiB L2 cache: 6144 KiB L3 cache: 6000 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 28010 
  Speed: 2945 MHz min/max: 800/3900 MHz base/boost: 3500/3800 volts: 1.2 V 
  ext-clock: 100 MHz Core speeds (MHz): 1: 1708 2: 920 3: 1559 4: 2792 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Sapphire Limited Nitro+ driver: amdgpu v: kernel bus ID: 05:00.0 
  chip ID: 1002:67df 
  Display: server: X.org 1.20.9 compositor: gnome-shell driver: amdgpu 
  note: display driver n/a resolution: <xdpyinfo missing> 
  OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.38.0 
  5.8.18-1-MANJARO LLVM 11.0.0) 
  v: 4.6 Mesa 20.2.2 direct render: Yes 
Audio:
  Device-1: Intel 9 Series Family HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8ca0 
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Sapphire Limited driver: snd_hda_intel v: kernel bus ID: 05:00.1 
  chip ID: 1002:aaf0 
  Sound Server: ALSA v: k5.8.18-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0 state: down mac: <filter> 
  Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: d000 
  bus ID: 06:00.0 chip ID: 8086:2526 
  IF: wlp6s0 state: up mac: <filter> 
  Device-3: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb 
  bus ID: 2-14:5 chip ID: 8087:0025 
Drives:
  Local Storage: total: 1.30 TiB used: 506.86 GiB (38.0%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda vendor: GOODRAM model: N/A size: 223.57 GiB block size: 
  physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 22.3 
  scheme: GPT 
  ID-2: /dev/sdb vendor: GOODRAM model: SSDPR-CX400-512 size: 476.94 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: 61.3 scheme: MBR 
  ID-3: /dev/sdc type: USB vendor: HGST (Hitachi) model: HTS 725050A7E630 
  size: 465.76 GiB block size: physical: 4096 B logical: 512 B 
  serial: <filter> rev: 8101 scheme: MBR 
  ID-4: /dev/sdd type: USB vendor: JMicron Tech model: N/A size: 111.79 GiB 
  block size: physical: 4096 B logical: 512 B serial: <filter> rev: 0508 
  scheme: GPT 
  ID-5: /dev/sde type: USB vendor: SanDisk model: Cruzer Glide 3.0 
  size: 57.30 GiB block size: physical: 512 B logical: 512 B serial: <filter> 
  rev: 1.00 scheme: MBR 
Partition:
  ID-1: / raw size: 459.79 GiB size: 451.57 GiB (98.21%) 
  used: 159.34 GiB (35.3%) fs: ext4 block size: 4096 B dev: /dev/sdb1 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 17.14 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sdb2 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: amdgpu temp: 46.0 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 835 
Info:
  Processes: 266 Uptime: 42m Memory: 15.59 GiB used: 1.89 GiB (12.1%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1272 pacman: 1270 
  lib: 361 flatpak: 0 snap: 2 Shell: Bash (sudo) v: 5.0.18 
  running in: gnome-terminal inxi: 3.1.08 

sudo dmesg | grep wlan0 - no result

ping www.google.pl

[rafal-ms7816 rafal]# ping www.google.pl
PING www.google.pl(waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003)) 56 data bytes
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=1 ttl=120 time=18.0 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=2 ttl=120 time=44.9 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=13 ttl=120 time=33.3 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=14 ttl=120 time=17.5 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=15 ttl=120 time=18.8 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=16 ttl=120 time=17.4 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=17 ttl=120 time=17.8 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=18 ttl=120 time=23.3 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=19 ttl=120 time=19.4 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=20 ttl=120 time=22.9 ms
64 bytes from waw02s17-in-x03.1e100.net (2a00:1450:401b:807::2003): icmp_seq=21 ttl=120 time=34.7 ms
^C
--- www.google.pl ping statistics ---
23 packets transmitted, 11 received, 52.1739% packet loss, time 35214ms
rtt min/avg/max/mdev = 17.356/24.353/44.888/8.769 ms

ping 8.8.8.8

[rafal-ms7816 rafal]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=121 time=11.1 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=121 time=13.9 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=121 time=574 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=121 time=61.1 ms
64 bytes from 8.8.8.8: icmp_seq=15 ttl=121 time=15.8 ms
64 bytes from 8.8.8.8: icmp_seq=16 ttl=121 time=11.7 ms
64 bytes from 8.8.8.8: icmp_seq=27 ttl=121 time=1025 ms
64 bytes from 8.8.8.8: icmp_seq=28 ttl=121 time=22.1 ms
64 bytes from 8.8.8.8: icmp_seq=29 ttl=121 time=12.8 ms
^C
--- 8.8.8.8 ping statistics ---
29 packets transmitted, 9 received, 68.9655% packet loss, time 28296ms
rtt min/avg/max/mdev = 11.116/194.120/1024.506/340.780 ms, pipe 2