aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2013-12-24 10:17:05 -0500
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-12-31 12:03:50 -0500
commit9f8f8ca580b6108c8377469dfaaf91940dcc356a (patch)
treea707948c5c19f59dd57e7dd6c0f48fc402cf8229 /drivers/net
parentce836c76da42d8e54042f6d759663e7ad79769ba (diff)
iwlwifi: mvm: change the parameters for calculating an AP TBTT
Change the parameters for calculating an AP TBTT to 64/36 instead of 80/20, to increase the interval between a station vif and an AP vif TBTT events. Signed-off-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c b/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
index 761cca3c3a2a..510cf9f8b95b 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
+++ b/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
@@ -1012,7 +1012,7 @@ static void iwl_mvm_mac_ctxt_cmd_fill_ap(struct iwl_mvm *mvm,
1012 iwl_mvm_mac_ap_iterator, &data); 1012 iwl_mvm_mac_ap_iterator, &data);
1013 1013
1014 if (data.beacon_device_ts) { 1014 if (data.beacon_device_ts) {
1015 u32 rand = (prandom_u32() % (80 - 20)) + 20; 1015 u32 rand = (prandom_u32() % (64 - 36)) + 36;
1016 mvmvif->ap_beacon_time = data.beacon_device_ts + 1016 mvmvif->ap_beacon_time = data.beacon_device_ts +
1017 ieee80211_tu_to_usec(data.beacon_int * rand / 1017 ieee80211_tu_to_usec(data.beacon_int * rand /
1018 100); 1018 100);