2012-12-04 22:35:08

by Jason Abele

[permalink] [raw]
Subject: mac80211: tx timeout notification for mac80211 drivers?

Perhaps I am missing something, but is there a way for mac80211 drivers
to be notified of timeouts on their tx queues, or does each have to
implement its own watchdog?

net_device_ops provides an ndo_tx_timeout hook for netdevices, but
mac80211 seems not to implement this hook.

Bob Copeland pointed me at some history that seems to indicate mac80211
dropped the ndo_tx_timeout functionality because net_device lacked
multi-queue support: http://marc.info/?l=linux-wireless&m=117449935910306

Looks like net_device has multi-queue support now, should we bring back
ieee80211_tx_timeout or something similar?

Thanks
Jason