diff options
author | 2020-09-08 14:36:56 +0200 | |
---|---|---|
committer | 2020-09-18 12:19:04 +0200 | |
commit | 9abf4e49830d606f18a05111cfa96b8f0b724c7d (patch) | |
tree | 255de87f6e6f169d02efb2513527a4dc887f4dec /tools/perf/scripts/python/syscall-counts.py | |
parent | mac80211: notify the driver when a sta uses 4-address mode (diff) | |
download | linux-dev-9abf4e49830d606f18a05111cfa96b8f0b724c7d.tar.xz linux-dev-9abf4e49830d606f18a05111cfa96b8f0b724c7d.zip |
mac80211: optimize station connection monitor
Calling mod_timer for every rx/tx packet can be quite expensive.
Instead of constantly updating the timer, we can simply let it run out
and check the timestamp of the last ACK or rx packet to re-arm it.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200908123702.88454-9-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions