summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2015-10-27 20:15:47 +0100
committerBjørn Mork <bjorn@mork.no>2015-10-27 20:15:47 +0100
commita072745bc9c297c8d5c7150e0954b2b1b82366c4 (patch)
treeee24f3bc32fdfc6d08d02e79ae34e0e182639196
parentb8bcb7c52f82b1f04a957fb9451e53ff45aed903 (diff)
mwlwifi: more debug log on amsdu operation
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r--tx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tx.c b/tx.c
index 788e826..a1fab03 100644
--- a/tx.c
+++ b/tx.c
@@ -617,7 +617,7 @@ static inline struct sk_buff *mwl_tx_do_amsdu(struct mwl_priv *priv,
spin_unlock_bh(&sta_info->amsdu_lock);
- wiphy_warn(priv->hw->wiphy,"%s: amsdu->num=%u, tx_skb->len=%zu, amsdu->skb->len=%zu", __func__, amsdu->num, tx_skb->len, amsdu->skb->len );
+ dev_dbg(&priv->hw->wiphy->dev, "%pM amsdu->num=%u, tx_skb->len=%zu, amsdu->skb->len=%zu", sta->addr, amsdu->num, tx_skb->len, amsdu->skb->len);
return NULL;
}
@@ -1173,6 +1173,9 @@ void mwl_tx_flush_amsdu(unsigned long data)
spin_lock(&priv->sta_lock);
list_for_each_entry(sta_info, &priv->sta_list, list) {
+ struct ieee80211_sta *sta = container_of((char *)sta_info, struct ieee80211_sta, drv_priv[0]);
+ dev_dbg(&hw->wiphy->dev, "%pM", sta->addr);
+
spin_lock(&priv->tx_desc_lock);
spin_lock(&sta_info->amsdu_lock);
for (i = 0; i < SYSADPT_TX_WMM_QUEUES; i++) {
@@ -1200,6 +1203,7 @@ void mwl_tx_flush_amsdu(unsigned long data)
priv->iobase1 + MACREG_REG_A2H_INTERRUPT_STATUS_MASK);
priv->is_qe_schedule = false;
+
}
void mwl_tx_del_sta_amsdu_pkts(struct ieee80211_sta *sta)