diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-09-01 14:15:17 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2015-10-05 12:28:50 +0300 |
commit | a6449126518d908f0d706cce85c9bf243342b7b0 (patch) | |
tree | d4238cdf9b3462bf8b9061093609d32d497db185 /drivers/phy | |
parent | bb35dc14182c16e9646f6323cce25f3cfe3ba593 (diff) |
iwlwifi: mvm: correct skip-over-DTIM implementation
The formula used in D0i3 should also be used in D3, instead of
the hardcoded value.
Additionally, the formula is actually wrong - if the calculation
yields 0 then 1 should be used instead of disabling entirely.
Also need to add 1 since the firmware needs 3 to skip 2, etc.
To make all this clearer, centralize the calculation into a
single function.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions