You are not logged in.

#1 2023-04-30 19:16:26

freebench
Member
Registered: 2020-06-14
Posts: 52

WiFi doesn't work on a new laptop

having a very annoying wifi issue on a new laptop since the installation
out of the box the network manager couldn't handle the wifi, but the installation media could...
so as a workaround used a NetworkManager option to set iwd as a wifi backend and most of the time it does work like a charm..
but in the most critical situation it doesn't...
typically it's faced on suspend/hibernate or on resume
the first sign of a problem is that it takes minutes to suspend and/or resume from it, instead of a seconds - same with a reboot
then the NetworkManager applet says "device not ready" in WiFi Network section
the w interface is down
on attempt to bring it up

ip link set wlan0 up
RTNETLINK answers: Resource temporarily unavailable
# the device info
lshw -C network
  *-network DISABLED
       description: Wireless interface
       product: QCNFA765 Wireless Network Adapter
       vendor: Qualcomm Technologies, Inc
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlan0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath11k_pci driverversion=6.2.11-arch1-1 firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:93 memory:98000000-981fffff
  *-network
       description: Ethernet interface
       physical id: 2
       bus info: usb@3:1
       logical name: enp51s0f4u1c2
       size: 100Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=cdc_ether driverversion=6.2.11-arch1-1 duplex=half firmware=CDC Ethernet Device ip=192.168.1.10 link=yes multicast=yes port=twisted pair speed=100Mbit/s

# the journal records

journalctl -b
Apr 30 20:26:44 arch kernel: ath11k_pci 0000:01:00.0: wmi command 16387 timeout
Apr 30 20:26:44 arch kernel: ath11k_pci 0000:01:00.0: failed to send WMI_PDEV_SET_PARAM cmd
Apr 30 20:26:44 arch kernel: ath11k_pci 0000:01:00.0: failed to enable PMF QOS: (-11
lspci -k
01:00.0 Network controller: Qualcomm Technologies, Inc QCNFA765 Wireless Network Adapter (rev 01)
        Subsystem: Lenovo Device 9309
        Kernel driver in use: ath11k_pci
        Kernel modules: ath11k_pci

# same with dmesg -w

sudo dmesg | grep ath11k_pci
#when working fine output
[   21.543536] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem 0x98000000-0x981fffff 64bit]
[   21.543557] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[   21.543963] ath11k_pci 0000:01:00.0: MSI vectors: 32
[   21.543968] ath11k_pci 0000:01:00.0: wcn6855 hw2.1
[   22.517721] ath11k_pci 0000:01:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
[   22.517728] ath11k_pci 0000:01:00.0: fw_version 0x11090c35 fw_build_timestamp 2022-04-18 20:23 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.9
# when wifi failed output
[ 1144.383868] Modules linked in: snd_seq_dummy snd_seq snd_seq_device tun michael_mic rfcomm nf_conntrack_netlink nfnetlink xt_addrtype br_netfilter qrtr_mhi xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_filter bridge stp llc overlay ccm algif_aead des_generic libdes ecb algif_skcipher cmac bnep md4 algif_hash af_alg snd_soc_acp6x_mach snd_soc_dmic snd_acp6x_pdm_dma snd_sof_amd_rembrandt snd_sof_amd_renoir joydev qrtr snd_sof_amd_acp mousedev snd_sof_pci snd_sof_xtensa_dsp ath11k_pci snd_sof snd_sof_utils ath11k snd_soc_core vfat snd_ctl_led qmi_helpers fat snd_hda_codec_realtek snd_compress mac80211 ac97_bus snd_hda_codec_generic snd_pcm_dmaengine btusb snd_pci_ps snd_hda_codec_hdmi uvcvideo btrtl snd_rpl_pci_acp6x intel_rapl_msr intel_rapl_common btbcm snd_acp_pci snd_hda_intel videobuf2_vmalloc libarc4
[ 1247.311136] ath11k_pci 0000:01:00.0: failed to resume mhi: -5
[ 1247.311141] ath11k_pci 0000:01:00.0: failed to resume hif during resume: -5
[ 1247.311144] ath11k_pci 0000:01:00.0: failed to resume core: -5
[ 1247.311146] ath11k_pci 0000:01:00.0: PM: dpm_run_callback(): pci_pm_restore+0x0/0xe0 returns -5
[ 1247.311168] ath11k_pci 0000:01:00.0: PM: failed to restore async: error -5
[ 1250.514404] ath11k_pci 0000:01:00.0: wmi command 16387 timeout
[ 1250.514416] ath11k_pci 0000:01:00.0: failed to send WMI_PDEV_SET_PARAM cmd
[ 1250.514421] ath11k_pci 0000:01:00.0: failed to enable dynamic bw: -11
[ 1481.124377] ath11k_pci 0000:01:00.0: wmi command 16387 timeout
[ 1481.124384] ath11k_pci 0000:01:00.0: failed to send WMI_PDEV_SET_PARAM cmd
[ 1481.124388] ath11k_pci 0000:01:00.0: failed to enable PMF QOS: (-11
[ 1484.324341] ath11k_pci 0000:01:00.0: wmi command 16387 timeout
[ 1484.324345] ath11k_pci 0000:01:00.0: failed to send WMI_PDEV_SET_PARAM cmd
[ 1484.324348] ath11k_pci 0000:01:00.0: failed to enable PMF QOS: (-11

#no hard/soft switches

rfkill
ID TYPE      DEVICE                   SOFT      HARD
 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
 1 nfc       nfc0                unblocked unblocked
 3 wlan      phy0                unblocked unblocked
 4 bluetooth hci0                unblocked unblocked

Please advice if anyone knows
The laptop was released less than year ago
ps to fix the issue temporarily - reboot

Last edited by freebench (2023-05-01 15:23:03)

Offline

#2 2023-04-30 20:54:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: WiFi doesn't work on a new laptop

Please use [code][/code] tags. Edit your post in this regard.

Then see https://bugzilla.kernel.org/show_bug.cgi?id=214649

Offline

#3 2023-05-01 15:30:05

freebench
Member
Registered: 2020-06-14
Posts: 52

Re: WiFi doesn't work on a new laptop

I see,
according to the discussion there it should be fixed in 6.3 kernel
which is in testing repo atm cool

Offline

#4 2023-05-11 17:28:44

freebench
Member
Registered: 2020-06-14
Posts: 52

Re: WiFi doesn't work on a new laptop

hasn't got fixed in
Linux arch 6.3.1-arch2-1
hope some time ...
for now using suspend only to avoid the thing

Offline

#5 2023-05-11 19:54:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: WiFi doesn't work on a new laptop

The fix there seesms to revovle around a SuSE specific config, it might be necessary to point out that there's possibly a more general issue w/ this that can not be remidied by lowering a timeout…

Offline

Board footer

Powered by FluxBB