]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: treat EAPOLs like mgmt frames wrt rate
authorEyal Shapira <eyal@wizery.com>
Tue, 2 Sep 2014 15:39:21 +0000 (18:39 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 8 Sep 2014 06:17:29 +0000 (09:17 +0300)
commit35d3dce3705f14c4fbd77207a9537d433468f8df
tree262465d0cccab84a68c1b2cac84e7338fc108af0
parent4bc072b6c47f0b12838bdbe9dbcac6b1fc79b8e0
iwlwifi: mvm: treat EAPOLs like mgmt frames wrt rate

Using the LQ table which is initially set according to
the rssi could lead to EAPOLs being sent in high legacy
rates like 54mbps.
It's better to avoid sending EAPOLs in high rates as it reduces
the chances of a successful 4-Way handshake.
Avoid this and treat them like other mgmt frames which would
initially get sent at the basic rate.

Cc: <stable@vger.kernel.org> [3.13+]
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/tx.c