iwlwifi: mvm: program DTIM timings properly
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Feb 2013 17:10:04 +0000 (18:10 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Feb 2013 19:17:38 +0000 (20:17 +0100)
commitd2931bbd5471c35f55856e5a4f001160df9951dc
tree5f8a07ab95fd46caa54df7417f718ee2a9aa0ef6
parentb18bf9733c4ca4db6fdb692895fabc9d934b7303
iwlwifi: mvm: program DTIM timings properly

For the firmware to know when DTIM beacons arrive
we have to program the DTIM time in TSF and system
time in the MAC context. Since mac80211 now tracks
the different times (on demand), this becomes easy.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/rx.c