Commit ebf29c95 authored by Kalle Valo's avatar Kalle Valo

ath6kl: merge htc debug levels

It's not really necessary to have separate debug levels for htc tx and rx
so combine them.
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 8fffd9e5
...@@ -180,9 +180,10 @@ void dump_cred_dist_stats(struct htc_target *target) ...@@ -180,9 +180,10 @@ void dump_cred_dist_stats(struct htc_target *target)
list_for_each_entry(ep_list, &target->cred_dist_list, list) list_for_each_entry(ep_list, &target->cred_dist_list, list)
dump_cred_dist(ep_list); dump_cred_dist(ep_list);
ath6kl_dbg(ATH6KL_DBG_HTC_SEND, "ctxt:%p dist:%p\n", ath6kl_dbg(ATH6KL_DBG_HTC, "ctxt:%p dist:%p\n",
target->cred_dist_cntxt, NULL); target->cred_dist_cntxt, NULL);
ath6kl_dbg(ATH6KL_DBG_TRC, "credit distribution, total : %d, free : %d\n", ath6kl_dbg(ATH6KL_DBG_HTC,
"credit distribution, total : %d, free : %d\n",
target->cred_dist_cntxt->total_avail_credits, target->cred_dist_cntxt->total_avail_credits,
target->cred_dist_cntxt->cur_free_credits); target->cred_dist_cntxt->cur_free_credits);
} }
......
...@@ -25,8 +25,8 @@ enum ATH6K_DEBUG_MASK { ...@@ -25,8 +25,8 @@ enum ATH6K_DEBUG_MASK {
ATH6KL_DBG_WLAN_TX = BIT(2), /* wlan tx */ ATH6KL_DBG_WLAN_TX = BIT(2), /* wlan tx */
ATH6KL_DBG_WLAN_RX = BIT(3), /* wlan rx */ ATH6KL_DBG_WLAN_RX = BIT(3), /* wlan rx */
ATH6KL_DBG_BMI = BIT(4), /* bmi tracing */ ATH6KL_DBG_BMI = BIT(4), /* bmi tracing */
ATH6KL_DBG_HTC_SEND = BIT(5), /* htc send */ ATH6KL_DBG_HTC = BIT(5),
ATH6KL_DBG_HTC_RECV = BIT(6), /* htc recv */ /* hole */
ATH6KL_DBG_IRQ = BIT(7), /* interrupt processing */ ATH6KL_DBG_IRQ = BIT(7), /* interrupt processing */
ATH6KL_DBG_PM = BIT(8), /* power management */ ATH6KL_DBG_PM = BIT(8), /* power management */
ATH6KL_DBG_WLAN_NODE = BIT(9), /* general wlan node tracing */ ATH6KL_DBG_WLAN_NODE = BIT(9), /* general wlan node tracing */
......
...@@ -51,7 +51,7 @@ int ath6kl_hif_rw_comp_handler(void *context, int status) ...@@ -51,7 +51,7 @@ int ath6kl_hif_rw_comp_handler(void *context, int status)
{ {
struct htc_packet *packet = context; struct htc_packet *packet = context;
ath6kl_dbg(ATH6KL_DBG_HTC_RECV, ath6kl_dbg(ATH6KL_DBG_HTC,
"ath6kl_hif_rw_comp_handler (pkt:0x%p , status: %d\n", "ath6kl_hif_rw_comp_handler (pkt:0x%p , status: %d\n",
packet, status); packet, status);
...@@ -119,7 +119,7 @@ int ath6kl_hif_poll_mboxmsg_rx(struct ath6kl_device *dev, u32 *lk_ahd, ...@@ -119,7 +119,7 @@ int ath6kl_hif_poll_mboxmsg_rx(struct ath6kl_device *dev, u32 *lk_ahd,
/* delay a little */ /* delay a little */
mdelay(ATH6KL_TIME_QUANTUM); mdelay(ATH6KL_TIME_QUANTUM);
ath6kl_dbg(ATH6KL_DBG_HTC_RECV, "retry mbox poll : %d\n", i); ath6kl_dbg(ATH6KL_DBG_HTC, "retry mbox poll : %d\n", i);
} }
if (i == 0) { if (i == 0) {
...@@ -186,7 +186,7 @@ int ath6kl_hif_submit_scat_req(struct ath6kl_device *dev, ...@@ -186,7 +186,7 @@ int ath6kl_hif_submit_scat_req(struct ath6kl_device *dev,
dev->ar->mbox_info.htc_addr; dev->ar->mbox_info.htc_addr;
} }
ath6kl_dbg((ATH6KL_DBG_HTC_RECV | ATH6KL_DBG_HTC_SEND), ath6kl_dbg(ATH6KL_DBG_HTC,
"ath6kl_hif_submit_scat_req, entries: %d, total len: %d mbox:0x%X (mode: %s : %s)\n", "ath6kl_hif_submit_scat_req, entries: %d, total len: %d mbox:0x%X (mode: %s : %s)\n",
scat_req->scat_entries, scat_req->len, scat_req->scat_entries, scat_req->len,
scat_req->addr, !read ? "async" : "sync", scat_req->addr, !read ? "async" : "sync",
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment