]> git.karo-electronics.de Git - linux-beck.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)
commit49c6d8021f11a4e86ab2689c62fbfca2ea8cbd0d
tree5c6a88c1f0f8081ac1ce8f2f90529700fc7b4036
parentd4317252330d9d0b24a8d707270c38cf3c0943ad
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