iwlwifi: mvm: toggle tx antenna if tx fails during connection establishment
authorAvraham Stern <avraham.stern@intel.com>
Wed, 11 Jul 2018 07:30:20 +0000 (10:30 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sun, 11 Nov 2018 09:06:18 +0000 (11:06 +0200)
commit0dde2440a77fe48495c8e99108003291db81e1a5
treea85e359d96a32ed6c20f1bde3c296b10af6b6057
parent5c2dbebb446539eb9640bf59a02756d6e7f1fc53
iwlwifi: mvm: toggle tx antenna if tx fails during connection establishment

If tx fails during connection establishment, try another antenna for
the next tx. This will increase the chance to establish connection if
one of the antennas is blocked.  Note that the antenna is toggled even
when failing to tx data frames since connection establishment may use
EAPOLs for 802.1X authentication/ 4 way handshake.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.h
drivers/net/wireless/intel/iwlwifi/mvm/tx.c