ref: a6e5d4bae6075c741a39fcba62a365d9dffaed93
parent: e045eefc7e723e4e3bf036dd98178afebd8da88e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Oct 19 13:31:45 EDT 2025
etheriwl: disable power saving while in promisc mode (thanks kemal) kemal → IWM_POWER_FLAGS_POWER_SAVE_ENA_MSK: '1' Allow to save power by turning off * receiver and transmitter. '0' - does not allow.
--- a/sys/src/9/port/etheriwl.c
+++ b/sys/src/9/port/etheriwl.c
@@ -2830,7 +2830,7 @@
put32(p, ctlr->macid);
p += 4;
- put16(p, 1); // flags
+ put16(p, ctlr->prom ? 0 : 1); // flags
p += 2;
/* a value below 25 seconds results in weird behavior */
dtim = bss ? 3*bss->dtimperiod*bss->ival : 0;
--
⑨