OSDN Git Service

iwlwifi: mvm: force single phy init
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Mon, 12 Aug 2019 10:25:42 +0000 (13:25 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Oct 2019 10:01:04 +0000 (13:01 +0300)
commita4584729291c71c5c14718ff00ea6c5f971c45b2
treee555c04ec24bb8d3256c995a40b67c0d89b82afa
parent3ed83da39aed275a5b74c74f77e85c839ad2efe9
iwlwifi: mvm: force single phy init

The PHY is initialized during device initialization, but devices with
the tx_siso_diversity flag set need to send PHY_CONFIGURATION_CMD first,
otherwise the PHY would be reinitialized, causing a SYSASSERT.

To fix this, use a bit that tells the FW not to complete the PHY
initialization before a PHY_CONFIGURATION_CMD is received.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c