Re: [PATCH 1/2] mac80211: Add TXQ scheduling API

2017-10-17 Thread Johannes Berg
> /* protects shared structure data */ > spinlock_t data_lock; > - /* protects: ar->txqs, artxq->list */ > - spinlock_t txqs_lock; > > - struct list_head txqs; I don't see you removing the artxq->list member, but surely it can't be used any more now, without a list?

[PATCH 1/2] mac80211: Add TXQ scheduling API

2017-10-16 Thread Toke Høiland-Jørgensen
This adds an API to mac80211 to handle scheduling of TXQs and changes the interface between driver and mac80211 for TXQ handling as follows: - The wake_tx_queue callback interface no longer includes the TXQ. Instead, the driver is expected to retrieve that from ieee80211_next_txq() - Two new