iwlwifi: mvm: add the skb length to a print
authorShaul Triebitz <shaul.triebitz@intel.com>
Tue, 4 Jun 2019 08:50:34 +0000 (11:50 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:12 +0000 (15:31 +0300)
When printing a TX, add to the print the length of the frame.
That will help with BSEP (buffer status report poll) tests.

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c

index 6ac114a..4effb90 100644 (file)
@@ -1169,8 +1169,9 @@ static int iwl_mvm_tx_mpdu(struct iwl_mvm *mvm, struct sk_buff *skb,
                        schedule_work(&mvm->add_stream_wk);
        }
 
-       IWL_DEBUG_TX(mvm, "TX to [%d|%d] Q:%d - seq: 0x%x\n", mvmsta->sta_id,
-                    tid, txq_id, IEEE80211_SEQ_TO_SN(seq_number));
+       IWL_DEBUG_TX(mvm, "TX to [%d|%d] Q:%d - seq: 0x%x len %d\n",
+                    mvmsta->sta_id, tid, txq_id,
+                    IEEE80211_SEQ_TO_SN(seq_number), skb->len);
 
        /* From now on, we cannot access info->control */
        iwl_mvm_skb_prepare_status(skb, dev_cmd);