]> 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)
commit909cad4759c7c097ff6d7f2d1d54d1622bc08719
tree5c6a88c1f0f8081ac1ce8f2f90529700fc7b4036
parentb04e02711cab887fe37761ef5a0ae264e3ce007e
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