iwlwifi: mvm: rs: adapt rate matching to new STBC/BFER
authorEyal Shapira <eyal@wizery.com>
Thu, 29 Jan 2015 23:38:29 +0000 (01:38 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 1 Mar 2015 14:55:03 +0000 (16:55 +0200)
commitba69d0e36261234efa315ff34ef6f59da9f98ac3
tree65657e6d88668e2ca12752f01b8503098bd6cf79
parent0b8d17f30304bedff77d47450839865048b1b626
iwlwifi: mvm: rs: adapt rate matching to new STBC/BFER

Once the FW supports autonomous decision between STBC/BFER/SISO
we no longer set the STBC bit and ANT_AB in the rate table.
However the FW rate in the tx response will have the STBC
or BFER bit set and the antennas set to ANT_AB in case these
were chosen by it. This will cause us to discard any such
response as unmatching the current LQ table and thus break
the rs search cycle completely.
Fix this by relaxing the rate matching in case we're working
with the new API and STBC/BFER are used.

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/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.h
This page took 0.026177 seconds and 5 git commands to generate.