iwlwifi: mvm: add CSA absent time event for clients
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 10 Nov 2014 09:10:14 +0000 (11:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:31 +0000 (08:30 +0200)
commitdc88b4baa9d16fdf15f76b6277461e6d9e4eb8e6
tree8b5f98f7c7bbeb80d5fff39f2d048bf4a991c51b
parent4741dd049a27fa6490e502d42ff51417c58ac7cd
iwlwifi: mvm: add CSA absent time event for clients

Add an absent time event when pre_channel_switch is called and use the
time event started indication to set the disable_tx bit instead of
doing it in unassign_vif().  This is done so that the firmware queues
are stopped before the actual switch takes place to avoid losing
packets while the AP/GO is performing its actual switch.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/sta.c
drivers/net/wireless/iwlwifi/mvm/sta.h
drivers/net/wireless/iwlwifi/mvm/time-event.c