aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2020-04-01 13:03:45 +0200
committerGreg Kroah-Hartman <[email protected]>2020-04-13 08:55:35 +0200
commit062a6c410258ca2e66f377e54ee229c937504e22 (patch)
tree04369746eb4544a273543ff8667bd3fcff2cd0a6 /tools/perf/scripts/python/exported-sql-viewer.py
parent517b358fddd737e81a3e0762d0893722871fafe9 (diff)
staging: wfx: drop useless sta_asleep_mask
Currently, the driver tracks power save state of the stations with the variable sta_asleep_mask. Then, it takes care to not sent data to asleep stations. However, this work is already done by mac80211. Normally, there are no frames for asleep stations in our queues. So, driver do not have to filter frames in its queues (apart the frames marked "AFTER_DTIM"). Notice that there is a risk of race between state of the station and data send to the firmware. However, this risk is limited since the number of frame in queues are small. In add, this race also exists with the current code. Anyway, the firmware is able to detect the problem and driver will receive a 'REQUEUE' status (translated in TX_STAT_TX_FILTERED for mac80211). Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions