diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-13 15:25:28 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-18 23:15:05 +0400 |
commit | 445ea4e83ec50668cc9ad7e5cf96d242f19165e8 (patch) | |
tree | 1b6e6c909854358c03fd0047b9f441e0095460e3 /include/net/mac80211.h | |
parent | 39ecc01d1bbe3de2cf5f01a81e176ea5160d3b95 (diff) | |
download | linux-445ea4e83ec50668cc9ad7e5cf96d242f19165e8.tar.xz |
mac80211: stop queues temporarily for flushing
Sometimes queues are flushed in the middle of
operation, which can lead to driver issues.
Stop queues temporarily, while flushing, to
avoid transmitting new packets while they are
being flushed.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 4158da74e11b..dd73b8c6746b 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -93,9 +93,11 @@ struct device; * enum ieee80211_max_queues - maximum number of queues * * @IEEE80211_MAX_QUEUES: Maximum number of regular device queues. + * @IEEE80211_MAX_QUEUE_MAP: bitmap with maximum queues set */ enum ieee80211_max_queues { IEEE80211_MAX_QUEUES = 16, + IEEE80211_MAX_QUEUE_MAP = BIT(IEEE80211_MAX_QUEUES) - 1, }; #define IEEE80211_INVAL_HW_QUEUE 0xff |