OSDN Git Service

iwlwifi: mvm: rs: remove the ANT C from the toogle antenna logic
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 18 Oct 2017 10:09:38 +0000 (13:09 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 3 Nov 2017 09:56:08 +0000 (11:56 +0200)
commit82d2b9a62699f3d6a61323774c41cebe920e5dc5
tree63c2bb9576604f6d371f0649fce421e1e01098ce
parent5d39051a328c0508b0fb0247227197059edd2da9
iwlwifi: mvm: rs: remove the ANT C from the toogle antenna logic

We don't plan to have products with 3 antennas in the near
future. All the rest of the code follows the same
assumption as well.
Remove the support for antenna C from rs_toggle_ant.
When trying to toggle from ANT_B, this avoids to go through
ANT_C, discover that it doesn't exist and continue to ANT_A.
In MIMO, this avoids to do ANT_AB -> ANT_BC -> ANT_AC and
back to ANT_AB.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c