iwlwifi: mvm: track changes in beacon count during channel switch
authorSara Sharon <sara.sharon@intel.com>
Mon, 17 Dec 2018 12:27:51 +0000 (14:27 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 22 Mar 2019 10:59:40 +0000 (12:59 +0200)
commit81b4e44e41e651735dd185f78a8fe2f4d53c61d4
tree2dc2fe6fa189498c56bb4f26c6e6d9ed45621298
parentf67806140220caa3d4337e6c60989b520e13f9a8
iwlwifi: mvm: track changes in beacon count during channel switch

There are some buggy APs that keeps changing the count while forcing
us to block TX. This eventually results in queue hang, assert, and
disconnection. Detect such APs and disconnect gracefully in advance.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h