iwlwifi: mvm: Change the settings of AP beacon time
authorIlan Peer <ilan.peer@intel.com>
Thu, 13 Jun 2013 05:30:12 +0000 (08:30 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 25 Jun 2013 10:13:36 +0000 (12:13 +0200)
commit3a3cb92e1daf2f2627df0a1f8c9577501663fef3
treef16127d04d4175e377ea3503d5fa95ef2ceb7800
parentdafe6c4335d042fa6573f40795ccfadc4e4fc7c6
iwlwifi: mvm: Change the settings of AP beacon time

In case that an AP/GO interface is started while there is a
station/P2P client associated, need to make sure that the AP/GO
beacon time is far enough from the station's one in oder to allow
the station to receive the DTIM beacons and the following traffic
etc.

To resolve this, when the AP is started, check if there is an
active station interface, and guarantee that the AP/GO TBTT is far
enough from the station one.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
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