iwlwifi: mvm: open BA session only when sta is authorized
authorGregory Greenman <gregory.greenman@intel.com>
Tue, 24 Apr 2018 03:26:41 +0000 (06:26 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 30 May 2018 06:53:11 +0000 (09:53 +0300)
commitd94c5a820d107fdde711ec72c16848876027713d
treea7dd905bf126b28e053a6921178a63badbeebe28
parentb38c395f16562423f438065ad8d88c20ad92cab3
iwlwifi: mvm: open BA session only when sta is authorized

Currently, a BA session is opened when the tx traffic exceeds
10 frames per second. As a result of inter-op problems with some
APs, add a condition to open BA session only when station is
already authorized.

Fixes: 482e48440a0e ("iwlwifi: mvm: change open and close criteria of a BA session")
Signed-off-by: Gregory Greenman <gregory.greenman@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/rs.c
drivers/net/wireless/intel/iwlwifi/mvm/rs.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.h