|
@@ -175,8 +175,10 @@ static void iwl_mvm_phy_ctxt_cmd_data(struct iwl_mvm *mvm,
|
|
cmd->rxchain_info |= cpu_to_le32(idle_cnt << PHY_RX_CHAIN_CNT_POS);
|
|
cmd->rxchain_info |= cpu_to_le32(idle_cnt << PHY_RX_CHAIN_CNT_POS);
|
|
cmd->rxchain_info |= cpu_to_le32(active_cnt <<
|
|
cmd->rxchain_info |= cpu_to_le32(active_cnt <<
|
|
PHY_RX_CHAIN_MIMO_CNT_POS);
|
|
PHY_RX_CHAIN_MIMO_CNT_POS);
|
|
|
|
+#ifdef CONFIG_IWLWIFI_DEBUGFS
|
|
if (unlikely(mvm->dbgfs_rx_phyinfo))
|
|
if (unlikely(mvm->dbgfs_rx_phyinfo))
|
|
cmd->rxchain_info = cpu_to_le32(mvm->dbgfs_rx_phyinfo);
|
|
cmd->rxchain_info = cpu_to_le32(mvm->dbgfs_rx_phyinfo);
|
|
|
|
+#endif
|
|
|
|
|
|
cmd->txchain_info = cpu_to_le32(iwl_mvm_get_valid_tx_ant(mvm));
|
|
cmd->txchain_info = cpu_to_le32(iwl_mvm_get_valid_tx_ant(mvm));
|
|
}
|
|
}
|