Michal Kazior <michal.kaz...@tieto.com> writes:

> There were cases where we'd run out of msdu_ids.
> This can be fixed by telling mac80211 to stop
> sending us more frames if we run out of resources.
>
> It was possible to trigger with massive TCP RX
> ~300mbps (e.g. using iperf).
>
> Signed-off-by: Michal Kazior <michal.kaz...@tieto.com>

[...]

> +void __ath10k_htt_tx_dec_pending(struct ath10k_htt *htt)
> +{
> +     htt->num_pending_tx--;
> +     if (htt->num_pending_tx == HTT_MAX_NUM_PENDING_TX - 1)
> +             ieee80211_wake_queues(htt->ar->hw);
> +}

How often is this function called? I'm wondering if it should be an
inline function.

But that can be done in a followup patch (if needed).

-- 
Kalle Valo
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to