diff options
author | Bjørn Mork <bjorn@mork.no> | 2015-10-31 12:26:29 +0100 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2015-11-01 00:15:04 +0100 |
commit | e4e40acb4059b1bbd034f3907765a0ca5331c0b9 (patch) | |
tree | cb90b163b396662300b2cfa0e1c6617fa37573a2 | |
parent | e5d5f7f7400d87ef2d3aee99ecbbfb82c7164d40 (diff) |
mwlwifi: improve ampdu start error loggingmy10-3-0-12
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r-- | fwcmd.c | 6 | ||||
-rw-r--r-- | mac80211.c | 3 |
2 files changed, 6 insertions, 3 deletions
@@ -2155,8 +2155,10 @@ int mwl_fwcmd_check_ba(struct ieee80211_hw *hw, if (pcmd->cmd_hdr.result != 0) { spin_unlock_bh(&priv->fwcmd_lock); - wiphy_err(hw->wiphy, "check ba result error %d\n", - le16_to_cpu(pcmd->cmd_hdr.result)); + wiphy_err(hw->wiphy, + "%pM (%u/%u/%u) - check ba result error %d\n", + stream->sta->addr, stream->tid, stream->state, + stream->idx, le16_to_cpu(pcmd->cmd_hdr.result)); return -EINVAL; } @@ -611,6 +611,7 @@ static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw, * move on. */ stream = mwl_fwcmd_add_stream(hw, sta, tid); + wiphy_dbg(hw->wiphy, "%pM - unexpected ieee80211_start_tx_ba_session() tid=%u\n", addr, tid); } if (!stream) { @@ -639,7 +640,7 @@ static int mwl_mac80211_ampdu_action(struct ieee80211_hw *hw, if (rc) { mwl_fwcmd_remove_stream(hw, stream); - wiphy_err(hw->wiphy, + wiphy_dbg(hw->wiphy, "ampdu start error code: %d\n", rc); rc = -EBUSY; break; |