wifi: iwlwifi: mvm: adjust skip-over-dtim in D3
authorJohannes Berg <johannes.berg@intel.com>
Tue, 20 Jun 2023 10:04:04 +0000 (13:04 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jun 2023 12:02:16 +0000 (14:02 +0200)
commit4eca0fd5da06c084a60f9a6626df6343293bfecb
treee28d4cac98236ab8d14fa0641d9dab58340e2b56
parentde1076008148460fe273e6d39158faffcc954991
wifi: iwlwifi: mvm: adjust skip-over-dtim in D3

The current formula can skip both too much and not enough time,
given the +1 (where the comment about firmware is wrong). Adjust
the formula accordingly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230620125813.32406b6828ae.I88c315b85f7c56ac6109f84580b95a3dd104ff6c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/power.c