ath10k: simplify HTC command submitting

The patch removes HTC endpoint tx workers in
favour of direct command submission. This makes a
lot more sense for data path.

mac80211 queues are effectively stopped/woken up
in a more timely fashion preventing build up of
frames. It's possible to push more traffic than
the device/system is able to handle and have no
hiccups or performance degradation with UDP
traffic.

WMI commands will now report errors properly and
possibly block as they actively can wait for tx
credits to become available.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
Michal Kazior
2013-09-13 14:16:55 +02:00
committed by Kalle Valo
parent be8b394390
commit 12acbc43c1
3 changed files with 44 additions and 141 deletions

View File

@@ -120,8 +120,7 @@ err_pull:
return ret;
}
static void ath10k_wmi_op_ep_tx_credits(struct ath10k *ar,
enum ath10k_htc_ep_id eid)
static void ath10k_wmi_op_ep_tx_credits(struct ath10k *ar)
{
wake_up(&ar->wmi.tx_credits_wq);
}