iwlwifi: mvm: limit TLC according to our HE capabilities
authorLiad Kaufman <liad.kaufman@intel.com>
Tue, 26 Mar 2019 16:11:19 +0000 (18:11 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 29 Apr 2019 15:42:45 +0000 (18:42 +0300)
commit529281bdf0fc6af56d15957e5b823cb1de564b82
tree87d468d69d908af473e3d39d92353d36a87183ad
parentaee1b6385e29e472ae5592b9652b750a29bf702e
iwlwifi: mvm: limit TLC according to our HE capabilities

Instead of setting the TLC config command according to the
rates the peer supports, make sure that we aren't also
limited by our own rates, so take the minimum between the
peer's supported RX rates and our supported TX rates.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c