iwlwifi: mvm: add support for single antenna diversity
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Mon, 22 Jul 2019 13:45:21 +0000 (16:45 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:52:05 +0000 (15:52 +0300)
commit5952e0ec3f05cc38aceaa3eef13d828aef0b6b3b
treeff92206c5c028940b6ce0471231d2a23cdd0342e
parentfe69b7d1243a42fedee944e873e80456a743c964
iwlwifi: mvm: add support for single antenna diversity

There are products which have a single chain with 2 antennas.
In these products, we need to inform the FW that the device has the
single antenna diversity(SAD) feature. In the future, we will read
the active antenna from a BIOS configuration. Currently, we use a
default configuration which means that the FW decides which antenna to use.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/22000.c
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/iwl-config.h