mac80211: per interface idle notification

Sometimes we don't just need to know whether or
not the device is idle, but also per interface.
This adds that reporting capability to mac80211.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2010-08-05 17:02:38 +02:00
committed by John W. Linville
parent 1fdaa46e9f
commit 7da7cc1d42
7 changed files with 81 additions and 16 deletions

View File

@ -497,6 +497,9 @@ struct ieee80211_sub_if_data {
*/
bool ht_opmode_valid;
/* to detect idle changes */
bool old_idle;
/* Fragment table for host-based reassembly */
struct ieee80211_fragment_entry fragments[IEEE80211_FRAGMENT_MAX];
unsigned int fragment_next;