]> 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)
commitc5bea3c21f03da628d7dca341f688a6a82c602ef
treec8fc7e20b647cfe210dbfc255552baab63d04266
parente82ab1d012f3c178b9d9c635acdfba2cd1925f0c
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