How to disable wireless power saving mode permanently?

Hi. How can I permanently disable power management for my wireless adapter?

I have a DELL XPS 13 with a Qualcomm Technologies QCA6390 Wireless Network Adapter. It crashes every few minutes:

ath11k_pci 0000:72:00.0: failed to setup link desc: -12
ath11k_pci 0000:72:00.0: failed to init DP: -12

It works better when I turn off pover saving:

sudo iw dev wlp114s0 set power_save off

What is the correct way to make this change permanent?

1 Like

I recall a topic - quite some time ago - a member tried to something similar with a Dell and that specific system had some peculiar hard coded firmware behaviour.

That said - I reckon you could configure this using a config in /etc/modprobe.d - of course it depends on the module, but if you can do it from cmdline…

The documentation About ath11k — Linux Wireless documentation

A topic on intel wifi with a suggested workaround

This will print some info - it does not seem to be configurable

[nix@panther ~]$ modinfo ath11k_pci
filename:       /lib/modules/6.16.0-1-MANJARO/kernel/drivers/net/wireless/ath/ath11k/ath11k_pci.ko.zst
firmware:       ath11k/WCN6855/hw2.1/*
firmware:       ath11k/WCN6855/hw2.0/*
firmware:       ath11k/QCN9074/hw1.0/*
firmware:       ath11k/QCA6390/hw2.0/*
license:        Dual BSD/GPL
description:    Driver support for Qualcomm Technologies PCIe 802.11ax WLAN devices
srcversion:     81B48EFAC3599FFCDCB1A7A
alias:          pci:v000017CBd00001104sv*sd*bc*sc*i*
alias:          pci:v000017CBd00001103sv*sd*bc*sc*i*
alias:          pci:v000017CBd00001101sv*sd*bc*sc*i*
depends:        ath11k,mhi
intree:         Y
name:           ath11k_pci
retpoline:      Y
vermagic:       6.16.0-1-MANJARO SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        18:78:07:62:EA:C4:E2:19:6A:83:E1:F1:0A:11:3F:61:0A:42:2F:FB
sig_hashalgo:   sha512
signature:      30:66:02:31:00:E8:B6:26:C4:4E:94:21:06:2E:81:50:E2:8A:A4:87:
                F3:D0:1F:C6:EE:3D:86:DA:89:5E:BF:11:BA:05:BF:A7:22:B2:E8:23:
                23:FF:44:EF:36:97:9C:69:23:6C:8D:C3:BB:02:31:00:B8:91:17:BE:
                EA:BB:70:68:7C:49:06:3A:90:52:0B:31:15:44:59:27:C2:C0:AB:33:
                43:DA:90:26:FD:D3:1C:EF:29:C2:F8:C3:7D:36:E9:E8:8B:E0:86:7C:
                43:AA:59:EE
1 Like

Does not work the usual way? Create .conf file:

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

And copy these two lines inside it:

[connection]
wifi.powersave = 2

This should disable forever power saving. If you want to re-enable it, change the 2 for 3.

3 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.