aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-10-30 15:16:49 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 05:58:59 -0500
commit2387f0dcd10abf8f867ebb9b22d213793510b4c6 (patch)
tree07ec878d5480eeaaa86a4ff99141c150b7bad998 /drivers/net/wireless/ath
parent6250aac6dfc01a0e3e02a8e1eef41d7fbfedb6c7 (diff)
ath6kl: print seqno in htc debug logs
Makes it easier to debug where frames are going. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c
index 99220d437670..f3b63ca25c7e 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.c
+++ b/drivers/net/wireless/ath/ath6kl/htc.c
@@ -439,6 +439,9 @@ static void htc_tx_comp_handler(struct htc_target *target,
439 struct htc_endpoint *endpoint = &target->endpoint[packet->endpoint]; 439 struct htc_endpoint *endpoint = &target->endpoint[packet->endpoint];
440 struct list_head container; 440 struct list_head container;
441 441
442 ath6kl_dbg(ATH6KL_DBG_HTC, "htc tx complete seqno %d\n",
443 packet->info.tx.seqno);
444
442 htc_tx_comp_update(target, endpoint, packet); 445 htc_tx_comp_update(target, endpoint, packet);
443 INIT_LIST_HEAD(&container); 446 INIT_LIST_HEAD(&container);
444 list_add_tail(&packet->list, &container); 447 list_add_tail(&packet->list, &container);
@@ -501,8 +504,8 @@ static int ath6kl_htc_tx_issue(struct htc_target *target,
501 padded_len = CALC_TXRX_PADDED_LEN(target, send_len); 504 padded_len = CALC_TXRX_PADDED_LEN(target, send_len);
502 505
503 ath6kl_dbg(ATH6KL_DBG_HTC, 506 ath6kl_dbg(ATH6KL_DBG_HTC,
504 "htc tx issue len %d padded_len %d mbox 0x%X %s\n", 507 "htc tx issue len %d seqno %d padded_len %d mbox 0x%X %s\n",
505 send_len, padded_len, 508 send_len, packet->info.tx.seqno, padded_len,
506 target->dev->ar->mbox_info.htc_addr, 509 target->dev->ar->mbox_info.htc_addr,
507 sync ? "sync" : "async"); 510 sync ? "sync" : "async");
508 511
@@ -705,8 +708,8 @@ static int ath6kl_htc_tx_setup_scat_list(struct htc_target *target,
705 scat_req->len += len; 708 scat_req->len += len;
706 scat_req->scat_entries++; 709 scat_req->scat_entries++;
707 ath6kl_dbg(ATH6KL_DBG_HTC, 710 ath6kl_dbg(ATH6KL_DBG_HTC,
708 "htc tx adding (%d) pkt 0x%p len %d remaining %d\n", 711 "htc tx adding (%d) pkt 0x%p seqno %d len %d remaining %d\n",
709 i, packet, len, rem_scat); 712 i, packet, packet->info.tx.seqno, len, rem_scat);
710 } 713 }
711 714
712 /* Roll back scatter setup in case of any failure */ 715 /* Roll back scatter setup in case of any failure */