iwlwifi: mvm: disconnect TDLS peers on reconfig
authorArik Nemtsov <arik@wizery.com>
Sun, 14 Sep 2014 16:13:54 +0000 (19:13 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:22 +0000 (08:30 +0200)
commitcbd2ae2da6497b507f89849dffd972a474058480
treec9f675343b478e28fb8f983d79e3272bdff2ce69
parenta74346d75de0f69f0843b4bfa8f95eccaf7c0edf
iwlwifi: mvm: disconnect TDLS peers on reconfig

When TDLS peers are present the FW will send packets on a dedicated
TID vs. the peer when performing TDLS channel-switches. The driver
configures the TID on connection to the peer and the FW is responsible
for maintaining the state of QoS seqno and PN/IV for encryption.

If the FW asserts, the driver cannot correctly reconfigure the starting
seqno/PN to the reloaded FW, thus forcing us to reconnect the peer.

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/mac80211.c