]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't read system time when modifying AP/GO MAC
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Feb 2013 13:05:14 +0000 (14:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:47:54 +0000 (16:47 +0100)
commit8073d1e8cd96fb6cf423ecc7945d30df7f3a9a17
treec8fc7e20b647cfe210dbfc255552baab63d04266
parent9868cb94bb9089b26a1faaaf26e7806ef5847a2d
iwlwifi: mvm: don't read system time when modifying AP/GO MAC

When modifying a MAC, we update its beacon system time which
is taken as a base to calculate TBTT. The firmware doesn't use
the new timestamp because the time is never used after the MAC
and broadcast station were added, but it is safer to not rely
on this and avoids the overhead of reading the register every
time the MAC is updated.

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