[Make-wifi-fast] [PATCH v7 1/4] mac80211: Expose ieee80211_schedule_txq() function

Johannes Berg johannes at sipsolutions.net
Fri Jan 25 08:25:50 EST 2019


> +void ieee80211_schedule_txq(struct ieee80211_hw *hw,
> +			    struct ieee80211_txq *txq)
> +	__acquires(txq_lock) __releases(txq_lock)
> +{
> +	struct ieee80211_local *local = hw_to_local(hw);
> +	struct txq_info *txqi = to_txq_info(txq);
> +
> +	spin_lock_bh(&local->active_txq_lock[txq->ac]);
> +	ieee80211_return_txq(hw, txq);
> +	spin_unlock_bh(&local->active_txq_lock[ac]);
> 
Maybe v6 had txq->ac here instead of just ac which doesn't compile ;-)

I fixed it up, but I hope you tested a compiling version :P

johannes



More information about the Make-wifi-fast mailing list