diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2014-09-23 04:22:54 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-09-26 06:33:17 -0400 |
commit | a360e54cda8f3b18365fa6f58392de7f067b07d3 (patch) | |
tree | 9dd2e14506f956a78402e55a6cd399bdaba868b8 | |
parent | 45724a8a82981de911ebb2540e469907ae50a240 (diff) |
ath10k: add debug dump for pci rx
This makes it easier to debug the device-target
communication at a very low level.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/pci.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 59e0ea83be50..8319d83bb9a8 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c | |||
@@ -861,6 +861,12 @@ static void ath10k_pci_ce_recv_data(struct ath10k_ce_pipe *ce_state) | |||
861 | } | 861 | } |
862 | 862 | ||
863 | skb_put(skb, nbytes); | 863 | skb_put(skb, nbytes); |
864 | |||
865 | ath10k_dbg(ar, ATH10K_DBG_PCI, "pci rx ce pipe %d len %d\n", | ||
866 | ce_state->id, skb->len); | ||
867 | ath10k_dbg_dump(ar, ATH10K_DBG_PCI_DUMP, NULL, "pci rx: ", | ||
868 | skb->data, skb->len); | ||
869 | |||
864 | cb->rx_completion(ar, skb, pipe_info->pipe_num); | 870 | cb->rx_completion(ar, skb, pipe_info->pipe_num); |
865 | } | 871 | } |
866 | 872 | ||