]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: add a channel_switch op to bypass mac80211 timer
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 10 Nov 2014 09:10:17 +0000 (11:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:33 +0000 (08:30 +0200)
commit622e3f9b71f9a97408cd751851c6588d4e6c4fd0
tree13f0a088c88040197060719fe7b769cee19499d6
parenta57c688d34a05cbc72ec8cf4f05758cbafdd9893
iwlwifi: mvm: add a channel_switch op to bypass mac80211 timer

We need to call ieee80211_chswitch_done() ourselves just when the
absence TE started, so we perform the actual context switch early
enough.  To do so, add a dummy channel_switch op, which will cause
mac80211 to skip the countdown timer and allow us to call
ieee80211_chswitch_done() to complete the operation.

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