Wireless Daemon for Linux
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: Martin Petzold <martin.petzold@tavla.de>
Cc: iwd@lists.linux.dev
Subject: Re: How to disable power save (iwlwifi / brcmfmac)
Date: Wed, 30 Oct 2024 13:35:05 -0700	[thread overview]
Message-ID: <a68ea32b-e960-45cc-9e2b-193e624908aa@gmail.com> (raw)
In-Reply-To: <5e9122b7-dcee-4e98-8b8f-9c623276a5db@tavla.de>

Hi Martin,

On 10/30/24 1:26 PM, Martin Petzold wrote:
> Hi James,
>
> Am 30.10.24 um 21:15 schrieb James Prestwood:
>> Hi Martin,
>>
>> <snip>
>>> Okt 30 21:10:43 tavla iwd[1212]: Wireless daemon version 2.3
>> Your using IWD version 2.3 which doesn't support that.
>
> Okay, thanks. This was another machine (Intel wifi) with not most 
> recent image.
>
> I have tested "PowerSaveDisable=brcmfmac" option on the machine with 
> IWD 2.22+ and it works as expected.
>
> Is this feature actually a IWD featuer or rather a kernel driver 
> feature? Does the brcmfmac driver have something like this, because 
> with modinfo there is no related parameter?

So IWD is just calling a kernel API to set the power save state. Its 
driver agnostic (though it wouldn't surprise me if it didn't work on 
random drivers). Network Manager and iw are both using the same command 
IWD uses to disable power save.

The driver options like for iwlwifi are different, these are disabling 
it at the driver level and those options are driver specific.

>
> However, on the Intel machine I also wonder why the following doesn't 
> work also:
>
> -----
>
> tavla@tavla:~$ sudo reboot
> [...]
> tavla@tavla:~$ cat /etc/modprobe.d/iwlwifi_power_save.conf
> options iwlwifi power_save=0
> tavla@tavla:~$
> tavla@tavla:~$ sudo iw wlan0 get power_save
> Power save: on
>
> -----
>
> Thanks,
>
> Martin
>

  reply	other threads:[~2024-10-30 20:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 19:54 How to disable power save (iwlwifi / brcmfmac) Martin Petzold
2024-10-30 20:00 ` James Prestwood
2024-10-30 20:13   ` Martin Petzold
2024-10-30 20:15     ` James Prestwood
2024-10-30 20:26       ` Martin Petzold
2024-10-30 20:35         ` James Prestwood [this message]
2024-10-30 20:38           ` Martin Petzold
2024-10-31  9:41 ` Martin Petzold
2024-10-31 10:47   ` Arend van Spriel
2024-10-31 11:05     ` Martin Petzold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a68ea32b-e960-45cc-9e2b-193e624908aa@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=iwd@lists.linux.dev \
    --cc=martin.petzold@tavla.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox