[SOLVED] Qualcomm QCNFA765 (ath11k/wcn6855) WiFi working on Thinkpad P14s Gen4 AMD

@marmarek Thanks a lot for looking into this – and sharing your valuable insights! :slight_smile:

I fully agree, that “magic values” and an unreliable patch are trouble brewing - and I see that this is well beyond my skills to help with … but if I can help with eg. testing solutions, let me know.

:slight_smile:

1 Like

What happens if you add pci=nomsi to kernelopts of sys-net (and revert to the original kernel)?

ath11k_pci doesn’t like that.

failed to enable msi: -22
probe with driver ath11k_pci failed with error -22

How do I install 6.17.13-200.fc42.x86_64 on a template?

Hi qubesosforum7328 - and welcome to the forum. :slight_smile:

Note that 6.17.13-200.fc42.x86_64 is an example output from the command:

uname -r

… so you don’t really need that version for the example to work – you “just” need the version that matches what you get when you, when you run

uname -r

in a new HVM template, where the kernel is selected to be (provided by qube).

Please note, that the solution is a hack that @marmarek advised against – the real solution needs some work/knowledge from Xen … but I’m not aware of anything testing it. :frowning:

:slight_smile:

Regarding step 7.
To make changes to the load parameters permanent add it to grub config.
edit grub:
sudo vim /etc/default/grub.qubes
add this line with he correct parameters:
GRUB_CMDLINE_LINUX=“$GRUB_CMDLINE_LINUX ath11k_pci.host_msi_vector_addr=0xfee0a000 ath11k_pci.host_msi_vector_data=0x4000”

update grub:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

After reboot the module should be loaded with correct parameters

Hi Sune - and welcome to the forum! :slight_smile:

Note that message from @marmarek on 2026-01-01, that the current “fix” relies on “magic values” and that the correct values might change at random times (suspend?).

A proper fix might needs some work (maybe from some Xen people?), that is well beyond my skill … but since I have the hardware – and currently don’t depend on it – I can test and report back, when there is a proper (or less ugly workaround), as marmarek put it … :slight_smile:

:slight_smile:

Hi,
I am well aware of the fragility of this hack, but until there is a proper fix i want to be able to use my wifi :smile:
Right now I am pinning the kernel in the patched template and so far the hardcoded address did not change. And coming from relying on a usb-dongle for wifi, this is , for me at least, an improvement.

Hi sune

Fine … I just wanted to be sure, that you knew about the risks – and I’m also on the “something that might give me WiFi is better than a brick”-boat … and carry a USB-dongle as backup! :wink:

:slight_smile:

1 Like