diff options
| author | Ido Yariv <[email protected]> | 2015-01-06 08:39:02 -0500 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2015-01-07 14:39:32 +0100 |
| commit | db12847ca84b7a315a3ba77c939c9d08df17d54f (patch) | |
| tree | 81c6aed1a2c6c43cab47f3ca2117d645dcc6c355 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 3a4b0c948d286523ba062985c03487b55326eaae (diff) | |
mac80211: Re-fix accounting of the tailroom-needed counter
When hw acceleration is enabled, the GENERATE_IV or PUT_IV_SPACE flags
only require headroom space. Therefore, the tailroom-needed counter can
safely be decremented for most drivers.
The older incarnation of this patch (ca34e3b5) assumed that the above
holds true for all drivers. As reported by Christopher Chavez and
researched by Christian Lamparter and Larry Finger, this isn't a valid
assumption for p54 and cw1200.
Drivers that still require tailroom for ICV/MIC even when HW encryption
is enabled can use IEEE80211_KEY_FLAG_RESERVE_TAILROOM to indicate it.
Signed-off-by: Ido Yariv <[email protected]>
Cc: Christopher Chavez <[email protected]>
Cc: Christian Lamparter <[email protected]>
Cc: Larry Finger <[email protected]>
Cc: Solomon Peachy <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions