summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2015-10-31 12:26:29 +0100
committerBjørn Mork <bjorn@mork.no>2015-11-01 00:15:04 +0100
commite4e40acb4059b1bbd034f3907765a0ca5331c0b9 (patch)
treecb90b163b396662300b2cfa0e1c6617fa37573a2
parente5d5f7f7400d87ef2d3aee99ecbbfb82c7164d40 (diff)
mwlwifi: improve ampdu start error loggingmy10-3-0-12
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r--fwcmd.c6
-rw-r--r--mac80211.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/fwcmd.c b/fwcmd.c
index 14c7ee8..319e4fe 100644
--- a/fwcmd.c
+++ b/fwcmd.c
@@ -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;
}
diff --git a/mac80211.c b/mac80211.c
index 7cecedd..8af4a33 100644
--- a/mac80211.c
+++ b/mac80211.c
@@ -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;