]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Fix skip over dtim configuration in d0i3
authorAvri Altman <avri.altman@intel.com>
Wed, 27 Aug 2014 16:58:56 +0000 (19:58 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Sep 2014 19:02:24 +0000 (22:02 +0300)
commit70978a3e24bed9713be16d58f546fc69c3023f4a
tree5c6a88c1f0f8081ac1ce8f2f90529700fc7b4036
parent7e8ab1f415351d5d5fe70b47500c268352b24167
iwlwifi: mvm: Fix skip over dtim configuration in d0i3

There was some confusion concerning the units of the beacon interval.
The driver assumed that it was in msec where it was in TU - so fix that.
Skip over dtim was capped by 300TU where it should be by 306TU.
It should also be subjected to several conditions:
Not a DFS channel, dtim period < 10, and the multicast wake-lock
is off.  Concerning multicast lock - there is an implementation gap
in the supplicant, so just leave a TODO.

Signed-off-by: Avri Altman <avri.altman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/power.c