Page 1 of 1

iwlwifi loose connection

Posted: Wed Dec 27, 2023 11:10 am
by IoannisTsoulos
Dear all,
I have a Dell Optiplex 5480 AIO with intel wifi card and periodically the connection is lost for some seconds
I attach below the system info

Code: Select all

System:
  Kernel: 6.1.0-13-amd64 [6.1.55-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-13-amd64 root=UUID=<filter> ro quiet splash
  Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM
    Distro: MX-23.1_KDE_x64 Libretto October 15 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop System: Dell product: OptiPlex 5480 AIO v: N/A serial: <superuser required>
    Chassis: type: 13 serial: <superuser required>
  Mobo: Dell model: 05T2V2 v: A00 serial: <superuser required> UEFI: Dell v: 1.3.0
    date: 10/06/2020
CPU:
  Info: model: Intel Core i7-10700T bits: 64 type: MT MCP arch: Comet Lake gen: core 10 level: v3
    note: check built: 2020 process: Intel 14nm family: 6 model-id: 0xA5 (165) stepping: 5
    microcode: 0xF8
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 800 min/max: 800/4500 scaling: driver: intel_pstate governor: powersave
    cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
    13: 800 14: 800 15: 800 16: 800 bogomips: 63998
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  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: Enhanced IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: SW
    sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-S GT2 [UHD Graphics 630] vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1,HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:9bc5 class-ID: 0300
  Device-2: Sunplus Innovation Integrated_Webcam_FHD type: USB driver: uvcvideo bus-ID: 1-10:4
    chip-ID: 1bcf:2b9b class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: Dell OptiPlex 3280 serial: <filter> built: 2019 res: 1920x1080 hz: 60
    dpi: 102 gamma: 1.2 size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9
    modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: Mesa Intel UHD Graphics 630 (CML GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel
    alternate: snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403
  API: ALSA v: k6.1.0-13-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel modules: wl bus-ID: 00:14.3
    chip-ID: 8086:06f0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:0d4c class-ID: 0200
  IF: eth0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-14:5 chip-ID: 8087:0026
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2
    sub-v: 2090 hci-v: 5.2 rev: 2090
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
Drives:
  Local Storage: total: 238.47 GiB used: 59.76 GiB (25.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: PC611 NVMe 256GB size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 11001111 temp: 41.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 238.22 GiB size: 233.43 GiB (97.99%) used: 59.76 GiB (25.6%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 56.5 MiB (1.4%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 47.0 C pch: 42.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2829 libs: 1483 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
    1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/insync.list
    1: deb http://apt.insync.io/debian bookworm non-free contrib
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo/ bookworm main non-free
    2: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
    1: deb [arch=amd64] https://repo.skype.com/deb stable main
Info:
  Processes: 381 Uptime: 2h 24m wakeups: 1 Memory: 15.31 GiB used: 6.08 GiB (39.7%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: iwlwifi loose connection

Posted: Wed Dec 27, 2023 11:18 am
by Charlie Brown

Code: Select all

echo 'options iwlwifi 11n_disable=1 swcrypto=1' | sudo tee /etc/modprobe.d/iwlwifi.conf
Reboot.

Re: iwlwifi loose connection

Posted: Wed Dec 27, 2023 11:20 am
by IoannisTsoulos
I will try it and I will report again
thanks a lot

Re: iwlwifi loose connection

Posted: Wed Dec 27, 2023 11:25 am
by Charlie Brown
Meanwhile, is it something new (began nowadays) or was always like that?

Re: iwlwifi loose connection

Posted: Wed Dec 27, 2023 12:50 pm
by j2mcgreg
Temporarily set up an Ethernet connection to your router / modem to verify that it's not a fault of your ISP.

Re: iwlwifi loose connection

Posted: Wed Dec 27, 2023 3:57 pm
by l0dr3
Try to setup yours iwlwifi (Intel AXxyz) with a custom configuration for

'/etc/modprobe.d/iwlwifi.conf' in place

Code: Select all

## Both options sets are needed as iwlmvm will override iwlwifi :(
## iwlmvm 1=always on, 2=balanced, 3=low-power
options iwlmvm power_scheme=1
options iwlwifi power_save=0 amsdu_size=3
## disable_11ax=1
HTH l0dr3

Re: iwlwifi loose connection

Posted: Thu Dec 28, 2023 4:00 am
by IoannisTsoulos
Charlie Brown wrote: Wed Dec 27, 2023 11:25 am Meanwhile, is it something new (began nowadays) or was always like that?
I have this problem from the beginning for some months now.