wifi: iwlwifi: mvm: fix DTIM skip powersave config
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Jun 2024 11:04:59 +0000 (14:04 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2024 11:04:26 +0000 (13:04 +0200)
commit62a5c4029552a5645d0600fcb311a14131ccced1
tree64e144f4230039ec3e911966e7a7e9e1c1548fa6
parent2cbeb1a38758bfd165a7f284933e24b4552da65d
wifi: iwlwifi: mvm: fix DTIM skip powersave config

When entering D3 we want to configure skip over DTIM, but
it can't use the deflink configuration, that will not even
exist. Adjust the code to handle multiple links by taking
the min skip, even if we should only have a single active
link at this point.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240605140327.bccf980fadb4.Idc98b9f3634f39d2fae9bd9916f5d050ccd48f95@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/power.c