iwlwifi: mvm: remove rs FSM actions relevant only for 3 antennas
authorEyal Shapira <eyal@wizery.com>
Sun, 28 Jul 2013 23:02:46 +0000 (23:02 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Oct 2013 16:00:33 +0000 (18:00 +0200)
commit4837b448dfa90d76bc3a73e12425ce85f0186865
treeda79bfd7debcfa5db415c892146d0e8014599bb1
parent2e0cc86535fe85910935f896f098f8d74389a355
iwlwifi: mvm: remove rs FSM actions relevant only for 3 antennas

The XXX_SWITCH_ANTENNA1/2 actions keep track of switching between
3 single antennas or between 3 pairs in case of MIMO2 on a MIMO3 device.
As current and future chips will have at most 2 antennas drop these.
While at it also convert the actions into enums and cleanup
the code a bit.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.h