Wifi become slow with bluetooth

I tried all the solutions that i know to solve the problem. Tried to set a channel to the wifi, turned off wifi power save and all. I noticed that sometimes my wifi speed up with turned on bluetooth. But whenever i play music with my bluetooth device wifi becomes too slow.

I will share the details below:-

 nmcli device wifi list
IN-USE  BSSID              SSID  MODE   CHAN  RATE        SIGNAL  BARS  >
*       EC:79:F2:05:5E:DF  XPON  Infra  7     270 Mbit/s  87      ▂▄▆█ 
 inxi -Fazy
System:
  Kernel: 5.16.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.16-x86_64
    root=UUID=fc2e3534-fcf8-40a3-af0e-283bdf105cc9 rw rootflags=subvol=@ quiet
    udev.log_priority=3
  Desktop: Cinnamon 5.2.7 tk: GTK 3.24.33 info: plank vt: 7
    dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: X542UQR v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: X542UQR v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X542UQR.309 date: 05/21/2019
Battery:
  ID-1: BAT0 charge: 20.5 Wh (93.6%) condition: 21.9/38.0 Wh (57.7%)
    volts: 7.6 min: 7.6 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: Discharging cycles: 879
CPU:
  Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake
    family: 6 model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xEC
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 724 high: 800 min/max: 400/3400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 700 2: 745 3: 800 4: 751
    5: 700 6: 700 7: 700 8: 700 bogomips: 28808
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
    ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:5917 class-ID: 0300
  Device-2: NVIDIA GM108M [GeForce 940MX] vendor: ASUSTeK driver: nouveau
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 3
    speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:134d class-ID: 0302
  Device-3: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-6:3 chip-ID: 13d3:5a01 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    alternate: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9") monitors: <missing: xrandr>
  Monitor-1: eDP-1 model: BOE Display built: 2015 res: 1920x1080 dpi: 142
    gamma: 1.2 size: 344x193mm (13.5x7.6") diag: 394mm (15.5") ratio: 16:9
    modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.3.7
    direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.14-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: Unknown lanes: 63
    link-max: gen: 6 speed: 64 GT/s port: d000 bus-ID: 02:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
    vendor: Lite-On driver: ath9k v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:0036 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IF-ID-1: pan1 state: down mac: <filter>
Bluetooth:
  Device-1: Lite-On type: USB driver: btusb v: 0.8 bus-ID: 1-8:7
    chip-ID: 04ca:3018 class-ID: e001
  Report: bt-adapter note: tool can't run ID: hci0 rfk-id: 2 state: down
    bt-service: disabled rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 1.82 TiB used: 140.58 GiB (7.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD100
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 3D scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 860 EVO M.2 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 4B6Q scheme: GPT
Partition:
  ID-1: / raw-size: 192.57 GiB size: 192.57 GiB (100.00%)
    used: 23.39 GiB (12.1%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
  ID-2: /boot/efi raw-size: 320.7 MiB size: 320 MiB (99.80%)
    used: 568 KiB (0.2%) fs: vfat dev: /dev/sdb3 maj-min: 8:19
  ID-3: /home raw-size: 738.63 GiB size: 738.63 GiB (100.00%)
    used: 117.19 GiB (15.9%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
  ID-4: /var/log raw-size: 192.57 GiB size: 192.57 GiB (100.00%)
    used: 23.39 GiB (12.1%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 43.0 C pch: 41.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 2600
Info:
  Processes: 340 Uptime: 3h 45m wakeups: 3 Memory: 7.65 GiB
  used: 3.02 GiB (39.5%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1342 lib: 384 flatpak: 0
  Shell: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.13

Checked the power management and it is turned off.

iwconfig
lo        no wireless extensions.

enp2s0    no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:"XPON"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: EC:79:F2:05:5E:DF   
          Bit Rate=150 Mb/s   Tx-Power=16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-35 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:75   Missed beacon:0

pan1      no wireless extensions.

But whenever i play something in my bluetooth device there is some change in the above output.

iwconfig
lo        no wireless extensions.

enp2s0    no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:"XPON"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: EC:79:F2:05:5E:DF   
          Bit Rate=135 Mb/s   Tx-Power=16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=59/70  Signal level=-51 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:289   Missed beacon:0

pan1      no wireless extensions.

I set a channel for wifi and it didnt help,

iwlist wlp3s0 frequency
wlp3s0    13 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Current Frequency:2.442 GHz (Channel 7)

I think the problem is with Network manager or my driver configuration. Sadly i dont know how to fix it.

I have two files in the /etc/modeprobe folder. 8821cu.conf, for my usb adapter, and a iwlwifi.conf file.

my iwlwifi.conf file is configured as:-

options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=1 

Hope these outputs will help you to guide me.

WiFi and Bluetooth both use 2.4 GHz. They’re going to interfere with each other unless you use 5 GHz for your WiFi.

you can see there is no support for 5ghz in my device