iwlwifi: mvm: improve TDLS ch-sw state machine
authorArik Nemtsov <arik@wizery.com>
Thu, 22 Jan 2015 10:19:26 +0000 (12:19 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 1 Feb 2015 13:57:21 +0000 (15:57 +0200)
commit5cb1270143668fa72007b52a8be6b4aa2c182809
treec3f525a23c9d868b520bb6190d69d8835f868186
parentcd8f438405032ac8ff88bd8f2eca5e0c0063b14b
iwlwifi: mvm: improve TDLS ch-sw state machine

Add a response-received state and add more limits on allowed requests
in each state of the connection. Previously ch-switch requests from
other peers could interrupt an outgoing active ch-switch. Also stale
packets from the current peer could disrupt the channel switch state.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/tdls.c