Re: [PATCH v7 1/4] mac80211: Expose ieee80211_schedule_txq() function

2019-01-25 Thread Toke Høiland-Jørgensen
Johannes Berg writes: >> +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);

Re: [PATCH v7 1/4] mac80211: Expose ieee80211_schedule_txq() function

2019-01-25 Thread Johannes Berg
> +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); > + > +

Re: [PATCH v7 1/4] mac80211: Expose ieee80211_schedule_txq() function

2019-01-22 Thread Toke Høiland-Jørgensen
Toke Høiland-Jørgensen writes: > Since we reworked ieee80211_return_txq() so it assumes that the caller > takes care of logging, we need another function that can be called without > holding any locks. Introduce ieee80211_schedule_txq() which serves this > purpose. Hmm, messed up the version