mac80211: expose txq queue depth and size to drivers
This will allow drivers to make more educated decisions whether to defer transmission or not. Relying on wake_tx_queue() call count implicitly was not possible because it could be called without queued frame count actually changing on software tx aggregation start/stop code paths. It was also not possible to know how long byte-wise queue was without dequeueing. Signed-off-by:Michal Kazior <michal.kazior@tieto.com> Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Showing
- include/net/mac80211.h 15 additions, 0 deletionsinclude/net/mac80211.h
- net/mac80211/ieee80211_i.h 1 addition, 0 deletionsnet/mac80211/ieee80211_i.h
- net/mac80211/iface.c 1 addition, 0 deletionsnet/mac80211/iface.c
- net/mac80211/sta_info.c 1 addition, 0 deletionsnet/mac80211/sta_info.c
- net/mac80211/tx.c 7 additions, 1 deletionnet/mac80211/tx.c
- net/mac80211/util.c 14 additions, 0 deletionsnet/mac80211/util.c
Loading
Please register or sign in to comment