iwlwifi: mvm: modify the tsf_id master/slave logic
authorIlan Peer <ilan.peer@intel.com>
Sun, 2 Feb 2014 19:54:35 +0000 (21:54 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 6 Feb 2014 19:11:21 +0000 (21:11 +0200)
commit2c3e62a14864c630720cd7b123bdd5ba93280ddc
tree6fe61b07767528dbeabe65711406a38180d86f2a
parentb92e661b401897928040d89b3a9d0cd74ce6e9a1
iwlwifi: mvm: modify the tsf_id master/slave logic

For TSF master/slave synchronization, the FW does not require
exact match in the beacon interval between the master interface
and the slave one, but instead requires that the beacon interval
of one interface is the module of the other.

Modify the tsf_id selection to align with the above.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c