@@ -1929,8 +1929,14 @@ static void iwl_mvm_rx_tx_cmd_single(struct iwl_mvm *mvm,
mvm->ethtool_stats.tx_mpdu_attempts += info->status.rates[0].count;
mvm->ethtool_stats.tx_mpdu_retry += tx_resp->failure_frame;
if (cb.flags & IWL_TX_CB_TXO_USED) {
+ u32 idx = status & TX_STATUS_MSK;
+
mvm->ethtool_stats.txo_tx_mpdu_attempts += info->status.rates[0].count;
mvm->ethtool_stats.txo_tx_mpdu_retry += tx_resp->failure_frame;
+ if (idx != TX_STATUS_SUCCESS) {
+ pr_info("txo tx status failed: %d tx_resp->failure_frame: %d\n",
+ idx, tx_resp->failure_frame);
+ }
}
iwl_mvm_hwrate_to_tx_status(mvm, mvm->fw,